blob: 94e52f53f74e1ea769cd022444c1148b75c30e70 [file] [log] [blame]
Clement Escoffier1e0d1102008-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 Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier1e0d1102008-10-14 10:52:53 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier1e0d1102008-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 Escoffier4b2ba262009-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 Escoffier2b45d242008-10-14 10:51:53 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
Clement Escoffierce123392009-04-30 14:00:40 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.0</version>
Clement Escoffier2b45d242008-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 Escoffier05d31e82009-01-28 10:46:13 +000031 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000032
Clement Escoffiera6be7932009-01-14 14:07:17 +000033 <properties>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000034 <ipojo.package.version>1.4.0</ipojo.package.version>
Clement Escoffiera6be7932009-01-14 14:07:17 +000035 </properties>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000036
Clement Escoffier2b45d242008-10-14 10:51:53 +000037 <dependencies>
38 <dependency>
39 <groupId>org.apache.felix</groupId>
40 <artifactId>org.osgi.core</artifactId>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000041 <version>1.0.1</version>
Clement Escoffier2b45d242008-10-14 10:51:53 +000042 </dependency>
43 <dependency>
44 <groupId>org.apache.felix</groupId>
Clement Escoffier2b45d242008-10-14 10:51:53 +000045 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000046 <version>${pom.version}</version>
Clement Escoffier2b45d242008-10-14 10:51:53 +000047 </dependency>
48 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000051 <version>${pom.version}</version>
Clement Escoffier2b45d242008-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 Escoffier818e6922008-10-14 13:55:56 +000059 <version>1.4.3</version>
Clement Escoffier2b45d242008-10-14 10:51:53 +000060 <extensions>true</extensions>
61 <configuration>
62 <instructions>
Clement Escoffier23e4adf2008-12-10 12:29:41 +000063 <Bundle-Name>Apache Felix iPOJO Composite</Bundle-Name>
64 <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000065 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000066 <Bundle-Description> iPOJO Composititon Framework
Clement Escoffier2b45d242008-10-14 10:51:53 +000067 </Bundle-Description>
68 <Bundle-DocURL>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000069 http://felix.apache.org/site/apache-felix-ipojo.html
Clement Escoffier2b45d242008-10-14 10:51:53 +000070 </Bundle-DocURL>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000071 <Import-Package>
Clement Escoffiera6be7932009-01-14 14:07:17 +000072 org.apache.felix.ipojo,
Clement Escoffier2b45d242008-10-14 10:51:53 +000073 org.apache.felix.ipojo.architecture,
Clement Escoffierc80b73d2009-07-03 13:16:24 +000074 org.apache.felix.ipojo.context,
Clement Escoffiera6be7932009-01-14 14:07:17 +000075 org.apache.felix.ipojo.metadata,
Clement Escoffierc80b73d2009-07-03 13:16:24 +000076 org.apache.felix.ipojo.parser,
Clement Escoffiera6be7932009-01-14 14:07:17 +000077 org.apache.felix.ipojo.util,
Clement Escoffierb8fe1372008-11-20 15:51:56 +000078 org.osgi.framework;version=1.3 </Import-Package>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000079 <Private-Package>
Clement Escoffier2b45d242008-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 Escoffierde0905c2009-04-14 13:49:46 +000083 org.apache.felix.ipojo.composite.util
Clement Escoffiera6be7932009-01-14 14:07:17 +000084 </Private-Package>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000085 <Export-Package>
Clement Escoffierde0905c2009-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 Escoffier2b45d242008-10-14 10:51:53 +000090 </Export-Package>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000091 <Include-Resource> META-INF/LICENSE=LICENSE,
Clement Escoffierc80b73d2009-07-03 13:16:24 +000092 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm
Clement Escoffier2b45d242008-10-14 10:51:53 +000093 </Include-Resource>
94 <IPOJO-Extension>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000095 composite:org.apache.felix.ipojo.composite.CompositeFactory
Clement Escoffier2b45d242008-10-14 10:51:53 +000096 </IPOJO-Extension>
Clement Escoffierb8fe1372008-11-20 15:51:56 +000097 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
Clement Escoffier2b45d242008-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 Escoffierc80b73d2009-07-03 13:16:24 +0000104 <version>${pom.version}</version>
Clement Escoffier2b45d242008-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 Escoffierb8fe1372008-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 Escoffier2b45d242008-10-14 10:51:53 +0000142 </plugins>
143 </build>
Clement Escoffier2b45d242008-10-14 10:51:53 +0000144</project>