Add sonatype parent for maven repository publication.

pull/30/head
Brett Wooldridge 11 years ago
parent 3861c17b40
commit d197e37aed

@ -40,13 +40,19 @@
</developer> </developer>
</developers> </developers>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<felix.bundle.plugin.version>2.4.0</felix.bundle.plugin.version> <felix.bundle.plugin.version>2.4.0</felix.bundle.plugin.version>
<felix.version>4.2.1</felix.version> <felix.version>4.2.1</felix.version>
<pax.exam.version>3.4.0</pax.exam.version> <pax.exam.version>3.4.0</pax.exam.version>
<pax.url.version>1.6.0</pax.url.version> <pax.url.version>1.6.0</pax.url.version>
</properties> </properties>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<dependencies> <dependencies>
<dependency> <dependency>
@ -130,40 +136,40 @@
<!-- OSGi test --> <!-- OSGi test -->
<dependency> <dependency>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId> <artifactId>org.apache.felix.framework</artifactId>
<version>${felix.version}</version> <version>${felix.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ops4j.pax.exam</groupId> <groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-container-native</artifactId> <artifactId>pax-exam-container-native</artifactId>
<version>${pax.exam.version}</version> <version>${pax.exam.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ops4j.pax.exam</groupId> <groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-junit4</artifactId> <artifactId>pax-exam-junit4</artifactId>
<version>${pax.exam.version}</version> <version>${pax.exam.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ops4j.pax.exam</groupId> <groupId>org.ops4j.pax.exam</groupId>
<artifactId>pax-exam-link-mvn</artifactId> <artifactId>pax-exam-link-mvn</artifactId>
<version>${pax.exam.version}</version> <version>${pax.exam.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ops4j.pax.url</groupId> <groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-aether</artifactId> <artifactId>pax-url-aether</artifactId>
<version>${pax.url.version}</version> <version>${pax.url.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ops4j.pax.url</groupId> <groupId>org.ops4j.pax.url</groupId>
<artifactId>pax-url-reference</artifactId> <artifactId>pax-url-reference</artifactId>
<version>${pax.url.version}</version> <version>${pax.url.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
@ -211,23 +217,21 @@
</instructions> </instructions>
</configuration> </configuration>
<executions> <executions>
<!-- <!-- This execution makes sure that the manifest is available
This execution makes sure that the manifest is available when the tests are executed -->
when the tests are executed <execution>
--> <goals>
<execution> <goal>manifest</goal>
<goals> </goals>
<goal>manifest</goal> </execution>
</goals> </executions>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version> <version>2.2.1</version>
<configuration> <configuration>
<!-- outputDirectory>/absolute/path/to/the/output/directory</outputDirectory> <!-- outputDirectory>/absolute/path/to/the/output/directory</outputDirectory>
<finalName>filename-of-generated-jar-file</finalName --> <finalName>filename-of-generated-jar-file</finalName -->
<attach>true</attach> <attach>true</attach>
</configuration> </configuration>
@ -261,7 +265,8 @@
</plugins> </plugins>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <!--This plugin's configuration is used to store Eclipse m2e
settings only. It has no influence on the Maven build itself. -->
<plugin> <plugin>
<groupId>org.eclipse.m2e</groupId> <groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId> <artifactId>lifecycle-mapping</artifactId>
@ -321,28 +326,27 @@
</build> </build>
</profile> </profile>
<profile> <profile>
<id>felix</id> <id>felix</id>
<activation> <activation>
<activeByDefault>true</activeByDefault> <activeByDefault>true</activeByDefault>
<property> <property>
<name>pax.exam.framework</name> <name>pax.exam.framework</name>
<value>felix</value> <value>felix</value>
</property> </property>
</activation> </activation>
<properties> <properties>
<pax.exam.framework>felix</pax.exam.framework> <pax.exam.framework>felix</pax.exam.framework>
<pax.exam.logging>none</pax.exam.logging> <pax.exam.logging>none</pax.exam.logging>
</properties> </properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId> <artifactId>org.apache.felix.framework</artifactId>
<version>${felix.version}</version> <version>${felix.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
</dependencies> </dependencies>
</profile> </profile>
</profiles> </profiles>
</project> </project>

Loading…
Cancel
Save