blob: 9d35cb3ae774b84d2b8a3182fe2fd63d96495c64 [file] [log] [blame]
Clement Escoffierec471f52008-10-14 09:43:32 +00001<!--
Clement Escoffier0630c6b2009-07-19 16:25:18 +00002 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
Clement Escoffierc80b73d2009-07-03 13:16:24 +00009
Clement Escoffier0630c6b2009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffierc80b73d2009-07-03 13:16:24 +000011
Clement Escoffier0630c6b2009-07-19 16:25:18 +000012 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.
Clement Escoffierec471f52008-10-14 09:43:32 +000018-->
Clement Escoffier7019ead2009-01-19 11:18:18 +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 Escoffier0630c6b2009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier5ab0b442010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000024 <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>
29 <groupId>org.apache.felix</groupId>
Clement Escoffier86975072011-01-17 07:58:56 +000030 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000031 <name>Apache Felix iPOJO Manipulator</name>
Clement Escoffier8563afc2010-08-29 09:05:18 +000032
Clement Escoffier0630c6b2009-07-19 16:25:18 +000033 <description>
34 iPOJO bytecode manipulator. This manipulator is used to instrument java classes in order to be managed by iPOJO.
35 </description>
Clement Escoffier8563afc2010-08-29 09:05:18 +000036
Clement Escoffier0630c6b2009-07-19 16:25:18 +000037 <dependencies>
38 <dependency>
39 <groupId>asm</groupId>
40 <artifactId>asm-all</artifactId>
41 <version>3.0</version>
42 <exclusions>
43 <exclusion>
44 <groupId>asm</groupId>
45 <artifactId>asm-tree</artifactId>
46 </exclusion>
47 </exclusions>
48 </dependency>
Clement Escoffierc7875d22011-08-18 11:32:19 +000049 <dependency>
50 <groupId>org.apache.felix</groupId>
51 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
52 <version>1.4.0</version>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
57 <version>1.8.0</version>
58 </dependency>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000059 <dependency>
Clement Escoffierc7875d22011-08-18 11:32:19 +000060 <groupId>org.mockito</groupId>
61 <artifactId>mockito-all</artifactId>
62 <version>1.8.5</version>
63 <scope>test</scope>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000064 </dependency>
65 </dependencies>
66 <build>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.felix</groupId>
70 <artifactId>maven-bundle-plugin</artifactId>
71 <version>1.4.3</version>
72 <extensions>true</extensions>
73 <configuration>
74 <instructions>
75 <Bundle-Name>iPOJO Manipulator</Bundle-Name>
Clement Escoffierfe606902010-05-01 10:46:02 +000076 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000077 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
78 <Bundle-Description> iPOJO Manipulator </Bundle-Description>
Clement Escoffierc7875d22011-08-18 11:32:19 +000079 <Export-Package> org.apache.felix.ipojo.manipulator.*
Clement Escoffier0630c6b2009-07-19 16:25:18 +000080 </Export-Package>
81 <Private-Package> org.apache.felix.ipojo.manipulation,
82 org.apache.felix.ipojo.manipulation.annotations,
83 org.apache.felix.ipojo.xml.parser, org.objectweb.asm,
84 org.objectweb.asm.commons </Private-Package>
Clement Escoffier8563afc2010-08-29 09:05:18 +000085 <Include-Resource>
Clement Escoffierdd7c1152010-07-14 18:31:13 +000086 META-INF/LICENSE=LICENSE,
Clement Escoffier8563afc2010-08-29 09:05:18 +000087 META-INF/LICENSE.asm=LICENSE.asm,
Clement Escoffierdd7c1152010-07-14 18:31:13 +000088 META-INF/NOTICE=NOTICE,
Clement Escoffierc7875d22011-08-18 11:32:19 +000089 META-INF/DEPENDENCIES=DEPENDENCIES,
90 {maven-resources}
Clement Escoffierdd7c1152010-07-14 18:31:13 +000091 </Include-Resource>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000092 <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>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000110 <param>DEPENDENCIES</param>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000111 </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 Escoffier5c0361e2010-12-23 13:20:45 +0000123
124 <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
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000133 </plugins>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000134
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>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000149 </build>
150</project>