blob: 4e7efa6008226bf696937c676548a608d1580ff2 [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">
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000020 <parent>
21 <groupId>org.apache.felix</groupId>
22 <artifactId>felix-parent</artifactId>
23 <version>2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>maven-ipojo-plugin</artifactId>
28 <version>1.11.3-SNAPSHOT</version>
29 <name>Apache Felix iPOJO Maven Plugin</name>
30 <packaging>maven-plugin</packaging>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000031
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000032 <description>
33 Maven Plugin to package iPOJO-powered bundles.
34 </description>
35 <url>
36 http://felix.apache.org/documentation/subprojects/apache-felix-ipojo/apache-felix-ipojo-tools/ipojo-maven-plug-in.html
37 </url>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000038
Guillaume Sauthierbe546d82014-03-13 11:12:08 +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>
79 <version>${project.version}</version>
80 </dependency>
81 </dependencies>
82 <build>
Clement Escoffiered4ca022013-03-13 15:27:20 +000083
Guillaume Sauthierbe546d82014-03-13 11:12:08 +000084 <plugins>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-checkstyle-plugin</artifactId>
88 <version>2.10</version>
89 <configuration>
90 <enableRulesSummary>false</enableRulesSummary>
91 <violationSeverity>warning</violationSeverity>
92 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
93 </configuration>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-compiler-plugin</artifactId>
98 <configuration>
99 <source>1.5</source>
100 <target>1.5</target>
101 </configuration>
102 </plugin>
103
104 <plugin>
105 <groupId>org.apache.rat</groupId>
106 <artifactId>apache-rat-plugin</artifactId>
107 <executions>
108 <execution>
109 <phase>verify</phase>
110 <goals>
111 <goal>check</goal>
112 </goals>
113 </execution>
114 </executions>
115 <configuration>
116 <!-- check src only (except remote resources additions) -->
117 <includes>
118 <include>src/**</include>
119 </includes>
120 <excludes>
121 <exclude>src/main/appended-resources/**</exclude>
122 <!-- exclude the archetype -->
123 <exclude>src/main/resources/archetype-resources/**</exclude>
124 </excludes>
125 </configuration>
126 </plugin>
127 </plugins>
128 </build>
129
130 <profiles>
131 <profile>
132 <id>release</id>
133 <build>
Clement Escoffier6972d2c2012-03-12 09:44:16 +0000134 <plugins>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000135 <plugin>
136 <groupId>org.apache.maven.plugins</groupId>
137 <artifactId>maven-javadoc-plugin</artifactId>
138 <executions>
139 <execution>
140 <id>attach-javadocs</id>
141 <goals>
142 <goal>jar</goal>
143 </goals>
144 </execution>
145 </executions>
146 </plugin>
Clement Escoffier6972d2c2012-03-12 09:44:16 +0000147 </plugins>
Guillaume Sauthierbe546d82014-03-13 11:12:08 +0000148 </build>
149 </profile>
150 </profiles>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +0000151</project>