Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
1.5.0.20180217
  • Loading branch information
JoeKerouac authored Apr 13, 2018
2 parents fe94bac + cdb238f commit c9b9ab0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 32 deletions.
2 changes: 1 addition & 1 deletion jarslink-api/deploy.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
mvn clean deploy
mvn clean deploy -P deploy
70 changes: 39 additions & 31 deletions jarslink-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,35 +106,6 @@
</dependencies>
<build>
<plugins>
<!-- maven -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
Expand Down Expand Up @@ -176,8 +147,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
Expand Down Expand Up @@ -264,6 +235,7 @@
</plugin>
</plugins>
</build>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
Expand All @@ -275,7 +247,43 @@
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<profiles>
<profile>
<!--deploy profile-->
<id>deploy</id>
<build>
<plugins>
<!-- maven -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ public void shouldUpdateModule() {
moduleConfig.setVersion("1.1");
abstractModuleRefreshSchedulerImpl.setModuleConfigs(ImmutableList.of(moduleConfig));
abstractModuleRefreshSchedulerImpl.run();
moduleManager.activeVersion(moduleConfig.getName(), moduleConfig.getVersion());
demo = moduleManager.find(moduleConfig.getName());
Assert.assertEquals(moduleConfig.getVersion(), demo.getVersion());

Expand Down

0 comments on commit c9b9ab0

Please sign in to comment.