blob: cb64addcb1c903273e7e7aea7befe86eef349b5f [file] [log] [blame]
Clement Escoffier1e0d1102008-10-14 10:52:53 +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 Escoffier1e0d1102008-10-14 10:52:53 +000018-->
Clement Escoffier82d93902012-04-21 16:06:23 +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 Escoffierd2f47ea2012-04-21 16:04:33 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>1.2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <name>Apache Felix iPOJO Composite</name>
29 <artifactId>org.apache.felix.ipojo.composite</artifactId>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000030 <groupId>org.apache.felix</groupId>
Clement Escoffier0d34f9f2012-12-18 09:53:35 +000031 <version>1.9.0-SNAPSHOT</version>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000032
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000033 <properties>
Clement Escoffierdbef6f72012-12-18 09:51:11 +000034 <ipojo.package.version>1.8.4</ipojo.package.version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000035 </properties>
Clement Escoffierd5c5b932011-01-16 20:09:13 +000036
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000037 <description>
38 iPOJO Composition Model. This is an iPOJO extension to execute service composition.
39 </description>
40 <url>http://felix.apache.org/site/ipojo-composition-tutorial.html</url>
Clement Escoffierc80b73d2009-07-03 13:16:24 +000041
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000042 <dependencies>
43 <dependency>
44 <groupId>org.osgi</groupId>
45 <artifactId>org.osgi.core</artifactId>
46 <version>4.0.0</version>
47 </dependency>
48 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
51 <!-- Same as the iPOJO core embedded manipulator -->
Clement Escoffierea2507f2012-10-28 15:20:17 +000052 <version>1.8.6</version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000053 </dependency>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.ipojo</artifactId>
Clement Escoffier0d34f9f2012-12-18 09:53:35 +000057 <version>1.9.0-SNAPSHOT</version>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +000058 </dependency>
59 </dependencies>
60 <build>
61 <resources>
62 <resource>
63 <directory>src/main/resources</directory>
64 </resource>
65 <resource>
66 <directory>.</directory>
67 <targetPath>META-INF</targetPath>
68 <includes>
69 <include>LICENSE*</include>
70 <include>NOTICE*</include>
71 <include>DEPENDENCIES*</include>
72 </includes>
73 </resource>
74 </resources>
75
76 <plugins>
77 <plugin>
78 <groupId>org.apache.felix</groupId>
79 <artifactId>maven-bundle-plugin</artifactId>
80 <version>1.4.3</version>
81 <extensions>true</extensions>
82 <configuration>
83 <instructions>
84 <Bundle-Name>Apache Felix iPOJO Composite</Bundle-Name>
85 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
86 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
87 <Bundle-Description>iPOJO Composititon Framework
88 </Bundle-Description>
89 <Bundle-DocURL>
90 http://felix.apache.org/site/ipojo-composition-tutorial.html
91 </Bundle-DocURL>
92 <Import-Package>
93 org.apache.felix.ipojo,
94 org.apache.felix.ipojo.architecture,
95 org.apache.felix.ipojo.context,
96 org.apache.felix.ipojo.metadata,
97 org.apache.felix.ipojo.parser,
98 org.apache.felix.ipojo.util,
99 org.apache.felix.ipojo.manipulation,
100 org.osgi.framework;version=1.3,
101 !org.objectweb.asm.tree,
102 </Import-Package>
103 <Private-Package>
104 org.apache.felix.ipojo.composite.architecture,
105 org.apache.felix.ipojo.composite.service*,
106 org.apache.felix.ipojo.composite.instance,
107 org.apache.felix.ipojo.composite.util,
108 <!-- ASM (Manipulator dependencies) -->
109 org.objectweb.asm.commons,
110 org.objectweb.asm.signature,
111 org.objectweb.asm
112 </Private-Package>
113 <Export-Package>
114 org.apache.felix.ipojo.composite; version="${ipojo.package.version}"
115 </Export-Package>
116 <Include-Resource>
117 META-INF/LICENSE=LICENSE,
118 META-INF/NOTICE=NOTICE,
119 META-INF/LICENSE.asm=LICENSE.asm,
120 META-INF/DEPENDENCIES=DEPENDENCIES
121 </Include-Resource>
122 <IPOJO-Extension>
123 composite:org.apache.felix.ipojo.composite.CompositeFactory
124 </IPOJO-Extension>
125 <_donotcopy>(CVS|.svn|.+.bak|~.+|metadata.xml)</_donotcopy>
126 </instructions>
127 </configuration>
128 </plugin>
129 <plugin>
130 <groupId>org.apache.felix</groupId>
131 <artifactId>maven-ipojo-plugin</artifactId>
132 <version>1.8.4</version>
133 <executions>
134 <execution>
135 <goals>
136 <goal>ipojo-bundle</goal>
137 </goals>
138 <configuration>
139 <metadata>src/main/resources/metadata.xml</metadata>
140 <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 </excludes>
159 </configuration>
160 </plugin>
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-checkstyle-plugin</artifactId>
164 <configuration>
165 <enableRulesSummary>false</enableRulesSummary>
166 <violationSeverity>warning</violationSeverity>
167 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
168 </configuration>
169 </plugin>
Clement Escoffierbf8059e2013-03-04 09:01:52 +0000170 <plugin>
171 <groupId>org.apache.maven.plugins</groupId>
172 <artifactId>maven-compiler-plugin</artifactId>
173 <configuration>
174 <target>1.5</target>
175 <source>1.5</source>
176 </configuration>
177 </plugin>
Clement Escoffierd2f47ea2012-04-21 16:04:33 +0000178 </plugins>
179 </build>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000180</project>