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>
|
||||
<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>
|
||||
|
||||
|
||||
|
||||
<!-- 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).
|
||||
The parameter is only understood by jdk 1.8, so we set it only when jdk 1.8 is used -->
|
||||
<profile>
|
||||
|
@ -29,27 +65,27 @@
|
|||
This profile enables the generation fo the source package
|
||||
-->
|
||||
<profile>
|
||||
<id>generate-distribution-packages</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>generateDistribution</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-source-package</id>
|
||||
<phase>install</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<id>generate-distribution-packages</id>
|
||||
<activation>
|
||||
<property>
|
||||
<name>generateDistribution</name>
|
||||
<value>true</value>
|
||||
</property>
|
||||
</activation>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-source-package</id>
|
||||
<phase>install</phase>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
|
||||
|
||||
|
@ -164,8 +200,7 @@
|
|||
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
||||
<plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>2.6</version>
|
||||
|
|
Loading…
Reference in New Issue