|
@@ -30,6 +30,11 @@
|
|
|
<name>Ambari Views</name>
|
|
|
<version>1.3.0-SNAPSHOT</version>
|
|
|
<description>Ambari View interfaces.</description>
|
|
|
+ <url>http://ambari.apache.org/</url>
|
|
|
+ <scm>
|
|
|
+ <url>https://github.com/apache/ambari</url>
|
|
|
+ <connection>https://git-wip-us.apache.org/repos/asf/ambari.git</connection>
|
|
|
+ </scm>
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
@@ -121,7 +126,6 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
-
|
|
|
<plugin>
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
@@ -152,7 +156,80 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+ <!-- Generate the -sources.jar file that is required by Apache Maven in order to host this project
|
|
|
+ on a remote repo. -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-source-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-sources</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <!-- Generate the -javadoc.jar file that is required by Apache Maven in order to host this project
|
|
|
+ on a remote repo. -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-javadoc-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>attach-javadocs</id>
|
|
|
+ <goals>
|
|
|
+ <goal>jar</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ <!-- Sign the build artifacts with the PGP key. Note that PGP must be installed and in the search path.
|
|
|
+ See https://docs.sonatype.org/display/Repository/How+To+Generate+PGP+Signatures+With+Maven -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.apache.maven.plugins</groupId>
|
|
|
+ <artifactId>maven-gpg-plugin</artifactId>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <id>sign-artifacts</id>
|
|
|
+ <phase>verify</phase>
|
|
|
+ <goals>
|
|
|
+ <goal>sign</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
+ <profiles>
|
|
|
+ <!-- This profile exists to only sign the build artifacts when making a release candidate
|
|
|
+ instead of a SNAPSHOT. -->
|
|
|
+ <profile>
|
|
|
+ <id>release-sign-artifacts</id>
|
|
|
+ <activation>
|
|
|
+ <property>
|
|
|
+ <name>performRelease</name>
|
|
|
+ <value>true</value>
|
|
|
+ </property>
|
|
|
+ </activation>
|
|
|
+ <build>
|
|
|
+ <plugins>
|
|
|
+ <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>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
</project>
|
|
|
-
|