Browse Source

Issue-#426: Standardize release procedure (WIP)

pull/429/head
Hiroshi Ukai 1 year ago
parent
commit
ba615429af
1 changed files with 53 additions and 45 deletions
  1. 53
    45
      pom.xml

+ 53
- 45
pom.xml View File

@@ -1,4 +1,6 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.dakusui</groupId>
<artifactId>javassist</artifactId>
@@ -26,7 +28,9 @@
<maven-bundle-plugin.version>3.3.0</maven-bundle-plugin.version>
<junit.version>[4.13.1,)</junit.version>
<hamcrest-all.version>1.3</hamcrest-all.version>
<github.global.server>github</github.global.server>
</properties>

<organization>
<name>Shigeru Chiba, www.javassist.org</name>
</organization>
@@ -35,6 +39,7 @@
<system>JIRA</system>
<url>https://jira.jboss.org/jira/browse/JASSIST/</url>
</issueManagement>

<licenses>
<!-- this is the license under which javassist is usually distributed
-->
@@ -58,14 +63,14 @@
</licenses>

<scm>
<connection>scm:git:git@github.com:jboss-javassist/javassist.git
<connection>scm:git:git@github.com:jboss-javassist/${project.name}.git
</connection>
<developerConnection>
scm:git:git@github.com:jboss-javassist/javassist.git
scm:git:git@github.com:jboss-javassist/${project.name}.git
</developerConnection>
<url>scm:git:git@github.com:jboss-javassist/javassist.git</url>
<tag>javassist-0.0.1-GA</tag>
</scm>
<url>http://www.javassist.org/</url>
<tag>${project.name}-${project.version}</tag>
</scm>

<developers>
<developer>
@@ -119,45 +124,6 @@

</developers>

<distributionManagement>
<!--
You need entries in your .m2/settings.xml like this:
<servers>
<server>
<id>jboss-releases-repository</id>
<username>your_jboss.org_username</username>
<password>password</password>
</server>
<server>
<id>jboss-snapshots-repository</id>
<username>your_jboss.org_username</username>
<password>password</password>
</server>
</servers>

To deploy a snapshot, you need to run

mvn deploy -Dversion=3.x.y-SNAPSHOT

To deploy a release you need to change the version to 3.x.y-GA and run

mvn deploy
-->
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Releases Repository</name>
<url>
https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
</url>
</repository>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>
https://repository.jboss.org/nexus/content/repositories/snapshots/
</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
<plugin>
@@ -268,6 +234,48 @@ Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
</plugin>
</plugins>
</build>


<distributionManagement>
<!--
You need entries in your .m2/settings.xml like this:
<servers>
<server>
<id>jboss-releases-repository</id>
<username>your_jboss.org_username</username>
<password>password</password>
</server>
<server>
<id>jboss-snapshots-repository</id>
<username>your_jboss.org_username</username>
<password>password</password>
</server>
</servers>

To deploy a snapshot, you need to run

mvn deploy -Dversion=3.x.y-SNAPSHOT

To deploy a release you need to change the version to 3.x.y-GA and run

mvn deploy
-->
<repository>
<id>jboss-releases-repository</id>
<name>JBoss Releases Repository</name>
<url>
https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/
</url>
</repository>
<snapshotRepository>
<id>jboss-snapshots-repository</id>
<name>JBoss Snapshots Repository</name>
<url>
https://repository.jboss.org/nexus/content/repositories/snapshots/
</url>
</snapshotRepository>
</distributionManagement>

<profiles>
<!-- profile for releasing to sonatype repo
exercise with mvn -PcentralRelease

Loading…
Cancel
Save