Przeglądaj źródła

Issue-#426: Standardize release procedure (WIP)

pull/429/head
Hiroshi Ukai 1 rok temu
rodzic
commit
ba615429af
1 zmienionych plików z 53 dodań i 45 usunięć
  1. 53
    45
      pom.xml

+ 53
- 45
pom.xml Wyświetl plik

<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> <modelVersion>4.0.0</modelVersion>
<groupId>com.github.dakusui</groupId> <groupId>com.github.dakusui</groupId>
<artifactId>javassist</artifactId> <artifactId>javassist</artifactId>
<maven-bundle-plugin.version>3.3.0</maven-bundle-plugin.version> <maven-bundle-plugin.version>3.3.0</maven-bundle-plugin.version>
<junit.version>[4.13.1,)</junit.version> <junit.version>[4.13.1,)</junit.version>
<hamcrest-all.version>1.3</hamcrest-all.version> <hamcrest-all.version>1.3</hamcrest-all.version>
<github.global.server>github</github.global.server>
</properties> </properties>

<organization> <organization>
<name>Shigeru Chiba, www.javassist.org</name> <name>Shigeru Chiba, www.javassist.org</name>
</organization> </organization>
<system>JIRA</system> <system>JIRA</system>
<url>https://jira.jboss.org/jira/browse/JASSIST/</url> <url>https://jira.jboss.org/jira/browse/JASSIST/</url>
</issueManagement> </issueManagement>

<licenses> <licenses>
<!-- this is the license under which javassist is usually distributed <!-- this is the license under which javassist is usually distributed
--> -->
</licenses> </licenses>


<scm> <scm>
<connection>scm:git:git@github.com:jboss-javassist/javassist.git
<connection>scm:git:git@github.com:jboss-javassist/${project.name}.git
</connection> </connection>
<developerConnection> <developerConnection>
scm:git:git@github.com:jboss-javassist/javassist.git
scm:git:git@github.com:jboss-javassist/${project.name}.git
</developerConnection> </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> <developers>
<developer> <developer>


</developers> </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> <build>
<plugins> <plugins>
<plugin> <plugin>
</plugin> </plugin>
</plugins> </plugins>
</build> </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> <profiles>
<!-- profile for releasing to sonatype repo <!-- profile for releasing to sonatype repo
exercise with mvn -PcentralRelease exercise with mvn -PcentralRelease

Ładowanie…
Anuluj
Zapisz