Guillaume Nodet | b142458 | 2014-03-31 16:18:17 +0000 | [diff] [blame^] | 1 | <!-- |
| 2 | |
| 3 | Licensed to the Apache Software Foundation (ASF) under one or more |
| 4 | contributor license agreements. See the NOTICE file distributed with |
| 5 | this work for additional information regarding copyright ownership. |
| 6 | The ASF licenses this file to You under the Apache License, Version 2.0 |
| 7 | (the "License"); you may not use this file except in compliance with |
| 8 | 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, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
| 17 | --> |
| 18 | <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"> |
| 19 | <parent> |
| 20 | <groupId>org.sonatype.oss</groupId> |
| 21 | <artifactId>oss-parent</artifactId> |
| 22 | <version>7</version> |
| 23 | </parent> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <packaging>bundle</packaging> |
| 26 | <name>Pojo Service Registry</name> |
| 27 | <groupId>com.googlecode.pojosr</groupId> |
| 28 | <artifactId>de.kalpatec.pojosr.framework</artifactId> |
| 29 | <version>0.3.0-SNAPSHOT</version> |
| 30 | <description>A service registry that enables OSGi style service registry programs without using an OSGi framework.</description> |
| 31 | <url>http://pojosr.googlecode.com/</url> |
| 32 | <licenses> |
| 33 | <license> |
| 34 | <name>The Apache Software License, Version 2.0</name> |
| 35 | <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| 36 | <distribution>repo</distribution> |
| 37 | </license> |
| 38 | </licenses> |
| 39 | <scm> |
| 40 | <url>http://pojosr.googlecode.com/svn/trunk/</url> |
| 41 | <connection>scm:svn:http://pojosr.googlecode.com/svn/trunk/framework/</connection> |
| 42 | <developerConnection>scm:svn:https://pojosr.googlecode.com/svn/trunk/framework/</developerConnection> |
| 43 | </scm> |
| 44 | <developers> |
| 45 | <developer> |
| 46 | <id>karlpauls</id> |
| 47 | <name>Karl Pauls</name> |
| 48 | <email>karlpauls@gmail.com</email> |
| 49 | </developer> |
| 50 | </developers> |
| 51 | <dependencies> |
| 52 | <dependency> |
| 53 | <groupId>org.osgi</groupId> |
| 54 | <artifactId>org.osgi.core</artifactId> |
| 55 | <version>4.3.1</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.osgi</groupId> |
| 59 | <artifactId>org.osgi.compendium</artifactId> |
| 60 | <version>4.2.0</version> |
| 61 | </dependency> |
| 62 | </dependencies> |
| 63 | <repositories /> |
| 64 | <pluginRepositories /> |
| 65 | <build> |
| 66 | <plugins> |
| 67 | <plugin> |
| 68 | <groupId>org.apache.maven.plugins</groupId> |
| 69 | <artifactId>maven-release-plugin</artifactId> |
| 70 | <configuration> |
| 71 | <tagBase>https://pojosr.googlecode.com/svn/tags</tagBase> |
| 72 | </configuration> |
| 73 | </plugin> |
| 74 | <plugin> |
| 75 | <groupId>org.apache.maven.plugins</groupId> |
| 76 | <artifactId>maven-compiler-plugin</artifactId> |
| 77 | <configuration> |
| 78 | <target>1.5</target> |
| 79 | <source>1.5</source> |
| 80 | </configuration> |
| 81 | </plugin> |
| 82 | <plugin> |
| 83 | <groupId>org.apache.maven.plugins</groupId> |
| 84 | <artifactId>maven-source-plugin</artifactId> |
| 85 | <version>2.1.2</version> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>attach-sources</id> |
| 89 | <phase>verify</phase> |
| 90 | <goals> |
| 91 | <goal>jar-no-fork</goal> |
| 92 | </goals> |
| 93 | </execution> |
| 94 | </executions> |
| 95 | </plugin> |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-javadoc-plugin</artifactId> |
| 99 | <version>2.8</version> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>attach-javadoc</id> |
| 103 | <phase>verify</phase> |
| 104 | <goals> |
| 105 | <goal>jar</goal> |
| 106 | </goals> |
| 107 | </execution> |
| 108 | </executions> |
| 109 | </plugin> |
| 110 | <plugin> |
| 111 | <groupId>org.apache.felix</groupId> |
| 112 | <artifactId>maven-bundle-plugin</artifactId> |
| 113 | <version>2.3.4</version> |
| 114 | <extensions>true</extensions> |
| 115 | <configuration> |
| 116 | <instructions> |
| 117 | <Bundle-SymbolicName>de.kalpatec.pojosr.framework</Bundle-SymbolicName> |
| 118 | <Bundle-Name>Pojo Service Registry</Bundle-Name> |
| 119 | <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor> |
| 120 | <Private-Package>org.osgi.framework.*, org.osgi.service.url, org.osgi.service.packageadmin, org.osgi.service.startlevel, org.osgi.util.tracker, de.kalpatec.pojosr.framework.*</Private-Package> |
| 121 | <Import-Package>!*</Import-Package> |
| 122 | <Include-Resource>META-INF/LICENSE=LICENSE,META-INF/NOTICE=NOTICE,META-INF/DEPENDENCIES=DEPENDENCIES,{src/main/resources/}</Include-Resource> |
| 123 | <Main-Class>de.kalpatec.pojosr.framework.PojoSR</Main-Class> |
| 124 | </instructions> |
| 125 | </configuration> |
| 126 | </plugin> |
| 127 | </plugins> |
| 128 | <resources> |
| 129 | <resource> |
| 130 | <directory>src/main/resources</directory> |
| 131 | <filtering>true</filtering> |
| 132 | </resource> |
| 133 | <resource> |
| 134 | <directory>.</directory> |
| 135 | <targetPath>META-INF</targetPath> |
| 136 | <includes> |
| 137 | <include>LICENSE*</include> |
| 138 | <include>NOTICE*</include> |
| 139 | <include>DEPENDENCIES*</include> |
| 140 | </includes> |
| 141 | </resource> |
| 142 | </resources> |
| 143 | </build> |
| 144 | </project> |