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