blob: 0675eb78508a15ae14532bd83dba935dbab6e620 [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 Escoffier615c9f22014-05-04 12:36:09 +000019<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21 <parent>
22 <groupId>org.apache.felix</groupId>
23 <artifactId>felix-parent</artifactId>
24 <version>2.1</version>
25 <relativePath>../../../pom/pom.xml</relativePath>
26 </parent>
27 <modelVersion>4.0.0</modelVersion>
28 <packaging>bundle</packaging>
29 <name>Apache Felix iPOJO - Online Manipulator</name>
30 <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000031 <version>1.12.0-SNAPSHOT</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000032
Clement Escoffier615c9f22014-05-04 12:36:09 +000033 <description>
34 iPOJO online manipulator allowing install time manipulation of iPOJO bundle.
35 </description>
36 <url>
37 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html
38 </url>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000039
Clement Escoffier615c9f22014-05-04 12:36:09 +000040 <properties>
Clement Escoffier9b0f3f32014-05-07 19:04:33 +000041 <ipojo.import.packages>[1.12.0,2.0.0)</ipojo.import.packages>
Clement Escoffier615c9f22014-05-04 12:36:09 +000042 <ipojo.manipulator.version>${project.version}</ipojo.manipulator.version>
43 </properties>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000044
45 <dependencies>
Clement Escoffier615c9f22014-05-04 12:36:09 +000046 <dependency>
47 <groupId>org.osgi</groupId>
48 <artifactId>org.osgi.core</artifactId>
49 <version>4.3.1</version>
50 <scope>provided</scope>
51 </dependency>
52 <dependency>
53 <groupId>org.osgi</groupId>
54 <artifactId>org.osgi.compendium</artifactId>
55 <version>4.0.0</version>
56 <scope>provided</scope>
57 </dependency>
58 <dependency>
59 <groupId>org.apache.felix</groupId>
60 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
65 </dependency>
66 <dependency>
67 <groupId>org.apache.felix</groupId>
68 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
69 </dependency>
70 <dependency>
71 <groupId>org.ow2.asm</groupId>
72 <artifactId>asm-all</artifactId>
73 </dependency>
74 <dependency>
75 <groupId>org.mockito</groupId>
76 <artifactId>mockito-all</artifactId>
77 <version>1.9.5</version>
78 <scope>test</scope>
79 </dependency>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000080 </dependencies>
Guillaume Sauthier1a1ef902014-03-10 16:44:34 +000081
Clement Escoffier615c9f22014-05-04 12:36:09 +000082 <dependencyManagement>
83 <dependencies>
84 <dependency>
85 <groupId>org.apache.felix</groupId>
86 <artifactId>ipojo-manipulator-bom</artifactId>
87 <version>${project.version}</version>
88 <type>pom</type>
89 <scope>import</scope>
90 </dependency>
91 </dependencies>
92 </dependencyManagement>
93
94 <build>
95 <resources>
96 <resource>
97 <directory>src/main/resources</directory>
98 <filtering>true</filtering>
99 </resource>
100 </resources>
101 <plugins>
102 <plugin>
103 <groupId>org.apache.maven.plugins</groupId>
104 <artifactId>maven-compiler-plugin</artifactId>
105 <version>3.0</version>
106 <configuration>
107 <target>1.5</target>
108 <source>1.5</source>
109 <testTarget>1.5</testTarget>
110 <testSource>1.5</testSource>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.felix</groupId>
115 <artifactId>maven-bundle-plugin</artifactId>
116 <version>2.3.7</version>
117 <extensions>true</extensions>
118 <configuration>
119 <instructions>
120 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
121 <Private-Package>org.apache.felix.ipojo.online.manipulator</Private-Package>
122 <Bundle-DocURL>
123 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html
124 </Bundle-DocURL>
125 <Export-Package>
126 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
127 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
128 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
129 org.apache.felix.ipojo.annotations*; version="${ipojo.manipulator.version}",
130 </Export-Package>
131 <Private-Package>
132 org.objectweb.asm,
133 org.objectweb.asm.commons,
134 org.objectweb.asm.signature,
Clement Escoffierd4684c22014-05-05 11:55:15 +0000135 org.objectweb.asm.tree*,
136 org.objectweb.asm.util,
Clement Escoffier615c9f22014-05-04 12:36:09 +0000137 org.apache.felix.ipojo.online.manipulator
138 </Private-Package>
139 <Import-Package>!sun.io, org.osgi.framework;version=1.3, *
140 </Import-Package>
141 </instructions>
142 </configuration>
143 </plugin>
144 <plugin>
145 <groupId>org.apache.felix</groupId>
146 <artifactId>maven-ipojo-plugin</artifactId>
147 <version>${project.version}</version>
148 <executions>
149 <execution>
150 <goals>
151 <goal>ipojo-bundle</goal>
152 </goals>
153 </execution>
154 </executions>
155 </plugin>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-checkstyle-plugin</artifactId>
159 <version>2.10</version>
160 <configuration>
161 <enableRulesSummary>false</enableRulesSummary>
162 <violationSeverity>warning</violationSeverity>
163 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
164 </configuration>
165 </plugin>
166 <plugin>
167 <groupId>org.apache.rat</groupId>
168 <artifactId>apache-rat-plugin</artifactId>
169 <executions>
170 <execution>
171 <phase>verify</phase>
172 <goals>
173 <goal>check</goal>
174 </goals>
175 </execution>
176 </executions>
177 <configuration>
178 <!-- check src only (except remote resources additions) -->
179 <includes>
180 <include>src/**</include>
181 </includes>
182 <excludes>
183 <exclude>src/main/appended-resources/**</exclude>
184 <exclude>src/main/resources/META-INF/**</exclude>
185 </excludes>
186 </configuration>
187 </plugin>
188 </plugins>
189 </build>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000190</project>