blob: 94e52f53f74e1ea769cd022444c1148b75c30e70 [file] [log] [blame]
Clement Escoffier9e935de2008-10-14 10:52:53 +00001<!--
2 Licensed to the Apache Software Foundation (ASF) under one
3 or more contributor license agreements. See the NOTICE file
4 distributed with this work for additional information
5 regarding copyright ownership. The ASF licenses this file
6 to you under the Apache License, Version 2.0 (the
7 "License"); you may not use this file except in compliance
8 with the License. You may obtain a copy of the License at
Clement Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffier9e935de2008-10-14 10:52:53 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffier9e935de2008-10-14 10:52:53 +000012 Unless required by applicable law or agreed to in writing,
13 software distributed under the License is distributed on an
14 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 KIND, either express or implied. See the License for the
16 specific language governing permissions and limitations
17 under the License.
18-->
Clement Escoffierb2f58212009-01-28 10:45:31 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
Clement Escoffierb6a333d2008-10-14 10:51:53 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
Clement Escoffiere2591592009-04-30 14:00:40 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.0</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000024 <relativePath>../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix iPOJO Composite</name>
29 <artifactId>org.apache.felix.ipojo.composite</artifactId>
30 <groupId>org.apache.felix</groupId>
Clement Escoffiercaae53e2009-01-28 10:46:13 +000031 <version>1.3.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000032
Clement Escoffier25137e32009-01-14 14:07:17 +000033 <properties>
Clement Escoffier0b93f382009-07-03 13:16:24 +000034 <ipojo.package.version>1.4.0</ipojo.package.version>
Clement Escoffier25137e32009-01-14 14:07:17 +000035 </properties>
Clement Escoffier0b93f382009-07-03 13:16:24 +000036
Clement Escoffierb6a333d2008-10-14 10:51:53 +000037 <dependencies>
38 <dependency>
39 <groupId>org.apache.felix</groupId>
40 <artifactId>org.osgi.core</artifactId>
Clement Escoffier31f25df2008-11-20 15:51:56 +000041 <version>1.0.1</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000042 </dependency>
43 <dependency>
44 <groupId>org.apache.felix</groupId>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000045 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +000046 <version>${pom.version}</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000047 </dependency>
48 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +000051 <version>${pom.version}</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000052 </dependency>
53 </dependencies>
54 <build>
55 <plugins>
56 <plugin>
57 <groupId>org.apache.felix</groupId>
58 <artifactId>maven-bundle-plugin</artifactId>
Clement Escoffier2e9f4b32008-10-14 13:55:56 +000059 <version>1.4.3</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000060 <extensions>true</extensions>
61 <configuration>
62 <instructions>
Clement Escoffier8d888352008-12-10 12:29:41 +000063 <Bundle-Name>Apache Felix iPOJO Composite</Bundle-Name>
64 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Clement Escoffier31f25df2008-11-20 15:51:56 +000065 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
Clement Escoffier0b93f382009-07-03 13:16:24 +000066 <Bundle-Description> iPOJO Composititon Framework
Clement Escoffierb6a333d2008-10-14 10:51:53 +000067 </Bundle-Description>
68 <Bundle-DocURL>
Clement Escoffier0b93f382009-07-03 13:16:24 +000069 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffierb6a333d2008-10-14 10:51:53 +000070 </Bundle-DocURL>
Clement Escoffier0b93f382009-07-03 13:16:24 +000071 <Import-Package>
Clement Escoffier25137e32009-01-14 14:07:17 +000072 org.apache.felix.ipojo,
Clement Escoffierb6a333d2008-10-14 10:51:53 +000073 org.apache.felix.ipojo.architecture,
Clement Escoffier0b93f382009-07-03 13:16:24 +000074 org.apache.felix.ipojo.context,
Clement Escoffier25137e32009-01-14 14:07:17 +000075 org.apache.felix.ipojo.metadata,
Clement Escoffier0b93f382009-07-03 13:16:24 +000076 org.apache.felix.ipojo.parser,
Clement Escoffier25137e32009-01-14 14:07:17 +000077 org.apache.felix.ipojo.util,
Clement Escoffier31f25df2008-11-20 15:51:56 +000078 org.osgi.framework;version=1.3 </Import-Package>
Clement Escoffier0b93f382009-07-03 13:16:24 +000079 <Private-Package>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000080 org.apache.felix.ipojo.composite.architecture,
81 org.apache.felix.ipojo.composite.service*,
82 org.apache.felix.ipojo.composite.instance,
Clement Escoffier7e9cbc72009-04-14 13:49:46 +000083 org.apache.felix.ipojo.composite.util
Clement Escoffier25137e32009-01-14 14:07:17 +000084 </Private-Package>
Clement Escoffier0b93f382009-07-03 13:16:24 +000085 <Export-Package>
Clement Escoffier7e9cbc72009-04-14 13:49:46 +000086 org.apache.felix.ipojo.composite; version="${ipojo.package.version}" ,
87 !org.objectweb.asm.xml*,
88 org.objectweb.asm*;-split-package:=merge-first ,
89 org.apache.felix.ipojo.manipulation
Clement Escoffierb6a333d2008-10-14 10:51:53 +000090 </Export-Package>
Clement Escoffier31f25df2008-11-20 15:51:56 +000091 <Include-Resource> META-INF/LICENSE=LICENSE,
Clement Escoffier0b93f382009-07-03 13:16:24 +000092 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm
Clement Escoffierb6a333d2008-10-14 10:51:53 +000093 </Include-Resource>
94 <IPOJO-Extension>
Clement Escoffier0b93f382009-07-03 13:16:24 +000095 composite:org.apache.felix.ipojo.composite.CompositeFactory
Clement Escoffierb6a333d2008-10-14 10:51:53 +000096 </IPOJO-Extension>
Clement Escoffier31f25df2008-11-20 15:51:56 +000097 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffierb6a333d2008-10-14 10:51:53 +000098 </instructions>
99 </configuration>
100 </plugin>
101 <plugin>
102 <groupId>org.apache.felix</groupId>
103 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffier0b93f382009-07-03 13:16:24 +0000104 <version>${pom.version}</version>
Clement Escoffierb6a333d2008-10-14 10:51:53 +0000105 <executions>
106 <execution>
107 <goals>
108 <goal>ipojo-bundle</goal>
109 </goals>
110 <configuration>
111 <metadata>metadata.xml</metadata>
112 <ignoreAnnotations>true</ignoreAnnotations>
113 </configuration>
114 </execution>
115 </executions>
116 </plugin>
Clement Escoffier31f25df2008-11-20 15:51:56 +0000117 <plugin>
118 <groupId>org.codehaus.mojo</groupId>
119 <artifactId>rat-maven-plugin</artifactId>
120 <configuration>
121 <excludeSubProjects>false</excludeSubProjects>
122 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
123 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
124 <excludes>
125 <param>doc/**/*</param>
126 <param>maven-eclipse.xml</param>
127 <param>.checkstyle</param>
128 <param>.externalToolBuilders/*</param>
129 <param>LICENSE.asm</param>
130 </excludes>
131 </configuration>
132 </plugin>
133 <plugin>
134 <groupId>org.apache.maven.plugins</groupId>
135 <artifactId>maven-checkstyle-plugin</artifactId>
136 <configuration>
137 <enableRulesSummary>false</enableRulesSummary>
138 <violationSeverity>warning</violationSeverity>
139 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
140 </configuration>
141 </plugin>
Clement Escoffierb6a333d2008-10-14 10:51:53 +0000142 </plugins>
143 </build>
Clement Escoffierb6a333d2008-10-14 10:51:53 +0000144</project>