[maven-release-plugin] prepare release v1.0.0-ALPHA2

merge-requests/1/head v1.0.0-ALPHA2
WSO2 Builder 8 years ago
parent 196b4889d3
commit 80aaefe75f

@ -16,13 +16,12 @@
~ specific language governing permissions and limitations
~ under the License.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-analytics-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -93,21 +92,19 @@
</goals>
<configuration>
<tasks>
<property name="tempdir" value="target/docs-temp"/>
<mkdir dir="${tempdir}"/>
<property name="tempdir" value="target/docs-temp" />
<mkdir dir="${tempdir}" />
<unzip dest="${tempdir}">
<fileset dir="target">
<include name="${project.artifactId}-${project.version}.zip"/>
<include name="${project.artifactId}-${project.version}.zip" />
</fileset>
</unzip>
<copy todir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components"
overwrite="true">
<fileset
dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
<copy todir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components" overwrite="true">
<fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components">
</fileset>
</copy>
<delete file="target/${project.artifactId}-${project.version}.zip"/>
<delete dir="${tempdir}"/>
<delete file="target/${project.artifactId}-${project.version}.zip" />
<delete dir="${tempdir}" />
</tasks>
</configuration>
</execution>
@ -119,40 +116,24 @@
<tasks>
<!-- commenting "GetAllRolesOfUserEnabled" property to fix
https://wso2.org/jira/browse/IDENTITY-3489 -->
<replace
file="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/user-mgt.xml"
token="&lt;Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property&gt;"
value="&lt;!--Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property--&gt;"/>
<replace file="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/user-mgt.xml" token="&lt;Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property&gt;" value="&lt;!--Property name=&quot;GetAllRolesOfUserEnabled&quot;&gt;true&lt;/Property--&gt;" />
<!-- Move IS UI to configure menu -->
<property name="tempdir2" value="target/identity-ui"/>
<mkdir dir="${tempdir2}"/>
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar"
dest="${tempdir2}"/>
<replace file="${tempdir2}/META-INF/component.xml"
token="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;"
value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;"/>
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar"
basedir="${tempdir2}"/>
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar"
dest="${tempdir3}"/>
<replace file="${tempdir3}/META-INF/component.xml"
token="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;"
value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;"/>
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar"
basedir="${tempdir3}"/>
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar"
dest="${tempdir4}"/>
<replace file="${tempdir4}/META-INF/component.xml"
token="&lt;parent-menu&gt;manage_menu&lt;/parent-menu&gt;"
value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;"/>
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar"
basedir="${tempdir4}"/>
<concat destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/etc/logging-bridge.properties"
append="true" fixlastline="true">org.restlet.level=SEVERE
<property name="tempdir2" value="target/identity-ui" />
<mkdir dir="${tempdir2}" />
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" dest="${tempdir2}" />
<replace file="${tempdir2}/META-INF/component.xml" token="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.user.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir2}" />
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" dest="${tempdir3}" />
<replace file="${tempdir3}/META-INF/component.xml" token="&lt;parent-menu&gt;identity_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.identity.user.store.configuration.ui_${identity.jar.version}.jar" basedir="${tempdir3}" />
<unzip src="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" dest="${tempdir4}" />
<replace file="${tempdir4}/META-INF/component.xml" token="&lt;parent-menu&gt;manage_menu&lt;/parent-menu&gt;" value="&lt;parent-menu&gt;configure_menu&lt;/parent-menu&gt;" />
<zip destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components/plugins/org.wso2.carbon.security.mgt.ui_${identity.jar.version}.jar" basedir="${tempdir4}" />
<concat destfile="target/wso2carbon-core-${carbon.kernel.449.version}/repository/conf/etc/logging-bridge.properties" append="true" fixlastline="true">org.restlet.level=SEVERE
</concat>
<delete dir="${tempdir4}"/>
<delete dir="${tempdir3}"/>
<delete dir="${tempdir2}"/>
<delete dir="${tempdir4}" />
<delete dir="${tempdir3}" />
<delete dir="${tempdir2}" />
</tasks>
</configuration>
<goals>
@ -165,15 +146,15 @@
<phase>install</phase>
<configuration>
<tasks>
<delete dir="target/archive-tmp"/>
<delete dir="target/dependency-maven-plugin-markers"/>
<delete dir="target/maven-archiver"/>
<delete dir="target/wso2carbon-core-${carbon.kernel.449.version}"/>
<delete file="target/${project.artifactId}-${project.version}.jar"/>
<delete dir="target/sources"/>
<delete dir="target/site"/>
<delete dir="src/site"/>
<delete dir="target/identity-ui"/>
<delete dir="target/archive-tmp" />
<delete dir="target/dependency-maven-plugin-markers" />
<delete dir="target/maven-archiver" />
<delete dir="target/wso2carbon-core-${carbon.kernel.449.version}" />
<delete file="target/${project.artifactId}-${project.version}.jar" />
<delete dir="target/sources" />
<delete dir="target/site" />
<delete dir="src/site" />
<delete dir="target/identity-ui" />
</tasks>
</configuration>
<goals>

