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 | --> |
Clement Escoffier | b08497e | 2012-03-30 08:40:33 +0000 | [diff] [blame] | 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"> |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 20 | <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 Escoffier | bf9cacd | 2011-12-03 09:11:15 +0000 | [diff] [blame] | 31 | |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 32 | <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 Escoffier | bf9cacd | 2011-12-03 09:11:15 +0000 | [diff] [blame] | 38 | |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 39 | <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> |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.apache.felix</groupId> |
| 77 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 78 | </dependency> |
| 79 | </dependencies> |
Guillaume Sauthier | 5dbe4dc | 2014-03-13 12:45:43 +0000 | [diff] [blame] | 80 | |
| 81 | <dependencyManagement> |
| 82 | <dependencies> |
| 83 | <dependency> |
| 84 | <groupId>org.apache.felix</groupId> |
| 85 | <artifactId>ipojo-manipulator-bom</artifactId> |
| 86 | <version>${project.version}</version> |
| 87 | <type>pom</type> |
| 88 | <scope>import</scope> |
| 89 | </dependency> |
| 90 | </dependencies> |
| 91 | </dependencyManagement> |
| 92 | |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 93 | <build> |
Clement Escoffier | ed4ca02 | 2013-03-13 15:27:20 +0000 | [diff] [blame] | 94 | |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 95 | <plugins> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 99 | <version>2.10</version> |
| 100 | <configuration> |
| 101 | <enableRulesSummary>false</enableRulesSummary> |
| 102 | <violationSeverity>warning</violationSeverity> |
| 103 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | <plugin> |
| 107 | <groupId>org.apache.maven.plugins</groupId> |
| 108 | <artifactId>maven-compiler-plugin</artifactId> |
| 109 | <configuration> |
| 110 | <source>1.5</source> |
| 111 | <target>1.5</target> |
| 112 | </configuration> |
| 113 | </plugin> |
| 114 | |
| 115 | <plugin> |
| 116 | <groupId>org.apache.rat</groupId> |
| 117 | <artifactId>apache-rat-plugin</artifactId> |
| 118 | <executions> |
| 119 | <execution> |
| 120 | <phase>verify</phase> |
| 121 | <goals> |
| 122 | <goal>check</goal> |
| 123 | </goals> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | <configuration> |
| 127 | <!-- check src only (except remote resources additions) --> |
| 128 | <includes> |
| 129 | <include>src/**</include> |
| 130 | </includes> |
| 131 | <excludes> |
| 132 | <exclude>src/main/appended-resources/**</exclude> |
| 133 | <!-- exclude the archetype --> |
| 134 | <exclude>src/main/resources/archetype-resources/**</exclude> |
| 135 | </excludes> |
| 136 | </configuration> |
| 137 | </plugin> |
| 138 | </plugins> |
| 139 | </build> |
| 140 | |
| 141 | <profiles> |
| 142 | <profile> |
| 143 | <id>release</id> |
| 144 | <build> |
Clement Escoffier | 6972d2c | 2012-03-12 09:44:16 +0000 | [diff] [blame] | 145 | <plugins> |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-javadoc-plugin</artifactId> |
| 149 | <executions> |
| 150 | <execution> |
| 151 | <id>attach-javadocs</id> |
| 152 | <goals> |
| 153 | <goal>jar</goal> |
| 154 | </goals> |
| 155 | </execution> |
| 156 | </executions> |
| 157 | </plugin> |
Clement Escoffier | 6972d2c | 2012-03-12 09:44:16 +0000 | [diff] [blame] | 158 | </plugins> |
Guillaume Sauthier | be546d8 | 2014-03-13 11:12:08 +0000 | [diff] [blame] | 159 | </build> |
| 160 | </profile> |
| 161 | </profiles> |
Clement Escoffier | bf9cacd | 2011-12-03 09:11:15 +0000 | [diff] [blame] | 162 | </project> |