blob: 3618fe1503649c311973d911e810afb57bcb4cd5 [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 Escoffierf28c9312013-10-08 13:11:46 +000030 <version>1.11.1-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>
58 <version>1.6.0</version>
59 </dependency>
60 <dependency>
61 <groupId>org.apache.felix</groupId>
62 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
63 <version>${project.version}</version>
64 </dependency>
65 <dependency>
66 <groupId>asm</groupId>
67 <artifactId>asm-all</artifactId>
68 <version>3.3.1</version>
69 <exclusions>
70 <exclusion>
71 <groupId>asm</groupId>
72 <artifactId>asm-tree</artifactId>
73 </exclusion>
74 </exclusions>
75 </dependency>
76 <dependency>
77 <groupId>org.mockito</groupId>
78 <artifactId>mockito-all</artifactId>
79 <version>1.9.5</version>
80 <scope>test</scope>
81 </dependency>
82 </dependencies>
83 <build>
84 <resources>
85 <resource>
86 <directory>src/main/resources</directory>
87 <filtering>true</filtering>
88 </resource>
89 </resources>
90 <plugins>
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-compiler-plugin</artifactId>
94 <version>3.0</version>
95 <configuration>
96 <target>1.5</target>
97 <source>1.5</source>
98 <testTarget>1.5</testTarget>
99 <testSource>1.5</testSource>
100 </configuration>
101 </plugin>
102 <plugin>
103 <groupId>org.apache.felix</groupId>
104 <artifactId>maven-bundle-plugin</artifactId>
105 <version>2.3.7</version>
106 <extensions>true</extensions>
107 <configuration>
108 <instructions>
Guillaume Sauthier842f2ae2013-07-04 14:45:59 +0000109 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000110 <Private-Package>org.apache.felix.ipojo.online.manipulator</Private-Package>
111 <Bundle-DocURL>
Clement Escoffierb76fae72013-05-28 04:37:54 +0000112 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 +0000113 </Bundle-DocURL>
114 <Export-Package>
115 org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}",
116 org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}",
117 org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}",
118 org.apache.felix.ipojo.annotations*; version="${ipojo.manipulator.version}",
119 </Export-Package>
120 <Private-Package>
121 org.objectweb.asm,
122 org.objectweb.asm.commons,
123 org.objectweb.asm.signature,
124 org.objectweb.asm.tree,
125 org.apache.felix.ipojo.online.manipulator
126 </Private-Package>
127 <Import-Package>!sun.io, org.osgi.framework;version=1.3, *
128 </Import-Package>
129 </instructions>
130 </configuration>
131 </plugin>
132 <plugin>
133 <groupId>org.apache.felix</groupId>
134 <artifactId>maven-ipojo-plugin</artifactId>
Guillaume Sauthier8c8c7c22013-06-01 18:45:03 +0000135 <version>${project.version}</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000136 <executions>
137 <execution>
138 <goals>
139 <goal>ipojo-bundle</goal>
140 </goals>
141 <configuration>
142 <ignoreAnnotations>true</ignoreAnnotations>
143 </configuration>
144 </execution>
145 </executions>
146 </plugin>
147 <plugin>
148 <groupId>org.apache.maven.plugins</groupId>
149 <artifactId>maven-checkstyle-plugin</artifactId>
Guillaume Sauthier842f2ae2013-07-04 14:45:59 +0000150 <version>2.10</version>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000151 <configuration>
152 <enableRulesSummary>false</enableRulesSummary>
153 <violationSeverity>warning</violationSeverity>
154 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
155 </configuration>
156 </plugin>
157 <plugin>
158 <groupId>org.apache.rat</groupId>
159 <artifactId>apache-rat-plugin</artifactId>
160 <executions>
161 <execution>
162 <phase>verify</phase>
163 <goals>
164 <goal>check</goal>
165 </goals>
166 </execution>
167 </executions>
168 <configuration>
169 <!-- check src only (except remote resources additions) -->
170 <includes>
171 <include>src/**</include>
172 </includes>
173 <excludes>
174 <exclude>src/main/appended-resources/**</exclude>
175 <exclude>src/main/resources/META-INF/**</exclude>
176 </excludes>
177 </configuration>
178 </plugin>
179 </plugins>
180 </build>
Clement Escoffier4f2609b2013-03-20 07:35:37 +0000181</project>