blob: a64dfeb27d56a3e9750c26a90f3351dbf5570920 [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">
Clement Escoffier4f2609b2013-03-20 07:35:37 +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 Escoffier4348e392014-03-11 14:57:22 +000030 <version>1.11.3-SNAPSHOT</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000031
32 <description>
33 iPOJO online manipulator allowing install time manipulation of iPOJO bundle.
34 </description>
Clement Escoffierb76fae72013-05-28 04:37:54 +000035 <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
39 <properties>
Clement Escoffier24b42a72013-10-03 14:09:29 +000040 <ipojo.import.packages>[1.11.0,2.0.0)</ipojo.import.packages>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000041 <ipojo.manipulator.version>${project.version}</ipojo.manipulator.version>
42 </properties>
43
44 <dependencies>
45 <dependency>
46 <groupId>org.osgi</groupId>
47 <artifactId>org.osgi.core</artifactId>
48 <version>4.3.1</version>
49 </dependency>
50 <dependency>
51 <groupId>org.osgi</groupId>
52 <artifactId>org.osgi.compendium</artifactId>
53 <version>4.0.0</version>
54 </dependency>
55 <dependency>
56 <groupId>org.apache.felix</groupId>
57 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000058 </dependency>
59 <dependency>
60 <groupId>org.apache.felix</groupId>
61 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthier1a1ef902014-03-10 16:44:34 +000062 </dependency>
63 <dependency>
64 <groupId>org.apache.felix</groupId>
65 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000066 </dependency>
67 <dependency>
68 <groupId>asm</groupId>
69 <artifactId>asm-all</artifactId>
Clement Escoffier4f2609b2013-03-20 07:35:37 +000070 </dependency>
71 <dependency>
72 <groupId>org.mockito</groupId>
73 <artifactId>mockito-all</artifactId>
74 <version>1.9.5</version>
75 <scope>test</scope>
76 </dependency>
77 </dependencies>
Guillaume Sauthier1a1ef902014-03-10 16:44:34 +000078
79 <dependencyManagement>
80 <dependencies>
81 <dependency>
82 <groupId>org.apache.felix</groupId>
83 <artifactId>ipojo-manipulator-bom</artifactId>
84 <version>${project.version}</version>
85 <type>pom</type>
86 <scope>import</scope>
87 </dependency>
88 </dependencies>
89 </dependencyManagement>
90
Clement Escoffier4f2609b2013-03-20 07:35:37 +000091 <build>
92 <resources>
93 <resource>
94 <directory>src/main/resources</directory>
95 <filtering>true</filtering>
96 </resource>
97 </resources>
98 <plugins>
99 <plugin>
100 <groupId>org.apache.maven.plugins</groupId>
101 <artifactId>maven-compiler-plugin</artifactId>
102 <version>3.0</version>
103 <configuration>
104 <target>1.5</target>
105 <source>1.5</source>
106 <testTarget>1.5</testTarget>
107 <testSource>1.5</testSource>
108 </configuration>
109 </plugin>
110 <plugin>
111 <groupId>org.apache.felix</groupId>
112 <artifactId>maven-bundle-plugin</artifactId>
113 <version>2.3.7</version>
114 <extensions>true</extensions>
115 <configuration>
116 <instructions>
Guillaume Sauthier842f2ae2013-07-04 14:45:59 +0000117 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000118 <Private-Package>org.apache.felix.ipojo.online.manipulator</Private-Package>
119 <Bundle-DocURL>
Clement Escoffierb76fae72013-05-28 04:37:54 +0000120 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/apache-felix-ipojo-online-manipulator.html
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000121 </Bundle-DocURL>
122 <Export-Package>
123 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
124 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
125 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
126 org.apache.felix.ipojo.annotations*; version="${ipojo.manipulator.version}",
127 </Export-Package>
128 <Private-Package>
129 org.objectweb.asm,
130 org.objectweb.asm.commons,
131 org.objectweb.asm.signature,
132 org.objectweb.asm.tree,
133 org.apache.felix.ipojo.online.manipulator
134 </Private-Package>
135 <Import-Package>!sun.io, org.osgi.framework;version=1.3, *
136 </Import-Package>
137 </instructions>
138 </configuration>
139 </plugin>
140 <plugin>
141 <groupId>org.apache.felix</groupId>
142 <artifactId>maven-ipojo-plugin</artifactId>
Guillaume Sauthier8c8c7c22013-06-01 18:45:03 +0000143 <version>${project.version}</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000144 <executions>
145 <execution>
146 <goals>
147 <goal>ipojo-bundle</goal>
148 </goals>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000149 </execution>
150 </executions>
151 </plugin>
152 <plugin>
153 <groupId>org.apache.maven.plugins</groupId>
154 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthier842f2ae2013-07-04 14:45:59 +0000155 <version>2.10</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000156 <configuration>
157 <enableRulesSummary>false</enableRulesSummary>
158 <violationSeverity>warning</violationSeverity>
159 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
160 </configuration>
161 </plugin>
162 <plugin>
163 <groupId>org.apache.rat</groupId>
164 <artifactId>apache-rat-plugin</artifactId>
165 <executions>
166 <execution>
167 <phase>verify</phase>
168 <goals>
169 <goal>check</goal>
170 </goals>
171 </execution>
172 </executions>
173 <configuration>
174 <!-- check src only (except remote resources additions) -->
175 <includes>
176 <include>src/**</include>
177 </includes>
178 <excludes>
179 <exclude>src/main/appended-resources/**</exclude>
180 <exclude>src/main/resources/META-INF/**</exclude>
181 </excludes>
182 </configuration>
183 </plugin>
184 </plugins>
185 </build>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000186</project>