blob: d31af7e6fa1b97a03c6e704ad3874c90d46b5d18 [file] [log] [blame]
Clement Escoffierbf9cacd2011-12-03 09:11:15 +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 Escoffierb08497e2012-03-30 08:40:33 +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/maven-v4_0_0.xsd">
Clement Escoffier6972d2c2012-03-12 09:44:16 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
Clement Escoffiered4ca022013-03-13 15:27:20 +000023 <version>2.1</version>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000024 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierd5a66c42013-05-15 13:30:34 +000028 <version>1.10.1-SNAPSHOT</version>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000029 <name>Apache Felix iPOJO Maven Plugin</name>
30 <packaging>maven-plugin</packaging>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000031
Clement Escoffier6972d2c2012-03-12 09:44:16 +000032 <description>
33 Maven Plugin to package iPOJO-powered bundles.
34 </description>
35 <url>
Clement Escoffierb76fae72013-05-28 04:37:54 +000036 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-maven-plug-in.html
Clement Escoffier6972d2c2012-03-12 09:44:16 +000037 </url>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000038
Clement Escoffier6972d2c2012-03-12 09:44:16 +000039 <dependencies>
40 <dependency>
41 <groupId>org.apache.maven</groupId>
42 <artifactId>maven-plugin-api</artifactId>
43 <version>2.0.4</version>
44 <scope>compile</scope>
45 </dependency>
46 <dependency>
47 <groupId>org.apache.maven</groupId>
48 <artifactId>maven-archiver</artifactId>
49 <version>2.4.1</version>
50 </dependency>
51 <dependency>
52 <groupId>org.codehaus.plexus</groupId>
53 <artifactId>plexus-utils</artifactId>
54 <version>2.0.5</version>
55 </dependency>
56 <dependency>
57 <groupId>org.apache.maven</groupId>
58 <artifactId>maven-project</artifactId>
59 <version>2.0.4</version>
60 </dependency>
61 <dependency>
62 <groupId>org.apache.maven</groupId>
63 <artifactId>maven-artifact</artifactId>
64 <version>2.0.4</version>
65 </dependency>
66 <dependency>
67 <groupId>xerces</groupId>
68 <artifactId>xercesImpl</artifactId>
69 <version>2.9.1</version>
70 </dependency>
71 <dependency>
72 <groupId>org.apache.felix</groupId>
73 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
74 <version>1.4.0</version>
75 </dependency>
76 <dependency>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Guillaume Sauthier8c8c7c22013-06-01 18:45:03 +000079 <version>${project.version}</version>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000080 </dependency>
81 </dependencies>
82 <build>
Clement Escoffiered4ca022013-03-13 15:27:20 +000083
Clement Escoffier6972d2c2012-03-12 09:44:16 +000084 <plugins>
85 <plugin>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000086 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-checkstyle-plugin</artifactId>
88 <configuration>
89 <enableRulesSummary>false</enableRulesSummary>
90 <violationSeverity>warning</violationSeverity>
91 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
92 </configuration>
93 </plugin>
94 <plugin>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-compiler-plugin</artifactId>
97 <configuration>
98 <source>1.5</source>
99 <target>1.5</target>
100 </configuration>
101 </plugin>
Clement Escoffiered4ca022013-03-13 15:27:20 +0000102
103 <plugin>
104 <groupId>org.apache.rat</groupId>
105 <artifactId>apache-rat-plugin</artifactId>
106 <executions>
107 <execution>
108 <phase>verify</phase>
109 <goals>
110 <goal>check</goal>
111 </goals>
112 </execution>
113 </executions>
114 <configuration>
115 <!-- check src only (except remote resources additions) -->
116 <includes>
117 <include>src/**</include>
118 </includes>
119 <excludes>
120 <exclude>src/main/appended-resources/**</exclude>
121 <!-- exclude the archetype -->
122 <exclude>src/main/resources/archetype-resources/**</exclude>
123 </excludes>
124 </configuration>
125 </plugin>
Clement Escoffier6972d2c2012-03-12 09:44:16 +0000126 </plugins>
127 </build>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000128
129 <profiles>
130 <profile>
131 <id>release</id>
132 <build>
133 <plugins>
134 <plugin>
135 <groupId>org.apache.maven.plugins</groupId>
136 <artifactId>maven-javadoc-plugin</artifactId>
137 <executions>
138 <execution>
139 <id>attach-javadocs</id>
140 <goals>
141 <goal>jar</goal>
142 </goals>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148 </profile>
149 </profiles>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +0000150</project>