Skip to content

Commit

Permalink
[maven-release-plugin] prepare release v3.1.0-m1
Browse files Browse the repository at this point in the history
  • Loading branch information
wso2-jenkins-bot committed Jan 29, 2020
1 parent 01ed7e3 commit 1b29841
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 45 deletions.
2 changes: 1 addition & 1 deletion components/micro-gateway-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<artifactId>components</artifactId>
<groupId>org.wso2.am.microgw</groupId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
8 changes: 2 additions & 6 deletions components/micro-gateway-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>components</artifactId>
<groupId>org.wso2.am.microgw</groupId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -160,11 +160,7 @@
</goals>
<configuration>
<tasks>
<replaceregexp
file="src/main/ballerina/Ballerina.toml"
match="org\.wso2\.micro\.gateway\.core-.*.jar"
replace="org.wso2.micro.gateway.core-${project.version}.jar"
byline="true"/>
<replaceregexp file="src/main/ballerina/Ballerina.toml" match="org\.wso2\.micro\.gateway\.core-.*.jar" replace="org.wso2.micro.gateway.core-${project.version}.jar" byline="true" />
</tasks>
</configuration>
</execution>
Expand Down
2 changes: 1 addition & 1 deletion components/micro-gateway-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>components</artifactId>
<groupId>org.wso2.am.microgw</groupId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
2 changes: 1 addition & 1 deletion components/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<parent>
<groupId>org.wso2.am.microgw</groupId>
<artifactId>micro-gateway-parent</artifactId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
14 changes: 5 additions & 9 deletions distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.am.microgw</groupId>
<artifactId>micro-gateway-parent</artifactId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -218,12 +218,8 @@
<configuration>
<target>
<!-- download file -->
<get src="https://product-dist.wso2.com/downloads/in-place/release/update.zip"
dest="${project.build.directory}/update.zip"
verbose="false"
usetimestamp="true"/>
<unzip src="${project.build.directory}/update.zip"
dest="${project.build.directory}" />
<get src="https://product-dist.wso2.com/downloads/in-place/release/update.zip" dest="${project.build.directory}/update.zip" verbose="false" usetimestamp="true" />
<unzip src="${project.build.directory}/update.zip" dest="${project.build.directory}" />
</target>
</configuration>
</execution>
Expand All @@ -246,7 +242,7 @@
<!-- <phase>generate-resources</phase>-->
<!-- <configuration>-->
<!-- <tasks>-->
<!-- <unzip src="${basedir}/../components/micro-gateway-core/target/org.wso2.micro.gateway.core-${project.version}-jms.zip" dest="${project.build.directory}/jms-artifact"/>-->
<!-- <unzip src="${basedir}/../components/micro-gateway-core/target/org.wso2.micro.gateway.core-${project.version}-jms.zip" dest="${project.build.directory}/jms-artifact" />-->
<!-- </tasks>-->
<!-- </configuration>-->
<!-- <goals>-->
Expand Down Expand Up @@ -277,7 +273,7 @@
</goals>
<configuration>
<target>
<move todir="${project.build.directory}/lib/jar" flatten="true" >
<move todir="${project.build.directory}/lib/jar" flatten="true">
<fileset dir="${project.build.directory}/lib/gw">
<include name="**/*.jar" />
</fileset>
Expand Down
26 changes: 2 additions & 24 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<groupId>org.wso2.am.microgw</groupId>
<artifactId>micro-gateway-parent</artifactId>
<packaging>pom</packaging>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
<name>Micro Gateway - Parent</name>

<url>http://wso2.org</url>
Expand All @@ -36,7 +36,7 @@
<url>https://github.com/wso2/product-microgateway.git</url>
<developerConnection>scm:git:https://github.com/wso2/product-microgateway.git</developerConnection>
<connection>scm:git:https://github.com/wso2/product-microgateway.git</connection>
<tag>HEAD</tag>
<tag>v3.1.0-m1</tag>
</scm>

<parent>
Expand Down Expand Up @@ -420,28 +420,6 @@
<skip>true</skip>
</configuration>
</plugin>
<!-- start - jenkins exclusion -->
<plugin>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-maven-plugin</artifactId>
<version>${maven.spotbugs.version}</version>
<configuration>
<effort>Max</effort>
<threshold>Low</threshold>
<xmlOutput>true</xmlOutput>
<spotbugsXmlOutputDirectory>${project.build.directory}/spotbugs</spotbugsXmlOutputDirectory>
</configuration>
<executions>
<execution>
<id>analyze-compile</id>
<phase>compile</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- end - jenkins exclusion -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<artifactId>micro-gateway-parent</artifactId>
<groupId>org.wso2.am.microgw</groupId>
<version>3.1.0-SNAPSHOT</version>
<version>3.1.0-m1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down Expand Up @@ -181,8 +181,8 @@
<tasks>
<unzip src="${basedir}/../distribution/target/wso2am-micro-gw-toolkit-${project.version}.zip" dest="${basedir}/../tests/target/micro-gwtmp" />
<unzip src="${basedir}/../distribution/target/wso2am-micro-gw-${host.os}-${project.version}.zip" dest="${basedir}/../tests/target/micro-gwtmp" />
<chmod file="${basedir}/../tests/target/micro-gwtmp/wso2am-micro-gw-${host.os}-${project.version}/bin/*" perm="+x"/>
<chmod file="${basedir}/../tests/target/micro-gwtmp/wso2am-micro-gw-${host.os}-${project.version}/lib/jdk8u202-b08-jre/bin/*" perm="+x"/>
<chmod file="${basedir}/../tests/target/micro-gwtmp/wso2am-micro-gw-${host.os}-${project.version}/bin/*" perm="+x" />
<chmod file="${basedir}/../tests/target/micro-gwtmp/wso2am-micro-gw-${host.os}-${project.version}/lib/jdk8u202-b08-jre/bin/*" perm="+x" />
</tasks>
</configuration>
<goals>
Expand Down

0 comments on commit 1b29841

Please sign in to comment.