blob: 0b80373733eb5daaeae02c22f5a005c262758cf9 [file] [log] [blame]
Clement Escoffier8aa13cb2008-10-14 10:44:18 +00001<!--
Clement Escoffier0630c6b2009-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 Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0630c6b2009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0630c6b2009-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 Escoffier8aa13cb2008-10-14 10:44:18 +000018-->
Clement Escoffierfd285ea2009-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 Escoffier0630c6b2009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>1.2.0</version>
24 <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>
31 <version>1.3.0-SNAPSHOT</version>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000032
Clement Escoffier0630c6b2009-07-19 16:25:18 +000033 <properties>
34 <ipojo.package.version>1.4.0</ipojo.package.version>
35 </properties>
36
37 <description>
38 iPOJO Core bundle
39 </description>
40 <url>
41 http://ipojo.org
42 </url>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000043
Clement Escoffier0630c6b2009-07-19 16:25:18 +000044 <dependencies>
45 <dependency>
46 <groupId>org.apache.felix</groupId>
47 <artifactId>org.osgi.core</artifactId>
48 <version>1.0.1</version>
49 </dependency>
50 <dependency>
51 <groupId>org.apache.felix</groupId>
52 <artifactId>org.osgi.compendium</artifactId>
53 <version>1.2.0</version>
54 </dependency>
55 <dependency>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffiercbbaa522009-07-21 18:30:16 +000058 <version>1.4.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000059 </dependency>
60 </dependencies>
61 <build>
62 <plugins>
63 <plugin>
64 <groupId>org.apache.felix</groupId>
65 <artifactId>maven-bundle-plugin</artifactId>
66 <version>1.4.3</version>
67 <extensions>true</extensions>
68 <configuration>
69 <instructions>
70 <Bundle-Name>Apache Felix iPOJO</Bundle-Name>
71 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
72 <Bundle-SymbolicName>org.apache.felix.ipojo;singleton:=true</Bundle-SymbolicName>
73 <Bundle-Description> iPOJO Core Framework </Bundle-Description>
74 <Bundle-Activator> org.apache.felix.ipojo.Extender
75 </Bundle-Activator>
76 <Bundle-DocURL>
77 http://felix.apache.org/site/apache-felix-ipojo.html
78 </Bundle-DocURL>
79 <IPOJO-Extension>
80 component:org.apache.felix.ipojo.ComponentFactory,
81 handler:org.apache.felix.ipojo.HandlerManagerFactory
82 </IPOJO-Extension>
83 <Import-Package>
84 org.osgi.framework;version=1.3, <!-- To support KF 2 -->
85 org.osgi.service.cm,
86 org.osgi.service.log,
87 !net.sourceforge.cobertura.* <!-- To support code coverage -->
88 </Import-Package>
89 <Private-Package>
90 org.apache.felix.ipojo.handlers.architecture,
91 org.apache.felix.ipojo.handlers.lifecycle.callback,
92 org.apache.felix.ipojo.handlers.lifecycle.controller
93 </Private-Package>
94 <Export-Package>
95 org.apache.felix.ipojo; version="${ipojo.package.version}",
96 org.apache.felix.ipojo.metadata; version="${ipojo.package.version}",
97 org.apache.felix.ipojo.architecture; version="${ipojo.package.version}",
98 org.apache.felix.ipojo.parser; version="${ipojo.package.version}",
99 org.apache.felix.ipojo.util; version="${ipojo.package.version}",
100 org.apache.felix.ipojo.handlers.dependency; version="${ipojo.package.version}",
101 org.apache.felix.ipojo.handlers.providedservice; version="${ipojo.package.version}",
102 org.apache.felix.ipojo.handlers.configuration; version="${ipojo.package.version}",
103 org.apache.felix.ipojo.context; version="${ipojo.package.version}",
104 org.osgi.service.cm,
105 org.osgi.service.log
106 </Export-Package>
107 <Include-Resource>
108 META-INF/LICENSE=LICENSE,
109 META-INF/NOTICE=NOTICE
110 </Include-Resource>
111 <_donotcopy> (CVS|.svn|.+.bak|~.+|metadata.xml) </_donotcopy>
112 </instructions>
113 </configuration>
114 </plugin>
115 <plugin>
116 <groupId>org.apache.felix</groupId>
117 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffiercbbaa522009-07-21 18:30:16 +0000118 <version>1.4.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000119 <executions>
120 <execution>
121 <goals>
122 <goal>ipojo-bundle</goal>
123 </goals>
124 <configuration>
125 <metadata>metadata.xml</metadata>
126 <ignoreAnnotations>true</ignoreAnnotations>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.codehaus.mojo</groupId>
133 <artifactId>rat-maven-plugin</artifactId>
134 <configuration>
135 <excludeSubProjects>false</excludeSubProjects>
136 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
137 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
138 <excludes>
139 <param>doc/**/*</param>
140 <param>maven-eclipse.xml</param>
141 <param>.checkstyle</param>
142 <param>.externalToolBuilders/*</param>
143 <param>LICENSE.asm</param>
144 <param>.fbprefs</param>
145 </excludes>
146 </configuration>
147 </plugin>
148 <plugin>
149 <groupId>org.apache.maven.plugins</groupId>
150 <artifactId>maven-checkstyle-plugin</artifactId>
151 <configuration>
152 <enableRulesSummary>false</enableRulesSummary>
153 <violationSeverity>warning</violationSeverity>
154 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
155 </configuration>
156 </plugin>
157 </plugins>
158 </build>
159</project>