-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from kieler/prepare-maven-release
Prepare maven release
- Loading branch information
Showing
10 changed files
with
162 additions
and
15 deletions.
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
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
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
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
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<modelVersion>4.0.0</modelVersion> | ||
<groupId>de.cau.cs.kieler.swt.mock</groupId> | ||
<artifactId>parent</artifactId> | ||
<version>0.1.0-SNAPSHOT</version> | ||
<version>0.1.0</version> | ||
<packaging>pom</packaging> | ||
|
||
<modules> | ||
|
@@ -23,15 +23,127 @@ | |
<maven.compiler.encoding>UTF-8</maven.compiler.encoding> | ||
</properties> | ||
|
||
<!-- Further required information for publishing on OSSRH, see https://central.sonatype.org/publish/requirements/ --> | ||
<name>Mock for Standard Widget Toolkit - Parent</name> | ||
<description>The parent configuration for multiple mock artifacts of SWT and UI-based code with no implementation or platform dependence.</description> | ||
<url>https://github.com/kieler/SWT-Mock/</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>EPL-2.0</name> | ||
<url>https://www.eclipse.org/legal/epl-2.0/</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Niklas Rentz</name> | ||
<email>[email protected]</email> | ||
<organization>Kiel University</organization> | ||
<organizationUrl>https://www.rtsys.informatik.uni-kiel.de/</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com:kieler/SWT-Mock.git</connection> | ||
<developerConnection>scm:git:ssh://github.com:kieler/SWT-Mock.git</developerConnection> | ||
<url>https://github.com/kieler/SWT-Mock/</url> | ||
</scm> | ||
|
||
<!-- while deploying, put the compiled artifact into the following (local) repository --> | ||
<distributionManagement> | ||
<!-- <distributionManagement> | ||
<repository> | ||
<id>internal-repo-for-downstream-usage</id> | ||
<url>file://swt-mock</url> | ||
</repository> | ||
</distributionManagement> --> | ||
<!-- While releasing or building snapshots, deploy them to OSSRH --> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>ossrh</id> | ||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>ossrh</id> | ||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
|
||
|
||
|
||
<profiles> | ||
<profile> | ||
<id>release</id> | ||
<build> | ||
<plugins> | ||
<!-- Configure the nexus server to deploy to. --> | ||
<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://s01.oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>false</autoReleaseAfterClose> <!-- this allows to manually inspect the staging repository: https://central.sonatype.org/publish/release/ | ||
trigger a release later with `mvn nexus-staging:release` or set to true if no inspection is wanted.--> | ||
</configuration> | ||
</plugin> | ||
|
||
<!-- Sign all artifacts with GPG. --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
<configuration> | ||
<keyname>0x22228C2E</keyname> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</profile> | ||
</profiles> | ||
|
||
<build> | ||
<sourceDirectory>src</sourceDirectory> | ||
|
||
<plugins> | ||
<!-- Build source and Javadoc jars --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-source-plugin</artifactId> | ||
<version>3.2.1</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>3.5.0</version> | ||
<executions> | ||
<execution> | ||
<id>attach-javadocs</id> | ||
<goals> | ||
<goal>jar</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |