blob: 9ded33b634d5ac332bf7dc10fbaf71ffa05da822 [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 Escoffier879f0f02011-01-16 20:09:13 +000033 <ipojo.package.version>1.8.0</ipojo.package.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000034 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000035
Clement Escoffierbfa74d02009-07-19 16:25:18 +000036 <description>
37 iPOJO Core bundle
38 </description>
39 <url>
40 http://ipojo.org
41 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000042
Clement Escoffierbfa74d02009-07-19 16:25:18 +000043 <dependencies>
44 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000045 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000046 <artifactId>org.osgi.core</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000047 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000048 </dependency>
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.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000052 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000053 </dependency>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier737b16b2011-09-25 10:58:16 +000057 <version>1.5.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000058 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000059 <dependency>
60 <groupId>asm</groupId>
61 <artifactId>asm-all</artifactId>
62 <version>3.0</version>
63 <exclusions>
64 <exclusion>
65 <groupId>asm</groupId>
66 <artifactId>asm-tree</artifactId>
67 </exclusion>
68 </exclusions>
69 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000070 </dependencies>
71 <build>
72 <plugins>
73 <plugin>
74 <groupId>org.apache.felix</groupId>
75 <artifactId>maven-bundle-plugin</artifactId>
76 <version>1.4.3</version>
77 <extensions>true</extensions>
78 <configuration>
79 <instructions>
80 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
81 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
82 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
83 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
84 <Bundle-Activator> org.apache.felix.ipojo.Extender
85 </Bundle-Activator>
86 <Bundle-DocURL>
87 http://felix.apache.org/site/apache-felix-ipojo.html
88 </Bundle-DocURL>
89 <IPOJO-Extension>
90 component:org.apache.felix.ipojo.ComponentFactory,
91 handler:org.apache.felix.ipojo.HandlerManagerFactory
92 </IPOJO-Extension>
93 <Import-Package>
94 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
95 org.osgi.service.cm,
96 org.osgi.service.log,
97 !net.sourceforge.cobertura.* <!-- To support code coverage -->
98 </Import-Package>
99 <Private-Package>
100 org.apache.felix.ipojo.handlers.architecture,
101 org.apache.felix.ipojo.handlers.lifecycle.callback,
102 org.apache.felix.ipojo.handlers.lifecycle.controller
103 </Private-Package>
104 <Export-Package>
105 org.apache.felix.ipojo; version="${ipojo.package.version}",
106 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
107 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
108 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
109 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
110 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000111 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000112 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
113 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
114 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000115 org.osgi.service.log,
116 org.objectweb.asm; version=3.0
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000117 </Export-Package>
118 <Include-Resource>
119 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000120 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
121 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000122 </Include-Resource>
123 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
124 </instructions>
125 </configuration>
126 </plugin>
127 <plugin>
128 <groupId>org.apache.felix</groupId>
129 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierb2c5b4b2011-01-17 08:17:08 +0000130 <version>1.8.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000131 <executions>
132 <execution>
133 <goals>
134 <goal>ipojo-bundle</goal>
135 </goals>
136 <configuration>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000137 <ignoreAnnotations>true</ignoreAnnotations>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142 <plugin>
143 <groupId>org.codehaus.mojo</groupId>
144 <artifactId>rat-maven-plugin</artifactId>
145 <configuration>
146 <excludeSubProjects>false</excludeSubProjects>
147 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
148 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
149 <excludes>
150 <param>doc/**/*</param>
151 <param>maven-eclipse.xml</param>
152 <param>.checkstyle</param>
153 <param>.externalToolBuilders/*</param>
154 <param>LICENSE.asm</param>
155 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000156 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000157 </excludes>
158 </configuration>
159 </plugin>
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-checkstyle-plugin</artifactId>
163 <configuration>
164 <enableRulesSummary>false</enableRulesSummary>
165 <violationSeverity>warning</violationSeverity>
166 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
167 </configuration>
168 </plugin>
169 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000170
171 <resources>
Clement Escoffier737b16b2011-09-25 10:58:16 +0000172 <resource>
173 <directory>src/main/resources</directory>
174 </resource>
175 <resource>
176 <directory>.</directory>
177 <targetPath>META-INF</targetPath>
178 <includes>
179 <include>LICENSE*</include>
180 <include>NOTICE*</include>
181 <include>DEPENDENCIES*</include>
182 </includes>
183 </resource>
184 </resources>
Clement Escoffier6191b082010-08-29 09:05:18 +0000185
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000186 </build>
187</project>