blob: ea42af2794fc941858d70a3164a8c01bff45e28f [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 Escoffier2a383d72010-08-29 09:11:36 +000030 <version>1.7.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>
49 <dependency>
50 <groupId>org.apache.felix</groupId>
51 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffier14bbbb22010-04-12 06:27:58 +000052 <version>1.4.0</version>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000053 </dependency>
Clement Escoffier5c0361e2010-12-23 13:20:45 +000054 <dependency>
55 <groupId>org.apache.felix</groupId>
56 <artifactId>org.apache.felix.ipojo.annotations</artifactId>
57 <version>1.7.0-SNAPSHOT</version>
58 </dependency>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000059 </dependencies>
60 <build>
61 <plugins>
62 <plugin>
63 <groupId>org.apache.felix</groupId>
64 <artifactId>maven-bundle-plugin</artifactId>
65 <version>1.4.3</version>
66 <extensions>true</extensions>
67 <configuration>
68 <instructions>
69 <Bundle-Name>iPOJO Manipulator</Bundle-Name>
Clement Escoffierfe606902010-05-01 10:46:02 +000070 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000071 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
72 <Bundle-Description> iPOJO Manipulator </Bundle-Description>
73 <Export-Package> org.apache.felix.ipojo.manipulator
74 </Export-Package>
75 <Private-Package> org.apache.felix.ipojo.manipulation,
76 org.apache.felix.ipojo.manipulation.annotations,
77 org.apache.felix.ipojo.xml.parser, org.objectweb.asm,
78 org.objectweb.asm.commons </Private-Package>
Clement Escoffier8563afc2010-08-29 09:05:18 +000079 <Include-Resource>
Clement Escoffierdd7c1152010-07-14 18:31:13 +000080 META-INF/LICENSE=LICENSE,
Clement Escoffier8563afc2010-08-29 09:05:18 +000081 META-INF/LICENSE.asm=LICENSE.asm,
Clement Escoffierdd7c1152010-07-14 18:31:13 +000082 META-INF/NOTICE=NOTICE,
Clement Escoffier8563afc2010-08-29 09:05:18 +000083 xsd=src/main/resources,
Clement Escoffierdd7c1152010-07-14 18:31:13 +000084 META-INF/DEPENDENCIES=DEPENDENCIES
85 </Include-Resource>
Clement Escoffier0630c6b2009-07-19 16:25:18 +000086 <Import-Package>!org.objectweb.asm.tree, *</Import-Package>
87 </instructions>
88 <obrRepository>NONE</obrRepository>
89 </configuration>
90 </plugin>
91 <plugin>
92 <groupId>org.codehaus.mojo</groupId>
93 <artifactId>rat-maven-plugin</artifactId>
94 <configuration>
95 <excludeSubProjects>false</excludeSubProjects>
96 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
97 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
98 <excludes>
99 <param>doc/*</param>
100 <param>maven-eclipse.xml</param>
101 <param>.checkstyle</param>
102 <param>.externalToolBuilders/*</param>
103 <param>LICENSE.asm</param>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000104 <param>DEPENDENCIES</param>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000105 </excludes>
106 </configuration>
107 </plugin>
108 <plugin>
109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-checkstyle-plugin</artifactId>
111 <configuration>
112 <enableRulesSummary>false</enableRulesSummary>
113 <violationSeverity>warning</violationSeverity>
114 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
115 </configuration>
116 </plugin>
Clement Escoffier5c0361e2010-12-23 13:20:45 +0000117
118 <plugin>
119 <groupId>org.apache.maven.plugins</groupId>
120 <artifactId>maven-compiler-plugin</artifactId>
121 <configuration>
122 <source>1.5</source>
123 <target>1.5</target>
124 </configuration>
125 </plugin>
126
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000127 </plugins>
Clement Escoffier8563afc2010-08-29 09:05:18 +0000128
129 <resources>
130 <resource>
131 <directory>src/main/resources</directory>
132 </resource>
133 <resource>
134 <directory>.</directory>
135 <targetPath>META-INF</targetPath>
136 <includes>
137 <include>LICENSE*</include>
138 <include>NOTICE*</include>
139 <include>DEPENDENCIES*</include>
140 </includes>
141 </resource>
142 </resources>
Clement Escoffier0630c6b2009-07-19 16:25:18 +0000143 </build>
144</project>