blob: b459613b81f56d190801c7279ea541b046e3073e [file] [log] [blame]
Clement Escoffier3482f242008-10-14 09:43:32 +00001<!--
Clement Escoffierbfa74d02009-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 Escoffier0b93f382009-07-03 13:16:24 +00009
Clement Escoffierbfa74d02009-07-19 16:25:18 +000010 http://www.apache.org/licenses/LICENSE-2.0
Clement Escoffier0b93f382009-07-03 13:16:24 +000011
Clement Escoffierbfa74d02009-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 Escoffier3482f242008-10-14 09:43:32 +000018-->
Clement Escoffier8d2fb912009-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 Escoffierbfa74d02009-07-19 16:25:18 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffier86215df2010-04-16 13:54:16 +000023 <version>1.2.1</version>
Clement Escoffierbfa74d02009-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 Escoffieredf15d82011-01-17 07:58:56 +000029 <version>1.9.0-SNAPSHOT</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000030 <name>Apache Felix iPOJO Manipulator</name>
Clement Escoffier6191b082010-08-29 09:05:18 +000031
Clement Escoffierbfa74d02009-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 Escoffier6191b082010-08-29 09:05:18 +000035
Clement Escoffierbfa74d02009-07-19 16:25:18 +000036 <dependencies>
37 <dependency>
38 <groupId>asm</groupId>
39 <artifactId>asm-all</artifactId>
Clement Escoffiera6725432011-10-05 14:55:48 +000040 <version>3.3.1</version>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000041 <exclusions>
42 <exclusion>
43 <groupId>asm</groupId>
44 <artifactId>asm-tree</artifactId>
45 </exclusion>
46 </exclusions>
47 </dependency>
Clement Escoffier69257912011-08-18 11:32:19 +000048 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
Clement Escoffierde01a8c2011-09-25 10:57:48 +000051 <version>1.5.0-SNAPSHOT</version>
Clement Escoffier69257912011-08-18 11:32:19 +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>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000058 <dependency>
Clement Escoffier69257912011-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 Escoffierbfa74d02009-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 Escoffier134b0062010-05-01 10:46:02 +000075 <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
Clement Escoffierbfa74d02009-07-19 16:25:18 +000076 <Bundle-Vendor> The Apache Software Foundation </Bundle-Vendor>
77 <Bundle-Description> iPOJO Manipulator </Bundle-Description>
Clement Escoffier69257912011-08-18 11:32:19 +000078 <Export-Package> org.apache.felix.ipojo.manipulator.*
Clement Escoffierbfa74d02009-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 Escoffier6191b082010-08-29 09:05:18 +000084 <Include-Resource>
Clement Escoffier1593ef52010-07-14 18:31:13 +000085 META-INF/LICENSE=LICENSE,
Clement Escoffier6191b082010-08-29 09:05:18 +000086 META-INF/LICENSE.asm=LICENSE.asm,
Clement Escoffier1593ef52010-07-14 18:31:13 +000087 META-INF/NOTICE=NOTICE,
Clement Escoffier69257912011-08-18 11:32:19 +000088 META-INF/DEPENDENCIES=DEPENDENCIES,
89 {maven-resources}
Clement Escoffier1593ef52010-07-14 18:31:13 +000090 </Include-Resource>
Clement Escoffierbfa74d02009-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 Escoffier6191b082010-08-29 09:05:18 +0000109 <param>DEPENDENCIES</param>
Clement Escoffierbfa74d02009-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 Escoffierf2e27472010-12-23 13:20:45 +0000122
Clement Escoffier9798bd82011-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 Escoffierf2e27472010-12-23 13:20:45 +0000131
Clement Escoffierbfa74d02009-07-19 16:25:18 +0000132 </plugins>
Clement Escoffier6191b082010-08-29 09:05:18 +0000133
134 <resources>
Clement Escoffier9798bd82011-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 Escoffierbfa74d02009-07-19 16:25:18 +0000148 </build>
149</project>