blob: 99cb26d3c877649a7d725cbfbe5a6e0db31f8f9b [file] [log] [blame]
Clement Escoffier16dd65d2011-12-03 09:10:24 +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 Escoffier0ed54202011-12-06 15:10:09 +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/xsd/maven-4.0.0.xsd">
Clement Escoffier195bb8f2011-12-06 15:04:44 +000020 <parent>
Clement Escoffier16dd65d2011-12-03 09:10:24 +000021 <groupId>org.apache.felix</groupId>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000022 <artifactId>felix-parent</artifactId>
23 <version>1.2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <packaging>bundle</packaging>
28 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier41fed5e2012-03-30 08:40:47 +000029 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000030 <name>Apache Felix iPOJO Manipulator</name>
Clement Escoffier16dd65d2011-12-03 09:10:24 +000031
Clement Escoffier195bb8f2011-12-06 15:04:44 +000032 <description>
33 iPOJO bytecode manipulator. This manipulator is used to instrument java classes in order to be managed by iPOJO.
34 </description>
Clement Escoffier16dd65d2011-12-03 09:10:24 +000035
Clement Escoffier195bb8f2011-12-06 15:04:44 +000036 <dependencies>
37 <dependency>
38 <groupId>asm</groupId>
39 <artifactId>asm-all</artifactId>
40 <version>3.3.1</version>
41 <exclusions>
42 <exclusion>
43 <groupId>asm</groupId>
44 <artifactId>asm-tree</artifactId>
45 </exclusion>
46 </exclusions>
47 </dependency>
48 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffiereebdc072012-03-30 08:38:41 +000051 <version>1.6.0</version>
Clement Escoffier195bb8f2011-12-06 15:04:44 +000052 </dependency>
53 <dependency>
54 <groupId>org.apache.felix</groupId>
55 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
56 <version>1.8.0</version>
57 </dependency>
58 <dependency>
59 <groupId>org.mockito</groupId>
60 <artifactId>mockito-all</artifactId>
61 <version>1.8.5</version>
62 <scope>test</scope>
63 </dependency>
64 </dependencies>
65 <build>
66 <plugins>
67 <plugin>
68 <groupId>org.apache.felix</groupId>
69 <artifactId>maven-bundle-plugin</artifactId>
70 <version>1.4.3</version>
71 <extensions>true</extensions>
72 <configuration>
73 <instructions>
74 <Bundle-Name>iPOJO Manipulator</Bundle-Name>
75 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
76 <Bundle-Vendor>The Apache Software Foundation</Bundle-Vendor>
77 <Bundle-Description>iPOJO Manipulator</Bundle-Description>
78 <Export-Package>org.apache.felix.ipojo.manipulator.*
79 </Export-Package>
80 <Private-Package>org.apache.felix.ipojo.manipulation,
81 org.apache.felix.ipojo.manipulation.annotations,
82 org.apache.felix.ipojo.xml.parser, org.objectweb.asm,
83 org.objectweb.asm.commons
84 </Private-Package>
85 <Include-Resource>
86 META-INF/LICENSE=LICENSE,
87 META-INF/LICENSE.asm=LICENSE.asm,
88 META-INF/NOTICE=NOTICE,
89 META-INF/DEPENDENCIES=DEPENDENCIES,
90 {maven-resources}
91 </Include-Resource>
92 <Import-Package>!org.objectweb.asm.tree, *</Import-Package>
93 </instructions>
94 <obrRepository>NONE</obrRepository>
95 </configuration>
96 </plugin>
97 <plugin>
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>rat-maven-plugin</artifactId>
100 <configuration>
101 <excludeSubProjects>false</excludeSubProjects>
102 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
103 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
104 <excludes>
105 <param>doc/*</param>
106 <param>maven-eclipse.xml</param>
107 <param>.checkstyle</param>
108 <param>.externalToolBuilders/*</param>
109 <param>LICENSE.asm</param>
110 <param>DEPENDENCIES</param>
111 </excludes>
112 </configuration>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-checkstyle-plugin</artifactId>
117 <configuration>
118 <enableRulesSummary>false</enableRulesSummary>
119 <violationSeverity>warning</violationSeverity>
120 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
121 </configuration>
122 </plugin>
Clement Escoffier16dd65d2011-12-03 09:10:24 +0000123
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-compiler-plugin</artifactId>
127 <configuration>
128 <source>1.5</source>
129 <target>1.5</target>
130 </configuration>
131 </plugin>
132
133 </plugins>
134
135 <resources>
136 <resource>
137 <directory>src/main/resources</directory>
138 </resource>
139 <resource>
140 <directory>.</directory>
141 <targetPath>META-INF</targetPath>
142 <includes>
143 <include>LICENSE*</include>
144 <include>NOTICE*</include>
145 <include>DEPENDENCIES*</include>
146 </includes>
147 </resource>
148 </resources>
149 </build>
150
151 <profiles>
152 <profile>
153 <id>release</id>
154 <build>
155 <plugins>
156 <plugin>
157 <groupId>org.apache.maven.plugins</groupId>
158 <artifactId>maven-javadoc-plugin</artifactId>
159 <executions>
160 <execution>
161 <id>attach-javadocs</id>
162 <goals>
163 <goal>jar</goal>
164 </goals>
165 </execution>
166 </executions>
167 </plugin>
168 </plugins>
169 </build>
170 </profile>
171 </profiles>
Clement Escoffier16dd65d2011-12-03 09:10:24 +0000172</project>