Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Issue #16: improve build
Browse files Browse the repository at this point in the history
  • Loading branch information
magnet committed Nov 19, 2017
1 parent a7ca0ab commit 78a23c4
Showing 1 changed file with 18 additions and 109 deletions.
127 changes: 18 additions & 109 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,61 +21,22 @@

<properties>
<primeval-commons.version>1.1.0-SNAPSHOT</primeval-commons.version>
<reactor-core.version>3.1.0.RELEASE</reactor-core.version>
<reactor-core.version>3.1.1.RELEASE</reactor-core.version>
<primeval-3rdparty-bom.version>1.0.0-SNAPSHOT</primeval-3rdparty-bom.version>
</properties>

<dependencies>
<dependency>
<groupId>io.primeval</groupId>
<artifactId>primeval-commons</artifactId>
<version>${primeval-commons.version}</version>
</dependency>

<!-- OSGi -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<version>6.0.0</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.12</version>
<scope>provided</scope>
</dependency>


<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.annotation</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.component.annotations</artifactId>
<version>1.3.0</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.function</artifactId>
<version>1.0.0</version>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.promise</artifactId>
<version>1.0.0</version>
</dependency>


<dependency>
<groupId>org.reactivestreams</groupId>
<artifactId>reactive-streams</artifactId>
<version>1.0.0</version>
<groupId>io.primeval</groupId>
<artifactId>primeval-commons</artifactId>
<version>${primeval-commons.version}</version>
</dependency>

<dependency>
Expand All @@ -84,29 +45,16 @@
<version>${reactor-core.version}</version>
</dependency>


<!-- TEST -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>3.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.jayway.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>1.6.5</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -119,57 +67,18 @@

</dependencies>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>io.primeval</groupId>
<artifactId>primeval-thirdparty-bom</artifactId>
<version>${primeval-3rdparty-bom.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<build>
<plugins>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<executions>
<execution>
<id>generate-javadoc</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<inherited>false</inherited>
</execution>
</executions>
<configuration>
<quiet>true</quiet>
<failOnError>false</failOnError>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

</project>

0 comments on commit 78a23c4

Please sign in to comment.