blob: f18bc5df0e09ab43d2cb86cc5cd83ed0edfcc438 [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 Escoffier3037b742014-05-12 11:13:32 +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 Escoffier615c9f22014-05-04 12:36:09 +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>
Clement Escoffieree977242014-12-16 13:14:44 +000030 <version>1.12.2-SNAPSHOT</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000031
Clement Escoffier615c9f22014-05-04 12:36:09 +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
Clement Escoffier615c9f22014-05-04 12:36:09 +000039 <properties>
Clement Escoffierf4a9e9a2014-12-16 10:38:30 +000040 <ipojo.import.packages>[1.12.1,2.0.0)</ipojo.import.packages>
Clement Escoffier615c9f22014-05-04 12:36:09 +000041 <ipojo.manipulator.version>${project.version}</ipojo.manipulator.version>
42 </properties>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000043
44 <dependencies>
Clement Escoffier615c9f22014-05-04 12:36:09 +000045 <dependency>
46 <groupId>org.osgi</groupId>
47 <artifactId>org.osgi.core</artifactId>
48 <version>4.3.1</version>
49 <scope>provided</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.osgi</groupId>
53 <artifactId>org.osgi.compendium</artifactId>
54 <version>4.0.0</version>
55 <scope>provided</scope>
56 </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>org.ow2.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>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000079 </dependencies>
Guillaume Sauthier1a1ef902014-03-10 16:44:34 +000080
Clement Escoffier615c9f22014-05-04 12:36:09 +000081 <dependencyManagement>
82 <dependencies>
83 <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>
90 </dependencies>
91 </dependencyManagement>
92
93 <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,
Clement Escoffierd4684c22014-05-05 11:55:15 +0000134 org.objectweb.asm.tree*,
135 org.objectweb.asm.util,
Clement Escoffier615c9f22014-05-04 12:36:09 +0000136 org.apache.felix.ipojo.online.manipulator
137 </Private-Package>
138 <Import-Package>!sun.io, org.osgi.framework;version=1.3, *
139 </Import-Package>
140 </instructions>
141 </configuration>
142 </plugin>
143 <plugin>
144 <groupId>org.apache.felix</groupId>
145 <artifactId>maven-ipojo-plugin</artifactId>
146 <version>${project.version}</version>
147 <executions>
148 <execution>
149 <goals>
150 <goal>ipojo-bundle</goal>
151 </goals>
152 </execution>
153 </executions>
154 </plugin>
155 <plugin>
156 <groupId>org.apache.maven.plugins</groupId>
157 <artifactId>maven-checkstyle-plugin</artifactId>
158 <version>2.10</version>
159 <configuration>
160 <enableRulesSummary>false</enableRulesSummary>
161 <violationSeverity>warning</violationSeverity>
162 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
163 </configuration>
164 </plugin>
165 <plugin>
166 <groupId>org.apache.rat</groupId>
167 <artifactId>apache-rat-plugin</artifactId>
168 <executions>
169 <execution>
170 <phase>verify</phase>
171 <goals>
172 <goal>check</goal>
173 </goals>
174 </execution>
175 </executions>
176 <configuration>
177 <!-- check src only (except remote resources additions) -->
178 <includes>
179 <include>src/**</include>
180 </includes>
181 <excludes>
182 <exclude>src/main/appended-resources/**</exclude>
183 <exclude>src/main/resources/META-INF/**</exclude>
184 </excludes>
185 </configuration>
186 </plugin>
187 </plugins>
188 </build>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000189</project>