blob: dd017aba7b5064dc42bcc12896d8f0faf8e34d85 [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>
Clement Escoffier86975072011-01-17 07:58:56 +000029 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000030 <name>Apache Felix iPOJO Manipulator</name>
Clement Escoffier8563afc2010-08-29 09:05:18 +000031
Clement Escoffier0630c6b2009-07-19 16:25:18 +000032 <description>
33 iPOJO bytecode manipulator. This manipulator is used to instrument java classes in order to be managed by iPOJO.
34 </description>
Clement Escoffier8563afc2010-08-29 09:05:18 +000035
Clement Escoffier0630c6b2009-07-19 16:25:18 +000036 <dependencies>
37 <dependency>
38 <groupId>asm</groupId>
39 <artifactId>asm-all</artifactId>
40 <version>3.0</version>
41 <exclusions>
42 <exclusion>
43 <groupId>asm</groupId>
44 <artifactId>asm-tree</artifactId>
45 </exclusion>
46 </exclusions>
47 </dependency>
Clement Escoffierc7875d22011-08-18 11:32:19 +000048 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
51 <version>1.4.0</version>
52 </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>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000058 <dependency>
Clement Escoffierc7875d22011-08-18 11:32:19 +000059 <groupId>org.mockito</groupId>
60 <artifactId>mockito-all</artifactId>
61 <version>1.8.5</version>
62 <scope>test</scope>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000063 </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>
Clement Escoffierfe606902010-05-01 10:46:02 +000075 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000076 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
77 <Bundle-Description> iPOJO Manipulator </Bundle-Description>
Clement Escoffierc7875d22011-08-18 11:32:19 +000078 <Export-Package> org.apache.felix.ipojo.manipulator.*
Clement Escoffier0630c6b2009-07-19 16:25:18 +000079 </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 </Private-Package>
Clement Escoffier8563afc2010-08-29 09:05:18 +000084 <Include-Resource>
Clement Escoffierdd7c1152010-07-14 18:31:13 +000085 META-INF/LICENSE=LICENSE,
Clement Escoffier8563afc2010-08-29 09:05:18 +000086 META-INF/LICENSE.asm=LICENSE.asm,
Clement Escoffierdd7c1152010-07-14 18:31:13 +000087 META-INF/NOTICE=NOTICE,
Clement Escoffierc7875d22011-08-18 11:32:19 +000088 META-INF/DEPENDENCIES=DEPENDENCIES,
89 {maven-resources}
Clement Escoffierdd7c1152010-07-14 18:31:13 +000090 </Include-Resource>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000091 <Import-Package>!org.objectweb.asm.tree, *</Import-Package>
92 </instructions>
93 <obrRepository>NONE</obrRepository>
94 </configuration>
95 </plugin>
96 <plugin>
97 <groupId>org.codehaus.mojo</groupId>
98 <artifactId>rat-maven-plugin</artifactId>
99 <configuration>
100 <excludeSubProjects>false</excludeSubProjects>
101 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
102 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
103 <excludes>
104 <param>doc/*</param>
105 <param>maven-eclipse.xml</param>
106 <param>.checkstyle</param>
107 <param>.externalToolBuilders/*</param>
108 <param>LICENSE.asm</param>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000109 <param>DEPENDENCIES</param>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000110 </excludes>
111 </configuration>
112 </plugin>
113 <plugin>
114 <groupId>org.apache.maven.plugins</groupId>
115 <artifactId>maven-checkstyle-plugin</artifactId>
116 <configuration>
117 <enableRulesSummary>false</enableRulesSummary>
118 <violationSeverity>warning</violationSeverity>
119 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
120 </configuration>
121 </plugin>
Clement Escoffier5c0361e2010-12-23 13:20:45 +0000122
Clement Escoffierc7147d32011-08-20 13:54:30 +0000123 <plugin>
124 <groupId>org.apache.maven.plugins</groupId>
125 <artifactId>maven-compiler-plugin</artifactId>
126 <configuration>
127 <source>1.5</source>
128 <target>1.5</target>
129 </configuration>
130 </plugin>
Clement Escoffier5c0361e2010-12-23 13:20:45 +0000131
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000132 </plugins>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000133
134 <resources>
Clement Escoffierc7147d32011-08-20 13:54:30 +0000135 <resource>
136 <directory>src/main/resources</directory>
137 </resource>
138 <resource>
139 <directory>.</directory>
140 <targetPath>META-INF</targetPath>
141 <includes>
142 <include>LICENSE*</include>
143 <include>NOTICE*</include>
144 <include>DEPENDENCIES*</include>
145 </includes>
146 </resource>
147 </resources>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000148 </build>
149</project>