blob: 95107c52fed2111ad72cc21dc19d30c10fc3d6bc [file] [log] [blame]
Clement Escoffierfb9045d2008-10-14 10:44:18 +00001<!--
Clement Escoffierbfa74d02009-07-19 16:25:18 +00002 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 Escoffierbfa74d02009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierbfa74d02009-07-19 16:25:18 +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.
Clement Escoffierfb9045d2008-10-14 10:44:18 +000018-->
Clement Escoffierbf692b02009-01-19 14:22:40 +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 Escoffierbfa74d02009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000024 <relativePath>../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix iPOJO</name>
29 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier6aee0262011-01-17 08:19:07 +000030 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000031
Clement Escoffierbfa74d02009-07-19 16:25:18 +000032 <properties>
Clement Escoffier2fd18232011-10-05 14:03:33 +000033 <!--
Clement Escoffier24f4a5c2011-10-31 15:50:07 +000034 1.8.1:
35 * change in the MethodInterceptor interface (FELIX-3144)
36 * change in the Factory interface (FELIX-3190)
Clement Escoffier2fd18232011-10-05 14:03:33 +000037 -->
38 <ipojo.package.version>1.8.1</ipojo.package.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000039 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000040
Clement Escoffierbfa74d02009-07-19 16:25:18 +000041 <description>
42 iPOJO Core bundle
43 </description>
44 <url>
45 http://ipojo.org
46 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000047
Clement Escoffierbfa74d02009-07-19 16:25:18 +000048 <dependencies>
49 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000050 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000051 <artifactId>org.osgi.core</artifactId>
Clement Escoffierc097abc2011-10-19 15:07:26 +000052 <version>4.3.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000053 </dependency>
54 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000055 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000056 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000057 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000058 </dependency>
59 <dependency>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier737b16b2011-09-25 10:58:16 +000062 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000063 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000064 <dependency>
65 <groupId>asm</groupId>
66 <artifactId>asm-all</artifactId>
Clement Escoffiera6725432011-10-05 14:55:48 +000067 <version>3.3.1</version>
Clement Escoffier769c9942009-12-26 11:15:42 +000068 <exclusions>
69 <exclusion>
70 <groupId>asm</groupId>
71 <artifactId>asm-tree</artifactId>
72 </exclusion>
73 </exclusions>
74 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000075 </dependencies>
76 <build>
77 <plugins>
78 <plugin>
Clement Escoffierc097abc2011-10-19 15:07:26 +000079 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-compiler-plugin</artifactId>
81 <configuration>
82 <target>jsr14</target>
83 <source>1.5</source>
84 </configuration>
85 </plugin>
86 <plugin>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000087 <groupId>org.apache.felix</groupId>
88 <artifactId>maven-bundle-plugin</artifactId>
89 <version>1.4.3</version>
90 <extensions>true</extensions>
91 <configuration>
92 <instructions>
93 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
94 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
95 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
96 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
97 <Bundle-Activator> org.apache.felix.ipojo.Extender
98 </Bundle-Activator>
99 <Bundle-DocURL>
100 http://felix.apache.org/site/apache-felix-ipojo.html
101 </Bundle-DocURL>
102 <IPOJO-Extension>
103 component:org.apache.felix.ipojo.ComponentFactory,
104 handler:org.apache.felix.ipojo.HandlerManagerFactory
105 </IPOJO-Extension>
106 <Import-Package>
107 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
108 org.osgi.service.cm,
109 org.osgi.service.log,
110 !net.sourceforge.cobertura.* <!-- To support code coverage -->
111 </Import-Package>
112 <Private-Package>
113 org.apache.felix.ipojo.handlers.architecture,
114 org.apache.felix.ipojo.handlers.lifecycle.callback,
115 org.apache.felix.ipojo.handlers.lifecycle.controller
116 </Private-Package>
117 <Export-Package>
118 org.apache.felix.ipojo; version="${ipojo.package.version}",
119 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
120 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
121 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
122 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
123 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000124 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000125 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
126 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
127 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000128 org.osgi.service.log,
Clement Escoffiera6725432011-10-05 14:55:48 +0000129 org.objectweb.asm; version=3.3.1
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000130 </Export-Package>
131 <Include-Resource>
132 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000133 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
134 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000135 </Include-Resource>
136 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
137 </instructions>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierb2c5b4b2011-01-17 08:17:08 +0000143 <version>1.8.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000144 <executions>
145 <execution>
146 <goals>
147 <goal>ipojo-bundle</goal>
148 </goals>
149 <configuration>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000150 <ignoreAnnotations>true</ignoreAnnotations>
151 </configuration>
152 </execution>
153 </executions>
154 </plugin>
155 <plugin>
156 <groupId>org.codehaus.mojo</groupId>
157 <artifactId>rat-maven-plugin</artifactId>
158 <configuration>
159 <excludeSubProjects>false</excludeSubProjects>
160 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
161 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
162 <excludes>
163 <param>doc/**/*</param>
164 <param>maven-eclipse.xml</param>
165 <param>.checkstyle</param>
166 <param>.externalToolBuilders/*</param>
167 <param>LICENSE.asm</param>
168 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000169 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000170 </excludes>
171 </configuration>
172 </plugin>
173 <plugin>
174 <groupId>org.apache.maven.plugins</groupId>
175 <artifactId>maven-checkstyle-plugin</artifactId>
176 <configuration>
177 <enableRulesSummary>false</enableRulesSummary>
178 <violationSeverity>warning</violationSeverity>
179 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
180 </configuration>
181 </plugin>
182 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000183
184 <resources>
Clement Escoffier737b16b2011-09-25 10:58:16 +0000185 <resource>
186 <directory>src/main/resources</directory>
187 </resource>
188 <resource>
189 <directory>.</directory>
190 <targetPath>META-INF</targetPath>
191 <includes>
192 <include>LICENSE*</include>
193 <include>NOTICE*</include>
194 <include>DEPENDENCIES*</include>
195 </includes>
196 </resource>
197 </resources>
Clement Escoffier6191b082010-08-29 09:05:18 +0000198
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000199 </build>
200</project>