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

merge-requests/1/head
mharindu 9 years ago
parent a3cd9feeb0
commit ec1170afc6

@ -17,20 +17,18 @@
~ 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/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-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2iots</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<packaging>pom</packaging>
<name>WSO2 IoT Server - Distribution</name>
<description>WSO2 IoT Server Distribution</description>
@ -106,26 +104,21 @@
</goals>
<configuration>
<tasks>
<echo message="########### Create Device Management H2 Schema ###########"/>
<echo message="########### Create Device Management H2 Schema ###########" />
<property name="db.dir"
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
<property name="userid" value="wso2carbon"/>
<property name="password" value="wso2carbon"/>
<property name="dbURL"
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE"/>
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
<property name="userid" value="wso2carbon" />
<property name="password" value="wso2carbon" />
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE" />
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}"
password="${password}"
autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath"/>
<classpath refid="maven.compile.classpath"/>
<classpath refid="maven.runtime.classpath"/>
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath" />
<classpath refid="maven.compile.classpath" />
<classpath refid="maven.runtime.classpath" />
<fileset
file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/h2.sql"/>
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/h2.sql" />
</sql>
<echo message="##################### END ####################"/>
<echo message="##################### END ####################" />
</tasks>
</configuration>
</execution>
@ -138,26 +131,21 @@
</goals>
<configuration>
<tasks>
<echo message="########### Create API Management H2 Schema ###########"/>
<echo message="########### Create API Management H2 Schema ###########" />
<property name="db.dir"
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
<property name="userid" value="wso2carbon"/>
<property name="password" value="wso2carbon"/>
<property name="dbURL"
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE"/>
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
<property name="userid" value="wso2carbon" />
<property name="password" value="wso2carbon" />
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE" />
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}"
password="${password}"
autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath"/>
<classpath refid="maven.compile.classpath"/>
<classpath refid="maven.runtime.classpath"/>
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
<classpath refid="maven.dependency.classpath" />
<classpath refid="maven.compile.classpath" />
<classpath refid="maven.runtime.classpath" />
<fileset
file="${basedir}/src/repository/resources/dbscripts/apimgt/h2.sql"/>
<fileset file="${basedir}/src/repository/resources/dbscripts/apimgt/h2.sql" />
</sql>
<echo message="##################### END ####################"/>
<echo message="##################### END ####################" />
</tasks>
</configuration>
</execution>
@ -169,23 +157,21 @@
</goals>
<configuration>
<tasks>
<property name="tempdir" value="target/docs-temp"/>
<property name="jardir" value="target/jars"/>
<property name="tempdir" value="target/docs-temp" />
<property name="jardir" value="target/jars" />
<!--<property name="shindig.version" value="2.5.0-beta5" />-->
<mkdir dir="${tempdir}"/>
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/components"/>
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server"/>
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server/webapps"/>
<mkdir dir="${tempdir}" />
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/components" />
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server" />
<mkdir dir="${tempdir}/${project.artifactId}-${project.version}/repository/deployment/server/webapps" />
<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.version}/repository/components"
overwrite="true">
<fileset
dir="${tempdir}/${project.artifactId}-${project.version}/repository/components"/>
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components" overwrite="true">
<fileset dir="${tempdir}/${project.artifactId}-${project.version}/repository/components" />
</copy>
<!--testing -->
<!--<unzip src="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" dest="${jardir}/shindig-common-${shindig.version}">
@ -206,8 +192,8 @@ d <exclude name="**/shindig.properties" /
og4j.logger.net.sf.ehcache=ERROR
</concat>
<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>
@ -217,33 +203,31 @@ d <exclude name="**/shindig.properties" /
<phase>package</phase>
<configuration>
<tasks>
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps"/>
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps" />
<!--Make samples directory for distribution-->
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/samples"/>
<mkdir dir="target/wso2carbon-core-${carbon.kernel.version}/samples" />
<!--Copy samples to distribution-->
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples"
overwrite="true">
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/samples" overwrite="true">
<fileset dir="../samples">
<exclude name="**/*.iml"/>
<exclude name="**/.DS_Store"/>
<exclude name="**/target/"/>
<exclude name="**/currentsensor/**"/>
<exclude name="**/digitaldisplay/**"/>
<exclude name="**/doormanager/**"/>
<exclude name="**/droneanalyzer/**"/>
<exclude name="**/firealarm/**"/>
<exclude name="**/installer/**"/>
<exclude name="**/*.iml" />
<exclude name="**/.DS_Store" />
<exclude name="**/target/" />
<exclude name="**/currentsensor/**" />
<exclude name="**/digitaldisplay/**" />
<exclude name="**/doormanager/**" />
<exclude name="**/droneanalyzer/**" />
<exclude name="**/firealarm/**" />
<exclude name="**/installer/**" />
</fileset>
</copy>
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/"
overwrite="true">
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/" overwrite="true">
<fileset dir="../samples/installer/">
<exclude name="**/*.iml"/>
<exclude name="**/.DS_Store"/>
<exclude name="**/target/"/>
<exclude name="**/*.iml" />
<exclude name="**/.DS_Store" />
<exclude name="**/target/" />
</fileset>
</copy>
@ -269,20 +253,20 @@ d <exclude name="**/shindig.properties" /
<phase>install</phase>
<configuration>
<tasks>
<delete dir="target/jars"/>
<delete dir="target/*.xml"/>
<delete dir="target/archive-tmp"/>
<delete dir="target/dependency-maven-plugin-markers"/>
<delete dir="target/maven-archiver"/>
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
<delete dir="target/wso2carbon-core-${carbon.kernel.version}"/>
<delete file="target/${project.artifactId}-${project.version}.jar"/>
<delete dir="target/sources"/>
<delete dir="target/site"/>
<delete dir="target/antrun"/>
<delete dir="src/site"/>
<delete dir="target/jars" />
<delete dir="target/*.xml" />
<delete dir="target/archive-tmp" />
<delete dir="target/dependency-maven-plugin-markers" />
<delete dir="target/maven-archiver" />
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
<delete dir="target/wso2carbon-core-${carbon.kernel.version}" />
<delete file="target/${project.artifactId}-${project.version}.jar" />
<delete dir="target/sources" />
<delete dir="target/site" />
<delete dir="target/antrun" />
<delete dir="src/site" />
<!--<delete dir="target/shindig" />-->
<delete dir="target/jaxwebapps"/>
<delete dir="target/jaxwebapps" />
</tasks>
</configuration>
<goals>

