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 @@ ...@@ -25,6 +25,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Application Blocks parent pom</name> <name>Application Blocks parent pom</name>
<description>This is the main project pom.</description> <description>This is the main project pom.</description>
<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks</url>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
...@@ -149,66 +150,6 @@ ...@@ -149,66 +150,6 @@
</plugins> </plugins>
</build> </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> <dependencies>
<!-- Logging dependencies --> <!-- Logging dependencies -->
<dependency> <dependency>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Application Building Blocks</name> <name>Application Building Blocks</name>
<description>This is the shared project pom.</description> <description>This is the shared project pom.</description>
<url>https://gitlab.croptrust.org/genesys-pgr/application-blocks</url>
<licenses> <licenses>
<license> <license>
...@@ -30,6 +31,15 @@ ...@@ -30,6 +31,15 @@
</license> </license>
</licenses> </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> <organization>
<name>Global Crop Diversity Trust</name> <name>Global Crop Diversity Trust</name>
<url>https://www.croptrust.org</url> <url>https://www.croptrust.org</url>
...@@ -47,8 +57,7 @@ ...@@ -47,8 +57,7 @@
<system>Gitlab</system> <system>Gitlab</system>
</issueManagement> </issueManagement>
<properties> <properties></properties>
</properties>
<modules> <modules>
<module>parent</module> <module>parent</module>
...@@ -58,7 +67,6 @@ ...@@ -58,7 +67,6 @@
</modules> </modules>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
<plugin> <plugin>
...@@ -75,7 +83,7 @@ ...@@ -75,7 +83,7 @@
</execution> </execution>
</executions> </executions>
<configuration> <configuration>
<check /> <check/>
<formats> <formats>
<format>html</format> <format>html</format>
</formats> </formats>
...@@ -104,6 +112,67 @@ ...@@ -104,6 +112,67 @@
</plugin> </plugin>
</plugins> </plugins>
</build> </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> <reporting>
<plugins> <plugins>
<plugin> <plugin>
......
Supports Markdown
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