Clement Escoffier | 4f2609b | 2013-03-20 07:35:37 +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" |
| 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>2.1</version> |
| 25 | <relativePath>../../../pom/pom.xml</relativePath> |
| 26 | </parent> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <packaging>bundle</packaging> |
| 29 | <name>Apache Felix iPOJO - Online Manipulator</name> |
| 30 | <artifactId>org.apache.felix.ipojo.manipulator.online</artifactId> |
| 31 | <version>1.9.0-SNAPSHOT</version> |
| 32 | |
| 33 | <description> |
| 34 | iPOJO online manipulator allowing install time manipulation of iPOJO bundle. |
| 35 | </description> |
| 36 | <url>http://felix.apache.org/site/apache-felix-ipojo-online-manipulator.html</url> |
| 37 | |
| 38 | <properties> |
| 39 | <ipojo.import.packages>[1.8.0,2.0.0)</ipojo.import.packages> |
| 40 | <ipojo.manipulator.version>${project.version}</ipojo.manipulator.version> |
| 41 | </properties> |
| 42 | |
| 43 | <dependencies> |
| 44 | <dependency> |
| 45 | <groupId>org.osgi</groupId> |
| 46 | <artifactId>org.osgi.core</artifactId> |
| 47 | <version>4.3.1</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.osgi</groupId> |
| 51 | <artifactId>org.osgi.compendium</artifactId> |
| 52 | <version>4.0.0</version> |
| 53 | </dependency> |
| 54 | <dependency> |
| 55 | <groupId>org.apache.felix</groupId> |
| 56 | <artifactId>org.apache.felix.ipojo.metadata</artifactId> |
| 57 | <version>1.6.0</version> |
| 58 | </dependency> |
| 59 | <dependency> |
| 60 | <groupId>org.apache.felix</groupId> |
| 61 | <artifactId>org.apache.felix.ipojo.manipulator</artifactId> |
| 62 | <version>${project.version}</version> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>asm</groupId> |
| 66 | <artifactId>asm-all</artifactId> |
| 67 | <version>3.3.1</version> |
| 68 | <exclusions> |
| 69 | <exclusion> |
| 70 | <groupId>asm</groupId> |
| 71 | <artifactId>asm-tree</artifactId> |
| 72 | </exclusion> |
| 73 | </exclusions> |
| 74 | </dependency> |
| 75 | <dependency> |
| 76 | <groupId>org.mockito</groupId> |
| 77 | <artifactId>mockito-all</artifactId> |
| 78 | <version>1.9.5</version> |
| 79 | <scope>test</scope> |
| 80 | </dependency> |
| 81 | </dependencies> |
| 82 | <build> |
| 83 | <resources> |
| 84 | <resource> |
| 85 | <directory>src/main/resources</directory> |
| 86 | <filtering>true</filtering> |
| 87 | </resource> |
| 88 | </resources> |
| 89 | <plugins> |
| 90 | <plugin> |
| 91 | <groupId>org.apache.maven.plugins</groupId> |
| 92 | <artifactId>maven-compiler-plugin</artifactId> |
| 93 | <version>3.0</version> |
| 94 | <configuration> |
| 95 | <target>1.5</target> |
| 96 | <source>1.5</source> |
| 97 | <testTarget>1.5</testTarget> |
| 98 | <testSource>1.5</testSource> |
| 99 | </configuration> |
| 100 | </plugin> |
| 101 | <plugin> |
| 102 | <groupId>org.apache.felix</groupId> |
| 103 | <artifactId>maven-bundle-plugin</artifactId> |
| 104 | <version>2.3.7</version> |
| 105 | <extensions>true</extensions> |
| 106 | <configuration> |
| 107 | <instructions> |
| 108 | <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| 109 | <Private-Package>org.apache.felix.ipojo.online.manipulator</Private-Package> |
| 110 | <Bundle-DocURL> |
| 111 | http://felix.apache.org/site/apache-felix-ipojo-online-manipulator.html |
| 112 | </Bundle-DocURL> |
| 113 | <Export-Package> |
| 114 | org.apache.felix.ipojo.manipulation*; version="${ipojo.manipulator.version}", |
| 115 | org.apache.felix.ipojo.xml.parser; version="${ipojo.manipulator.version}", |
| 116 | org.apache.felix.ipojo.manipulator*; version="${ipojo.manipulator.version}", |
| 117 | org.apache.felix.ipojo.annotations*; version="${ipojo.manipulator.version}", |
| 118 | </Export-Package> |
| 119 | <Private-Package> |
| 120 | org.objectweb.asm, |
| 121 | org.objectweb.asm.commons, |
| 122 | org.objectweb.asm.signature, |
| 123 | org.objectweb.asm.tree, |
| 124 | org.apache.felix.ipojo.online.manipulator |
| 125 | </Private-Package> |
| 126 | <Import-Package>!sun.io, org.osgi.framework;version=1.3, * |
| 127 | </Import-Package> |
| 128 | </instructions> |
| 129 | </configuration> |
| 130 | </plugin> |
| 131 | <plugin> |
| 132 | <groupId>org.apache.felix</groupId> |
| 133 | <artifactId>maven-ipojo-plugin</artifactId> |
| 134 | <version>1.9.0-SNAPSHOT</version> |
| 135 | <executions> |
| 136 | <execution> |
| 137 | <goals> |
| 138 | <goal>ipojo-bundle</goal> |
| 139 | </goals> |
| 140 | <configuration> |
| 141 | <ignoreAnnotations>true</ignoreAnnotations> |
| 142 | </configuration> |
| 143 | </execution> |
| 144 | </executions> |
| 145 | </plugin> |
| 146 | <plugin> |
| 147 | <groupId>org.apache.maven.plugins</groupId> |
| 148 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 149 | <configuration> |
| 150 | <enableRulesSummary>false</enableRulesSummary> |
| 151 | <violationSeverity>warning</violationSeverity> |
| 152 | <configLocation>http://felix.apache.org/ipojo/dev/checkstyle_ipojo.xml</configLocation> |
| 153 | </configuration> |
| 154 | </plugin> |
| 155 | <plugin> |
| 156 | <groupId>org.apache.rat</groupId> |
| 157 | <artifactId>apache-rat-plugin</artifactId> |
| 158 | <executions> |
| 159 | <execution> |
| 160 | <phase>verify</phase> |
| 161 | <goals> |
| 162 | <goal>check</goal> |
| 163 | </goals> |
| 164 | </execution> |
| 165 | </executions> |
| 166 | <configuration> |
| 167 | <!-- check src only (except remote resources additions) --> |
| 168 | <includes> |
| 169 | <include>src/**</include> |
| 170 | </includes> |
| 171 | <excludes> |
| 172 | <exclude>src/main/appended-resources/**</exclude> |
| 173 | <exclude>src/main/resources/META-INF/**</exclude> |
| 174 | </excludes> |
| 175 | </configuration> |
| 176 | </plugin> |
| 177 | </plugins> |
| 178 | </build> |
| 179 | </project> |