blob: 49b5659d1ab32a0dd23ebcf368d48613dfe74fba [file] [log] [blame]
Clement Escoffier4f2609b2013-03-20 07:35:37 +00001<!--
2 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
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 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.
18-->
Clement Escoffierec4c3eb2013-05-15 13:29:45 +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">
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>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 - Online Manipulator</name>
29 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
30 <version>1.11.3-SNAPSHOT</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000031
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000032 <description>
33 iPOJO online manipulator allowing install time manipulation of iPOJO bundle.
34 </description>
35 <url>
36 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html
37 </url>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000038
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000039 <properties>
40 <ipojo.import.packages>[1.11.0,2.0.0)</ipojo.import.packages>
41 <ipojo.manipulator.version>${project.version}</ipojo.manipulator.version>
42 </properties>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000043
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000044 <dependencies>
45 <dependency>
46 <groupId>org.osgi</groupId>
47 <artifactId>org.osgi.core</artifactId>
48 <version>4.3.1</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000049 <scope>provided</scope>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000050 </dependency>
51 <dependency>
52 <groupId>org.osgi</groupId>
53 <artifactId>org.osgi.compendium</artifactId>
54 <version>4.0.0</version>
Guillaume Sauthier51571f62014-04-10 09:56:31 +000055 <scope>provided</scope>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000056 </dependency>
57 <dependency>
58 <groupId>org.apache.felix</groupId>
59 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.felix</groupId>
63 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
64 </dependency>
65 <dependency>
66 <groupId>org.apache.felix</groupId>
67 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
68 </dependency>
69 <dependency>
70 <groupId>asm</groupId>
71 <artifactId>asm-all</artifactId>
72 </dependency>
73 <dependency>
74 <groupId>org.mockito</groupId>
75 <artifactId>mockito-all</artifactId>
76 <version>1.9.5</version>
77 <scope>test</scope>
78 </dependency>
79 </dependencies>
Guillaume Sauthier1c21e9b2014-03-13 11:17:47 +000080
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000081 <dependencyManagement>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000082 <dependencies>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000083 <dependency>
84 <groupId>org.apache.felix</groupId>
85 <artifactId>ipojo-manipulator-bom</artifactId>
86 <version>${project.version}</version>
87 <type>pom</type>
88 <scope>import</scope>
89 </dependency>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000090 </dependencies>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000091 </dependencyManagement>
Guillaume Sauthier1a1ef902014-03-10 16:44:34 +000092
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000093 <build>
94 <resources>
95 <resource>
96 <directory>src/main/resources</directory>
97 <filtering>true</filtering>
98 </resource>
99 </resources>
100 <plugins>
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-compiler-plugin</artifactId>
104 <version>3.0</version>
105 <configuration>
106 <target>1.5</target>
107 <source>1.5</source>
108 <testTarget>1.5</testTarget>
109 <testSource>1.5</testSource>
110 </configuration>
111 </plugin>
112 <plugin>
113 <groupId>org.apache.felix</groupId>
114 <artifactId>maven-bundle-plugin</artifactId>
115 <version>2.3.7</version>
116 <extensions>true</extensions>
117 <configuration>
118 <instructions>
119 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
120 <Private-Package>org.apache.felix.ipojo.online.manipulator</Private-Package>
121 <Bundle-DocURL>
122 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html
123 </Bundle-DocURL>
124 <Export-Package>
125 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
126 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
127 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
128 org.apache.felix.ipojo.annotations*; version="${ipojo.manipulator.version}",
129 </Export-Package>
130 <Private-Package>
131 org.objectweb.asm,
132 org.objectweb.asm.commons,
133 org.objectweb.asm.signature,
134 org.objectweb.asm.tree,
135 org.apache.felix.ipojo.online.manipulator
136 </Private-Package>
137 <Import-Package>!sun.io, org.osgi.framework;version=1.3, *
138 </Import-Package>
139 </instructions>
140 </configuration>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.felix</groupId>
144 <artifactId>maven-ipojo-plugin</artifactId>
145 <version>${project.version}</version>
146 <executions>
147 <execution>
148 <goals>
149 <goal>ipojo-bundle</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
154 <plugin>
155 <groupId>org.apache.maven.plugins</groupId>
156 <artifactId>maven-checkstyle-plugin</artifactId>
157 <version>2.10</version>
158 <configuration>
159 <enableRulesSummary>false</enableRulesSummary>
160 <violationSeverity>warning</violationSeverity>
161 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
162 </configuration>
163 </plugin>
164 <plugin>
165 <groupId>org.apache.rat</groupId>
166 <artifactId>apache-rat-plugin</artifactId>
167 <executions>
168 <execution>
169 <phase>verify</phase>
170 <goals>
171 <goal>check</goal>
172 </goals>
173 </execution>
174 </executions>
175 <configuration>
176 <!-- check src only (except remote resources additions) -->
177 <includes>
178 <include>src/**</include>
179 </includes>
180 <excludes>
181 <exclude>src/main/appended-resources/**</exclude>
182 <exclude>src/main/resources/META-INF/**</exclude>
183 </excludes>
184 </configuration>
185 </plugin>
186 </plugins>
187 </build>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000188</project>