blob: 35d395bea788b35b36389d4b54c99542f33f8f3f [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>
30 <groupId>org.apache.felix</groupId>
Clement Escoffier9f657782010-11-29 16:42:39 +000031 <version>1.7.0-SNAPSHOT</version>
Clement Escoffier0b93f382009-07-03 13:16:24 +000032
Clement Escoffierbfa74d02009-07-19 16:25:18 +000033 <properties>
Clement Escoffieraf9ad1b2009-08-14 12:11:19 +000034 <ipojo.package.version>1.6.0</ipojo.package.version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000035 </properties>
Clement Escoffier6191b082010-08-29 09:05:18 +000036
Clement Escoffierbfa74d02009-07-19 16:25:18 +000037 <description>
38 iPOJO Core bundle
39 </description>
40 <url>
41 http://ipojo.org
42 </url>
Clement Escoffier0b93f382009-07-03 13:16:24 +000043
Clement Escoffierbfa74d02009-07-19 16:25:18 +000044 <dependencies>
45 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000046 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000047 <artifactId>org.osgi.core</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000048 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000049 </dependency>
50 <dependency>
Clement Escoffier86215df2010-04-16 13:54:16 +000051 <groupId>org.osgi</groupId>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000052 <artifactId>org.osgi.compendium</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000053 <version>4.0.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000054 </dependency>
55 <dependency>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier9e4e85a2010-04-12 06:27:58 +000058 <version>1.4.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000059 </dependency>
Clement Escoffier769c9942009-12-26 11:15:42 +000060 <dependency>
61 <groupId>asm</groupId>
62 <artifactId>asm-all</artifactId>
63 <version>3.0</version>
64 <exclusions>
65 <exclusion>
66 <groupId>asm</groupId>
67 <artifactId>asm-tree</artifactId>
68 </exclusion>
69 </exclusions>
70 </dependency>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000071 </dependencies>
72 <build>
73 <plugins>
74 <plugin>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <version>1.4.3</version>
78 <extensions>true</extensions>
79 <configuration>
80 <instructions>
81 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
82 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
83 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
84 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
85 <Bundle-Activator> org.apache.felix.ipojo.Extender
86 </Bundle-Activator>
87 <Bundle-DocURL>
88 http://felix.apache.org/site/apache-felix-ipojo.html
89 </Bundle-DocURL>
90 <IPOJO-Extension>
91 component:org.apache.felix.ipojo.ComponentFactory,
92 handler:org.apache.felix.ipojo.HandlerManagerFactory
93 </IPOJO-Extension>
94 <Import-Package>
95 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
96 org.osgi.service.cm,
97 org.osgi.service.log,
98 !net.sourceforge.cobertura.* <!-- To support code coverage -->
99 </Import-Package>
100 <Private-Package>
101 org.apache.felix.ipojo.handlers.architecture,
102 org.apache.felix.ipojo.handlers.lifecycle.callback,
103 org.apache.felix.ipojo.handlers.lifecycle.controller
104 </Private-Package>
105 <Export-Package>
106 org.apache.felix.ipojo; version="${ipojo.package.version}",
107 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
108 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
109 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
110 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
111 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
Clement Escoffier029880f2009-11-24 19:39:00 +0000112 org.apache.felix.ipojo.handlers.providedservice.*; version="${ipojo.package.version}",
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000113 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
114 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
115 org.osgi.service.cm,
Clement Escoffier769c9942009-12-26 11:15:42 +0000116 org.osgi.service.log,
117 org.objectweb.asm; version=3.0
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000118 </Export-Package>
119 <Include-Resource>
120 META-INF/LICENSE=LICENSE,
Clement Escoffier1593ef52010-07-14 18:31:13 +0000121 META-INF/NOTICE=NOTICE, META-INF/LICENSE.asm=LICENSE.asm,
122 META-INF/DEPENDENCIES=DEPENDENCIES
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000123 </Include-Resource>
124 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
125 </instructions>
126 </configuration>
127 </plugin>
128 <plugin>
129 <groupId>org.apache.felix</groupId>
130 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierccf5f9e2010-05-16 15:00:25 +0000131 <version>1.6.0</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000132 <executions>
133 <execution>
134 <goals>
135 <goal>ipojo-bundle</goal>
136 </goals>
137 <configuration>
138 <metadata>metadata.xml</metadata>
139 <ignoreAnnotations>true</ignoreAnnotations>
140 </configuration>
141 </execution>
142 </executions>
143 </plugin>
144 <plugin>
145 <groupId>org.codehaus.mojo</groupId>
146 <artifactId>rat-maven-plugin</artifactId>
147 <configuration>
148 <excludeSubProjects>false</excludeSubProjects>
149 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
150 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
151 <excludes>
152 <param>doc/**/*</param>
153 <param>maven-eclipse.xml</param>
154 <param>.checkstyle</param>
155 <param>.externalToolBuilders/*</param>
156 <param>LICENSE.asm</param>
157 <param>.fbprefs</param>
Clement Escoffier6191b082010-08-29 09:05:18 +0000158 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000159 </excludes>
160 </configuration>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.maven.plugins</groupId>
164 <artifactId>maven-checkstyle-plugin</artifactId>
165 <configuration>
166 <enableRulesSummary>false</enableRulesSummary>
167 <violationSeverity>warning</violationSeverity>
168 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
169 </configuration>
170 </plugin>
171 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000172
173 <resources>
174 <resource>
175 <directory>src/main/resources</directory>
176 </resource>
177 <resource>
178 <directory>.</directory>
179 <targetPath>META-INF</targetPath>
180 <includes>
181 <include>LICENSE*</include>
182 <include>NOTICE*</include>
183 <include>DEPENDENCIES*</include>
184 </includes>
185 </resource>
186 </resources>
187
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000188 </build>
189</project>