Add pluginRepositories section.
This commit is contained in:
parent
ddda8653fe
commit
d325bf6b93
87
pom.xml
87
pom.xml
|
@ -8,11 +8,47 @@
|
||||||
<version>1.1.0</version>
|
<version>1.1.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
<!-- Plugin repos are common across the profiles -->
|
||||||
|
<pluginRepositories>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>gcube-snapshots</id>
|
||||||
|
<name>gCube Snapshots</name>
|
||||||
|
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-snapshots</url>
|
||||||
|
<releases>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</releases>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</snapshots>
|
||||||
|
</pluginRepository>
|
||||||
|
<pluginRepository>
|
||||||
|
<id>gcube-releases</id>
|
||||||
|
<name>gCube Releases</name>
|
||||||
|
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-releases</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</pluginRepository>
|
||||||
|
|
||||||
|
<pluginRepository>
|
||||||
|
<id>gcube-externals</id>
|
||||||
|
<name>gCube Externals</name>
|
||||||
|
<url>http://maven.research-infrastructures.eu/nexus/content/repositories/gcube-externals</url>
|
||||||
|
<snapshots>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
</snapshots>
|
||||||
|
<releases>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</releases>
|
||||||
|
</pluginRepository>
|
||||||
|
</pluginRepositories>
|
||||||
|
|
||||||
<profiles>
|
<profiles>
|
||||||
|
|
||||||
|
<!-- this profile sets an additional parameter for javadoc generation that disable the doclint (it makes
|
||||||
|
|
||||||
<!-- this profile sets an additional parameter for javadoc generation that disable the doclint (it makes
|
|
||||||
component build fail if formal/syntax errors are found in javadoc comments).
|
component build fail if formal/syntax errors are found in javadoc comments).
|
||||||
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
||||||
<profile>
|
<profile>
|
||||||
|
@ -29,27 +65,27 @@
|
||||||
This profile enables the generation fo the source package
|
This profile enables the generation fo the source package
|
||||||
-->
|
-->
|
||||||
<profile>
|
<profile>
|
||||||
<id>generate-distribution-packages</id>
|
<id>generate-distribution-packages</id>
|
||||||
<activation>
|
<activation>
|
||||||
<property>
|
<property>
|
||||||
<name>generateDistribution</name>
|
<name>generateDistribution</name>
|
||||||
<value>true</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>make-source-package</id>
|
<id>make-source-package</id>
|
||||||
<phase>install</phase>
|
<phase>install</phase>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,8 +200,7 @@
|
||||||
|
|
||||||
<pluginManagement>
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
<version>2.6</version>
|
<version>2.6</version>
|
||||||
|
|
Loading…
Reference in New Issue