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

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

@ -17,13 +17,12 @@
~ under the License. ~ under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>org.wso2.iot</groupId> <groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId> <artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

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

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

@ -18,13 +18,12 @@
~ under the License. ~ under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>org.wso2.iot</groupId> <groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId> <artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

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

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

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

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

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

@ -17,13 +17,12 @@
~ under the License. ~ under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <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">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <parent>
<groupId>org.wso2.iot</groupId> <groupId>org.wso2.iot</groupId>
<artifactId>wso2iot-parent</artifactId> <artifactId>wso2iot-parent</artifactId>
<version>1.0.0-SNAPSHOT</version> <version>1.0.0-ALPHA2</version>
<relativePath>../../pom.xml</relativePath> <relativePath>../../pom.xml</relativePath>
</parent> </parent>

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

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

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

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

Loading…
Cancel
Save