Clement Escoffier | bf9cacd | 2011-12-03 09:11:15 +0000 | [diff] [blame^] | 1 | <!-- |
| 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 | --> |
| 19 | <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"> |
| 20 | <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> |
| 28 | <groupId>org.apache.felix</groupId> |
| 29 | <version>1.9.0-SNAPSHOT</version> |
| 30 | <name>Apache Felix iPOJO Maven Plugin</name> |
| 31 | <packaging>maven-plugin</packaging> |
| 32 | |
| 33 | <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> |
| 39 | |
| 40 | <dependencies> |
| 41 | <dependency> |
| 42 | <groupId>org.apache.maven</groupId> |
| 43 | <artifactId>maven-plugin-api</artifactId> |
| 44 | <version>2.0</version> |
| 45 | <scope>compile</scope> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.apache.maven</groupId> |
| 49 | <artifactId>maven-archiver</artifactId> |
| 50 | <version>2.0</version> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.codehaus.plexus</groupId> |
| 54 | <artifactId>plexus-utils</artifactId> |
| 55 | <version>1.1</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.apache.maven</groupId> |
| 59 | <artifactId>maven-artifact</artifactId> |
| 60 | <version>2.0</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>xerces</groupId> |
| 64 | <artifactId>xercesImpl</artifactId> |
| 65 | <version>2.9.1</version> |
| 66 | </dependency> |
| 67 | <dependency> |
| 68 | <groupId>org.apache.felix</groupId> |
| 69 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| 70 | <version>1.4.0</version> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.apache.felix</groupId> |
| 74 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 75 | <version>1.9.0-SNAPSHOT</version> |
| 76 | </dependency> |
| 77 | </dependencies> |
| 78 | <build> |
| 79 | <resources> |
| 80 | <resource> |
| 81 | <directory>src/main/resources</directory> |
| 82 | </resource> |
| 83 | <resource> |
| 84 | <directory>.</directory> |
| 85 | <targetPath>META-INF</targetPath> |
| 86 | <includes> |
| 87 | <include>LICENSE*</include> |
| 88 | <include>NOTICE*</include> |
| 89 | <include>DEPENDENCIES*</include> |
| 90 | </includes> |
| 91 | </resource> |
| 92 | </resources> |
| 93 | <plugins> |
| 94 | <plugin> |
| 95 | <groupId>org.codehaus.mojo</groupId> |
| 96 | <artifactId>rat-maven-plugin</artifactId> |
| 97 | <configuration> |
| 98 | <excludeSubProjects>false</excludeSubProjects> |
| 99 | <useEclipseDefaultExcludes>true</useEclipseDefaultExcludes> |
| 100 | <useMavenDefaultExcludes>true</useMavenDefaultExcludes> |
| 101 | <excludes> |
| 102 | <param>doc/**/*</param> |
| 103 | <param>maven-eclipse.xml</param> |
| 104 | <param>.checkstyle</param> |
| 105 | <param>.externalToolBuilders/*</param> |
| 106 | <param>LICENSE.asm</param> |
| 107 | <param>**/archetype-resources/**/*</param> |
| 108 | <param>**/archetype.xml</param> |
| 109 | </excludes> |
| 110 | </configuration> |
| 111 | </plugin> |
| 112 | <plugin> |
| 113 | <groupId>org.apache.maven.plugins</groupId> |
| 114 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 115 | <configuration> |
| 116 | <enableRulesSummary>false</enableRulesSummary> |
| 117 | <violationSeverity>warning</violationSeverity> |
| 118 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 119 | </configuration> |
| 120 | </plugin> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-compiler-plugin</artifactId> |
| 124 | <configuration> |
| 125 | <source>1.5</source> |
| 126 | <target>1.5</target> |
| 127 | </configuration> |
| 128 | </plugin> |
| 129 | </plugins> |
| 130 | </build> |
| 131 | </project> |