blob: 4d19ddba141dea91bf00e3df3eb3f4bd78d6549e [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>
23 <version>1.2.1</version>
24 <relativePath>../../../pom/pom.xml</relativePath>
25 </parent>
26 <modelVersion>4.0.0</modelVersion>
27 <artifactId>maven-ipojo-plugin</artifactId>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000028 <groupId>org.apache.felix</groupId>
Clement Escoffier54689a32012-10-28 13:52:47 +000029 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000030 <name>Apache Felix iPOJO Maven Plugin</name>
31 <packaging>maven-plugin</packaging>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000032
Clement Escoffier6972d2c2012-03-12 09:44:16 +000033 <description>
34 Maven Plugin to package iPOJO-powered bundles.
35 </description>
36 <url>
37 http://felix.apache.org/site/ipojo-maven-plug-in.html
38 </url>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +000039
Clement Escoffier6972d2c2012-03-12 09:44:16 +000040 <dependencies>
41 <dependency>
42 <groupId>org.apache.maven</groupId>
43 <artifactId>maven-plugin-api</artifactId>
44 <version>2.0.4</version>
45 <scope>compile</scope>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.maven</groupId>
49 <artifactId>maven-archiver</artifactId>
50 <version>2.4.1</version>
51 </dependency>
52 <dependency>
53 <groupId>org.codehaus.plexus</groupId>
54 <artifactId>plexus-utils</artifactId>
55 <version>2.0.5</version>
56 </dependency>
57 <dependency>
58 <groupId>org.apache.maven</groupId>
59 <artifactId>maven-project</artifactId>
60 <version>2.0.4</version>
61 </dependency>
62 <dependency>
63 <groupId>org.apache.maven</groupId>
64 <artifactId>maven-artifact</artifactId>
65 <version>2.0.4</version>
66 </dependency>
67 <dependency>
68 <groupId>xerces</groupId>
69 <artifactId>xercesImpl</artifactId>
70 <version>2.9.1</version>
71 </dependency>
72 <dependency>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>org.apache.felix.ipojo.metadata</artifactId>
75 <version>1.4.0</version>
76 </dependency>
77 <dependency>
78 <groupId>org.apache.felix</groupId>
79 <artifactId>org.apache.felix.ipojo.manipulator</artifactId>
Clement Escoffier54689a32012-10-28 13:52:47 +000080 <version>1.9.0-SNAPSHOT</version>
Clement Escoffier6972d2c2012-03-12 09:44:16 +000081 </dependency>
82 </dependencies>
83 <build>
84 <resources>
85 <resource>
86 <directory>src/main/resources</directory>
87 </resource>
88 <resource>
89 <directory>.</directory>
90 <targetPath>META-INF</targetPath>
91 <includes>
92 <include>LICENSE*</include>
93 <include>NOTICE*</include>
94 <include>DEPENDENCIES*</include>
95 </includes>
96 </resource>
97 </resources>
98 <plugins>
99 <plugin>
100 <groupId>org.codehaus.mojo</groupId>
101 <artifactId>rat-maven-plugin</artifactId>
102 <configuration>
103 <excludeSubProjects>false</excludeSubProjects>
104 <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes>
105 <useMavenDefaultExcludes>true</useMavenDefaultExcludes>
106 <excludes>
107 <param>doc/**/*</param>
108 <param>maven-eclipse.xml</param>
109 <param>.checkstyle</param>
110 <param>.externalToolBuilders/*</param>
111 <param>LICENSE.asm</param>
112 <param>**/archetype-resources/**/*</param>
113 <param>**/archetype.xml</param>
114 </excludes>
115 </configuration>
116 </plugin>
117 <plugin>
118 <groupId>org.apache.maven.plugins</groupId>
119 <artifactId>maven-checkstyle-plugin</artifactId>
120 <configuration>
121 <enableRulesSummary>false</enableRulesSummary>
122 <violationSeverity>warning</violationSeverity>
123 <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation>
124 </configuration>
125 </plugin>
126 <plugin>
127 <groupId>org.apache.maven.plugins</groupId>
128 <artifactId>maven-compiler-plugin</artifactId>
129 <configuration>
130 <source>1.5</source>
131 <target>1.5</target>
132 </configuration>
133 </plugin>
134 </plugins>
135 </build>
Clement Escoffier195bb8f2011-12-06 15:04:44 +0000136
137 <profiles>
138 <profile>
139 <id>release</id>
140 <build>
141 <plugins>
142 <plugin>
143 <groupId>org.apache.maven.plugins</groupId>
144 <artifactId>maven-javadoc-plugin</artifactId>
145 <executions>
146 <execution>
147 <id>attach-javadocs</id>
148 <goals>
149 <goal>jar</goal>
150 </goals>
151 </execution>
152 </executions>
153 </plugin>
154 </plugins>
155 </build>
156 </profile>
157 </profiles>
Clement Escoffierbf9cacd2011-12-03 09:11:15 +0000158</project>