@ -17,12 +17,11 @@
~ under the License.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-analytics-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -803,9 +802,8 @@
<phase>package</phase>
<configuration>
<tasks>
<replace token="false" value="true"
dir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components">
<include name="**/bundles.info"/>
<replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.449.version}/repository/components">
<include name="**/bundles.info" />
</replace>
</tasks>
</configuration>

@ -17,13 +17,12 @@
~ under the License.
-->
<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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-broker-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -20,7 +20,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-broker-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -18,13 +18,12 @@
~ under the License.
-->
<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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-features</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -21,7 +21,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -17,13 +17,12 @@
~ under the License.
-->
<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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath>
</parent>

@ -20,13 +20,13 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-tools</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>iot-devicetype-archetype</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<name>WSO2 IoT - Device Type Archetype</name>
<description>WSO2 IoT Device Type Archetype</description>
<packaging>maven-archetype</packaging>

@ -21,7 +21,7 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-core-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -17,13 +17,12 @@
~ under the License.
-->
<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/xsd/maven-4.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/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@ -127,10 +126,10 @@
<phase>install</phase>
<configuration>
<tasks>
<delete dir="target/wso2iot-core-${product.iot.version}"/>
<delete dir="target/wso2iot-analytics-${product.iot.analytics.version}"/>
<delete dir="target/wso2iot-broker-${product.iot.broker.version}"/>
<delete file="target/${project.artifactId}-${project.version}.jar"/>
<delete dir="target/wso2iot-core-${product.iot.version}" />
<delete dir="target/wso2iot-analytics-${product.iot.analytics.version}" />
<delete dir="target/wso2iot-broker-${product.iot.broker.version}" />
<delete file="target/${project.artifactId}-${project.version}.jar" />
</tasks>
</configuration>
<goals>

@ -17,14 +17,13 @@
~ under the License.
-->
<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>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-ALPHA2</version>
<name>WSO2 IoT - Parent</name>
<url>http://wso2.org</url>
<description>WSO2 IoT Server</description>
@ -1216,7 +1215,7 @@
<dependency>
<groupId>org.wso2.andes.wso2</groupId>
<artifactId>andes-client</artifactId>
<version>${andes.version}</version>
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.wso2.andes.wso2</groupId>
@ -1547,7 +1546,7 @@
<carbon.device.mgt.version.range>[2.0.0, 3.0.0)</carbon.device.mgt.version.range>
<!-- IOT Device Management -->
<product.iot.version>1.0.0-SNAPSHOT</product.iot.version>
<product.iot.version>1.0.0-ALPHA2</product.iot.version>
<!-- Carbon Device Management Plugins-->
<carbon.device.mgt.plugin.version>3.0.0</carbon.device.mgt.plugin.version>
@ -1697,7 +1696,7 @@
<url>https://github.com/wso2/product-iots.git</url>
<developerConnection>scm:git:https://github.com/wso2/product-iots.git</developerConnection>
<connection>scm:git:https://github.com/wso2/product-iots.git</connection>
<tag>HEAD</tag>
<tag>v1.0.0-ALPHA2</tag>
</scm>
<build>

Loading…
Cancel
Save