@ -17,14 +17,12 @@
~ 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-features</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -38,7 +36,7 @@
<dependency>
<groupId>org.wso2.iot</groupId>
<artifactId>org.wso2.iot.admin.styles</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
</dependency>
</dependencies>
@ -70,8 +68,8 @@
<bundles>
<bundleDef>org.wso2.iot:org.wso2.iot.admin.styles</bundleDef>
</bundles>
<importBundles/>
<importFeatures/>
<importBundles />
<importFeatures />
</configuration>
</execution>
</executions>

@ -17,14 +17,12 @@
~ 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-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>

@ -22,7 +22,7 @@
<parent>
<artifactId>das-extensions</artifactId>
<groupId>org.wso2.iot</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -21,7 +21,7 @@
<parent>
<artifactId>das-extensions</artifactId>
<groupId>org.wso2.iot</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

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

@ -22,7 +22,7 @@
<parent>
<artifactId>mb-extensions</artifactId>
<groupId>org.wso2.iot</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

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

@ -23,7 +23,7 @@
<parent>
<artifactId>das-extensions-feature</artifactId>
<groupId>org.wso2.iot</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -22,13 +22,13 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>iot-extensions</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>das-extensions-feature</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<packaging>pom</packaging>
<name>WSO2 Carbon - Device Management, DAS Extensions Feature</name>
<url>http://wso2.org</url>

@ -23,7 +23,7 @@
<parent>
<artifactId>mb-extensions-feature</artifactId>
<groupId>org.wso2.iot</groupId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>

@ -22,13 +22,13 @@
<parent>
<groupId>org.wso2.iot</groupId>
<artifactId>iot-extensions</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>mb-extensions-feature</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<packaging>pom</packaging>
<name>WSO2 Carbon - Device Management, MB Extensions Feature</name>
<url>http://wso2.org</url>

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

@ -16,21 +16,19 @@
~ 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-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>org.wso2.iot.admin.styles</artifactId>
<packaging>bundle</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<name>WSO2 IoT Server - UI styles</name>
<url>http://wso2.org</url>

@ -18,13 +18,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/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-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
@ -1515,9 +1513,8 @@
<phase>package</phase>
<configuration>
<tasks>
<replace token="false" value="true"
dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
<include name="**/bundles.info"/>
<replace token="false" value="true" dir="target/wso2carbon-core-${carbon.kernel.version}/repository/components">
<include name="**/bundles.info" />
</replace>
</tasks>
</configuration>

@ -16,17 +16,16 @@
~ specific language governing permissions and limitations
~ 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>wso2cdmf-tools</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>cdmf-devicetype-archetype</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<name>WSO2 CDMF Device Type Archetype</name>
<description>WSO2 CDMF Device Type Archetype</description>
<packaging>maven-archetype</packaging>

@ -17,20 +17,18 @@
~ 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-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>wso2cdmf-tools</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-alpha</version>
<name>WSO2 CDMF Tools</name>
<url>http://maven.apache.org</url>
<modules>

@ -17,15 +17,13 @@
~ 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">
<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-alpha</version>
<name>WSO2 IoT Server - Parent</name>
<url>http://wso2.org</url>
<description>WSO2 IoT Server</description>
@ -1121,7 +1119,7 @@
<carbon.device.mgt.version.range>[0.8.0, 2.0.0)</carbon.device.mgt.version.range>
<!-- IOT Device Management -->
<carbon.iot.device.mgt.version>1.0.0-SNAPSHOT</carbon.iot.device.mgt.version>
<carbon.iot.device.mgt.version>1.0.0-alpha</carbon.iot.device.mgt.version>
<!-- Carbon Device Management Plugins-->
<carbon.device.mgt.plugin.version>2.1.0</carbon.device.mgt.plugin.version>
@ -1217,7 +1215,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-alpha</tag>
</scm>
<build>

Loading…
Cancel
Save