Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
MontiSecArc
Commits
dbea2f0d
Commit
dbea2f0d
authored
Mar 25, 2015
by
Lars Hermerschmidt
Browse files
using nexus-staging-maven-plugin for release
parent
cb610143
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/pom.xml
View file @
dbea2f0d
...
...
@@ -9,7 +9,7 @@
<groupId>
de.se_rwth.montisecarc
</groupId>
<artifactId>
montiSecArc
</artifactId>
<version>
0.0.
9
-SNAPSHOT
</version>
<version>
0.0.
10
-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<name>
MontiSecArc
</name>
...
...
@@ -25,6 +25,7 @@
<wagon.provider.version>
2.6
</wagon.provider.version>
<clarc.version>
0.0.14
</clarc.version>
<maven.javadoc.failOnError>
false
</maven.javadoc.failOnError>
<maven-deploy-plugin.version>
2.8.2
</maven-deploy-plugin.version>
</properties>
<!-- <modules>
...
...
@@ -34,7 +35,9 @@
</modules>-->
<scm>
<connection>
scm:git:https://sselab.de/lab2/private/git/MontiSecArc
</connection>
<developerConnection>
scm:git:https://sselab.de/lab2/private/git/MontiSecArc
</developerConnection>
<url>
https://sselab.de/lab2/private/git/MontiSecArc
</url>
<tag>
HEAD
</tag>
</scm>
...
...
@@ -44,10 +47,12 @@
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-release-plugin
</artifactId>
<version>
2.3.2
</version>
<!-- <configuration>
<tagNameFormat>MontiSecArc-@{project.version}</tagNameFormat>
</configuration>-->
<version>
2.4.2
</version>
<configuration>
<tagNameFormat>
v@{project.version}
</tagNameFormat>
<autoVersionSubmodules>
true
</autoVersionSubmodules>
<releaseProfiles>
releases
</releaseProfiles>
</configuration>
</plugin>
<plugin>
...
...
@@ -128,6 +133,35 @@
</executions>-->
</plugin>
<!-- use nexus-staging-maven-plugin instead of default deploy plugin -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
${maven-deploy-plugin.version}
</version>
<configuration>
<skip>
true
</skip>
</configuration>
</plugin>
<plugin>
<groupId>
org.sonatype.plugins
</groupId>
<artifactId>
nexus-staging-maven-plugin
</artifactId>
<version>
1.5.1
</version>
<executions>
<execution>
<id>
default-deploy
</id>
<phase>
deploy
</phase>
<goals>
<goal>
deploy
</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>
nexus
</serverId>
<nexusUrl>
http://localhost:8081/nexus/
</nexusUrl>
<skipStaging>
true
</skipStaging>
</configuration>
</plugin>
<!-- fix Java8 Javadoc Bug
<plugin>
<groupId>org.apache.maven.plugins</groupId>
...
...
@@ -156,6 +190,35 @@
</extensions>
</build>
<profiles>
<profile>
<id>
releases
</id>
<build>
<plugins>
<plugin>
<groupId>
org.sonatype.plugins
</groupId>
<artifactId>
nexus-staging-maven-plugin
</artifactId>
<version>
1.5.1
</version>
<executions>
<execution>
<id>
default-deploy
</id>
<phase>
deploy
</phase>
<goals>
<goal>
deploy
</goal>
</goals>
</execution>
</executions>
<configuration>
<serverId>
se-nexus
</serverId>
<nexusUrl>
http://lab11.se.rwth-aachen.de/nexus/
</nexusUrl>
<skipStaging>
true
</skipStaging>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment