blob: c9b75370aa592fbd408f5b7cacc45acceed8b128 [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 <!--
34 * 1.8.1 : change in the MethodInterceptor interface (FELIX-3144)
35 -->
36 <ipojo.package.version>1.8.1</ipojo.package.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000037 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000038
Clement Escoffierbfa74d02009-07-19 16:25:18 +000039 <description>
40 iPOJO Core bundle
41 </description>
42 <url>
43 http://ipojo.org
44 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000045
Clement Escoffierbfa74d02009-07-19 16:25:18 +000046 <dependencies>
47 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000048 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000049 <artifactId>org.osgi.core</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000050 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000051 </dependency>
52 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000053 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000054 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000055 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000056 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier737b16b2011-09-25 10:58:16 +000060 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000061 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000062 <dependency>
63 <groupId>asm</groupId>
64 <artifactId>asm-all</artifactId>
Clement Escoffiera6725432011-10-05 14:55:48 +000065 <version>3.3.1</version>
Clement Escoffier769c9942009-12-26 11:15:42 +000066 <exclusions>
67 <exclusion>
68 <groupId>asm</groupId>
69 <artifactId>asm-tree</artifactId>
70 </exclusion>
71 </exclusions>
72 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000073 </dependencies>
74 <build>
75 <plugins>
76 <plugin>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>maven-bundle-plugin</artifactId>
79 <version>1.4.3</version>
80 <extensions>true</extensions>
81 <configuration>
82 <instructions>
83 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
84 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
85 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
86 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
87 <Bundle-Activator> org.apache.felix.ipojo.Extender
88 </Bundle-Activator>
89 <Bundle-DocURL>
90 http://felix.apache.org/site/apache-felix-ipojo.html
91 </Bundle-DocURL>
92 <IPOJO-Extension>
93 component:org.apache.felix.ipojo.ComponentFactory,
94 handler:org.apache.felix.ipojo.HandlerManagerFactory
95 </IPOJO-Extension>
96 <Import-Package>
97 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
98 org.osgi.service.cm,
99 org.osgi.service.log,
100 !net.sourceforge.cobertura.* <!-- To support code coverage -->
101 </Import-Package>
102 <Private-Package>
103 org.apache.felix.ipojo.handlers.architecture,
104 org.apache.felix.ipojo.handlers.lifecycle.callback,
105 org.apache.felix.ipojo.handlers.lifecycle.controller
106 </Private-Package>
107 <Export-Package>
108 org.apache.felix.ipojo; version="${ipojo.package.version}",
109 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
110 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
111 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
112 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
113 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000114 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000115 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
116 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
117 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000118 org.osgi.service.log,
Clement Escoffiera6725432011-10-05 14:55:48 +0000119 org.objectweb.asm; version=3.3.1
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000120 </Export-Package>
121 <Include-Resource>
122 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000123 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
124 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000125 </Include-Resource>
126 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
127 </instructions>
128 </configuration>
129 </plugin>
130 <plugin>
131 <groupId>org.apache.felix</groupId>
132 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierb2c5b4b2011-01-17 08:17:08 +0000133 <version>1.8.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000134 <executions>
135 <execution>
136 <goals>
137 <goal>ipojo-bundle</goal>
138 </goals>
139 <configuration>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000140 <ignoreAnnotations>true</ignoreAnnotations>
141 </configuration>
142 </execution>
143 </executions>
144 </plugin>
145 <plugin>
146 <groupId>org.codehaus.mojo</groupId>
147 <artifactId>rat-maven-plugin</artifactId>
148 <configuration>
149 <excludeSubProjects>false</excludeSubProjects>
150 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
151 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
152 <excludes>
153 <param>doc/**/*</param>
154 <param>maven-eclipse.xml</param>
155 <param>.checkstyle</param>
156 <param>.externalToolBuilders/*</param>
157 <param>LICENSE.asm</param>
158 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000159 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000160 </excludes>
161 </configuration>
162 </plugin>
163 <plugin>
164 <groupId>org.apache.maven.plugins</groupId>
165 <artifactId>maven-checkstyle-plugin</artifactId>
166 <configuration>
167 <enableRulesSummary>false</enableRulesSummary>
168 <violationSeverity>warning</violationSeverity>
169 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
170 </configuration>
171 </plugin>
172 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000173
174 <resources>
Clement Escoffier737b16b2011-09-25 10:58:16 +0000175 <resource>
176 <directory>src/main/resources</directory>
177 </resource>
178 <resource>
179 <directory>.</directory>
180 <targetPath>META-INF</targetPath>
181 <includes>
182 <include>LICENSE*</include>
183 <include>NOTICE*</include>
184 <include>DEPENDENCIES*</include>
185 </includes>
186 </resource>
187 </resources>
Clement Escoffier6191b082010-08-29 09:05:18 +0000188
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000189 </build>
190</project>