Commit cb9f7112 authored by Matija Obreza's avatar Matija Obreza
Browse files

Build profiles, Project URL, Dev info added to pom.xml

parent 6e0d5d00
......@@ -25,6 +25,7 @@
<packaging>pom</packaging>
<name>Application Blocks parent pom</name>
<description>This is the main project pom.</description>
<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......@@ -149,66 +150,6 @@
</plugins>
</build>
<profiles>
<profile>
<id>normal</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</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>2.10.3</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.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<!-- Logging dependencies -->
<dependency>
......
......@@ -22,6 +22,7 @@
<packaging>pom</packaging>
<name>Application Building Blocks</name>
<description>This is the shared project pom.</description>
<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks</url>
<licenses>
<license>
......@@ -30,6 +31,15 @@
</license>
</licenses>
<developers>
<developer>
<name>Matija Obreza</name>
<email>matija.obreza@croptrust.org</email>
<organization>Global Crop Diversity Trust</organization>
<organizationUrl>http://www.croptrust.org</organizationUrl>
</developer>
</developers>
<organization>
<name>Global Crop Diversity Trust</name>
<url>https://www.croptrust.org</url>
......@@ -47,8 +57,7 @@
<system>Gitlab</system>
</issueManagement>
<properties>
</properties>
<properties></properties>
<modules>
<module>parent</module>
......@@ -58,7 +67,6 @@
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
......@@ -75,7 +83,7 @@
</execution>
</executions>
<configuration>
<check />
<check/>
<formats>
<format>html</format>
</formats>
......@@ -104,6 +112,67 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>normal</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>release</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</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>2.10.3</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.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
......
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