Commit fa956844 authored by Matteo Melli's avatar Matteo Melli

Remove dependencies from build-tools

Reduce number of artifacts to publish to maven central
parent afe38ef5
......@@ -31,6 +31,6 @@ You only have to include this dependency in your parent pom:
<parent>
<groupId>com.ongres</groupId>
<artifactId>build-parent</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</parent>
```
\ No newline at end of file
......@@ -5,7 +5,7 @@
<groupId>com.ongres</groupId>
<artifactId>build-parent</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
<packaging>pom</packaging>
<name>ongres: build parent pom</name>
......@@ -198,7 +198,7 @@
<artifactItem>
<groupId>com.ongres</groupId>
<artifactId>build-resources</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/build-resources</outputDirectory>
......@@ -270,7 +270,7 @@
<dependency>
<groupId>com.ongres</groupId>
<artifactId>build-resources</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
</dependency>
</dependencies>
</plugin>
......
......@@ -3,15 +3,13 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.ongres</groupId>
<artifactId>build-tools</artifactId>
<version>1.0.3</version>
</parent>
<groupId>com.ongres</groupId>
<artifactId>build-resources</artifactId>
<version>1.0.4</version>
<packaging>jar</packaging>
<name>ongres: build-resources</name>
<description>Build resources pom for any project</description>
<inceptionYear>2019</inceptionYear>
......
......@@ -5,11 +5,10 @@
<groupId>com.ongres</groupId>
<artifactId>build-tools</artifactId>
<version>1.0.3</version>
<version>1.0.4</version>
<packaging>pom</packaging>
<name>ongres: build-tools</name>
<description>Build tools pom for any project</description>
<inceptionYear>2019</inceptionYear>
......@@ -60,78 +59,4 @@
<module>build-resources</module>
<module>build-parent</module>
</modules>
<profiles>
<profile>
<id>release</id>
<build>
<plugins>
<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>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment