-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added required plugins and information to pom
- Loading branch information
Showing
2 changed files
with
120 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,4 +166,123 @@ | |
</dependencies> | ||
</dependencyManagement> | ||
|
||
<!-- START - Setup for deployment to maven repository --> | ||
|
||
<!-- Project name, Description, URL; inherited by default --> | ||
<name>${project.groupId}:${project.artifactId}</name> <!-- Assembling name from project and artifact id--> | ||
<description>Qanary component template package</description> | ||
<url>https://github.com/WDAqua/Qanary/</url> | ||
|
||
<!-- Set up distribution management (for maven deploy plugin) --> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots/</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
<!-- Source-Control-Management information (SCM) --> | ||
<scm> | ||
<connection>scm:git:git://github.com/WDAqua/Qanary.git</connection> | ||
<developerConnection>scm:git:ssh://github.com/WDAqua/Qanary.git</developerConnection> | ||
<url>https://github.com/WDAqua/Qanary</url> | ||
</scm> | ||
|
||
<!-- Developer information, inherited by default --> | ||
<developers> | ||
<developer> | ||
<name>Andreas Both</name> | ||
<email>[email protected]</email> | ||
<organization>WDAqua</organization> | ||
<organizationUrl>http://wdaqua.eu/</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<!-- Licence information, inherited by default --> | ||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> <!-- Example for Apache2 Licence --> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <!-- Example for Apache2 Licence --> | ||
</license> | ||
</licenses> | ||
|
||
<!-- --> | ||
<!-- END - Setup for deployment to maven repository --> | ||
|
||
<build> | ||
<plugins> | ||
<!-- Deployment/Release related plugins --> | ||
<plugin> | ||
<artifactId>maven-release-plugin</artifactId> | ||
<version>3.0.1</version> | ||
<configuration> | ||
<tagNameFormat>@{project.artifactId}-@{project.version}</tagNameFormat> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.13</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>ossrh</serverId> | ||
<nexusUrl>https://oss.sonatype.org</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- Signing the artifact --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>3.2.0</version> | ||
<configuration> | ||
<gpgArguments> | ||
<arg>--pinentry-mode</arg> | ||
<arg>loopback</arg> | ||
</gpgArguments> | ||
</configuration> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
|
||
<!-- Required for maven repository deployment --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<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> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
</project> |