|
|
@ -17,14 +17,12 @@
|
|
|
|
~ under the License.
|
|
|
|
~ under the License.
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
<project 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/xsd/maven-4.0.0.xsd">
|
|
|
|
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>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.wso2.cdmserver</groupId>
|
|
|
|
<groupId>org.wso2.cdmserver</groupId>
|
|
|
|
<artifactId>wso2cdmserver-product</artifactId>
|
|
|
|
<artifactId>wso2cdmserver-product</artifactId>
|
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
|
|
|
<version>1.0.0</version>
|
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
<relativePath>../../pom.xml</relativePath>
|
|
|
|
</parent>
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
@ -107,29 +105,21 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<echo
|
|
|
|
<echo message="########### Create Device Management H2 Schema ###########" />
|
|
|
|
message="########### Create Device Management H2 Schema ###########"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<property name="db.dir"
|
|
|
|
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
|
|
|
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
|
|
|
|
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="dbURL"
|
|
|
|
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
|
|
|
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2DM_DB;DB_CLOSE_ON_EXIT=FALSE"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sql driver="org.h2.Driver"
|
|
|
|
<sql driver="org.h2.Driver" url="${dbURL}" userid="${userid}" password="${password}" autocommit="true" onerror="continue">
|
|
|
|
url="${dbURL}"
|
|
|
|
|
|
|
|
userid="${userid}" password="${password}"
|
|
|
|
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
|
|
|
|
|
|
|
|
<fileset
|
|
|
|
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/h2.sql" />
|
|
|
|
file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm/h2.sql"/>
|
|
|
|
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<echo
|
|
|
|
<echo message="##################### END ####################" />
|
|
|
|
message="##################### END ####################"/>
|
|
|
|
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
@ -142,29 +132,23 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<echo
|
|
|
|
<echo message="########### Create IDP Management H2 Schema ###########" />
|
|
|
|
message="########### Create IDP Management H2 Schema ###########"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<property name="db.dir"
|
|
|
|
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
|
|
|
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
|
|
|
|
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="dbURL"
|
|
|
|
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
|
|
|
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2CARBON_DB;DB_CLOSE_ON_EXIT=FALSE"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sql driver="org.h2.Driver"
|
|
|
|
<sql driver="org.h2.Driver" url="${dbURL}"
|
|
|
|
url="${dbURL}"
|
|
|
|
|
|
|
|
userid="${userid}" password="${password}"
|
|
|
|
userid="${userid}" password="${password}"
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
|
|
|
|
|
|
|
|
<fileset
|
|
|
|
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/application-mgt/h2.sql" />
|
|
|
|
file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity/application-mgt/h2.sql"/>
|
|
|
|
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<echo
|
|
|
|
<echo message="##################### END ####################" />
|
|
|
|
message="##################### END ####################"/>
|
|
|
|
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</execution>
|
|
|
@ -177,29 +161,23 @@
|
|
|
|
</goals>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<configuration>
|
|
|
|
<tasks>
|
|
|
|
<tasks>
|
|
|
|
<echo
|
|
|
|
<echo message="########### Create API Management H2 Schema ###########" />
|
|
|
|
message="########### Create API Management H2 Schema ###########"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<property name="db.dir"
|
|
|
|
<property name="db.dir" value="target/wso2carbon-core-${carbon.kernel.version}/repository/database" />
|
|
|
|
value="target/wso2carbon-core-${carbon.kernel.version}/repository/database"/>
|
|
|
|
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="userid" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="password" value="wso2carbon" />
|
|
|
|
<property name="dbURL"
|
|
|
|
<property name="dbURL" value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE" />
|
|
|
|
value="jdbc:h2:file:${basedir}/${db.dir}/WSO2AM_DB;DB_CLOSE_ON_EXIT=FALSE"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sql driver="org.h2.Driver"
|
|
|
|
<sql driver="org.h2.Driver" url="${dbURL}"
|
|
|
|
url="${dbURL}"
|
|
|
|
|
|
|
|
userid="${userid}" password="${password}"
|
|
|
|
userid="${userid}" password="${password}"
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
autocommit="true" onerror="continue">
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.dependency.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.compile.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
<classpath refid="maven.runtime.classpath" />
|
|
|
|
|
|
|
|
|
|
|
|
<fileset
|
|
|
|
<fileset file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt/h2.sql" />
|
|
|
|
file="${basedir}/../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt/h2.sql"/>
|
|
|
|
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<echo
|
|
|
|
<echo message="##################### END ####################" />
|
|
|
|
message="##################### END ####################"/>
|
|
|
|
|
|
|
|
</tasks>
|
|
|
|
</tasks>
|
|
|
|
</configuration>
|
|
|
|
</configuration>
|
|
|
|
</execution>-->
|
|
|
|
</execution>-->
|
|
|
@ -224,28 +202,22 @@
|
|
|
|
<include name="wso2cdm-${project.version}.zip" />
|
|
|
|
<include name="wso2cdm-${project.version}.zip" />
|
|
|
|
</fileset>
|
|
|
|
</fileset>
|
|
|
|
</unzip>
|
|
|
|
</unzip>
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components" overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
<fileset dir="${tempdir}/wso2cdm-${project.version}/repository/components" />
|
|
|
|
<fileset
|
|
|
|
|
|
|
|
dir="${tempdir}/wso2cdm-${project.version}/repository/components"></fileset>
|
|
|
|
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
<!--testing -->
|
|
|
|
<!--testing -->
|
|
|
|
<!--<unzip src="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar"
|
|
|
|
<!--<unzip src="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" dest="${jardir}/shindig-common-${shindig.version}">
|
|
|
|
dest="${jardir}/shindig-common-${shindig.version}">
|
|
|
|
|
|
|
|
<patternset>
|
|
|
|
<patternset>
|
|
|
|
<exclude name="**/shindig.properties" />
|
|
|
|
<exclude name="**/shindig.properties" />
|
|
|
|
</patternset>
|
|
|
|
</patternset>
|
|
|
|
</unzip>
|
|
|
|
</unzip>
|
|
|
|
<copy file="src/repository/conf/shindig.properties"
|
|
|
|
<copy file="src/repository/conf/shindig.properties" todir="${jardir}/shindig-common-${shindig.version}" />
|
|
|
|
todir="${jardir}/shindig-common-${shindig.version}"/>
|
|
|
|
|
|
|
|
<delete file="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" />
|
|
|
|
<delete file="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" />
|
|
|
|
<zip destfile="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar"
|
|
|
|
<zip destfile="target/shindig/WEB-INF/lib/shindig-common-${shindig.version}.jar" basedir="${jardir}/shindig-common-${shindig.version}" />
|
|
|
|
basedir="${jardir}/shindig-common-${shindig.version}"/>
|
|
|
|
|
|
|
|
<delete>
|
|
|
|
<delete>
|
|
|
|
<fileset dir="target/shindig/WEB-INF/lib" includes="slf4j*" />
|
|
|
|
<fileset dir="target/shindig/WEB-INF/lib" includes="slf4j*" />
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<copy file="src/repository/resources/shindig/index.jsp"
|
|
|
|
<copy file="src/repository/resources/shindig/index.jsp" todir="target/shindig" />-->
|
|
|
|
todir="target/shindig"/>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<concat destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/log4j.properties">
|
|
|
|
<concat destfile="target/wso2carbon-core-${carbon.kernel.version}/repository/log4j.properties">
|
|
|
|
og4j.logger.net.sf.ehcache=ERROR
|
|
|
|
og4j.logger.net.sf.ehcache=ERROR
|
|
|
@ -263,17 +235,14 @@
|
|
|
|
<tasks>
|
|
|
|
<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" />
|
|
|
|
|
|
|
|
|
|
|
|
<!--<copy todir="target/wso2carbon-core-${carbon.kernel.version}/modules"
|
|
|
|
<!--<copy todir="target/wso2carbon-core-${carbon.kernel.version}/modules" overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
|
|
|
|
<fileset dir="src/repository/modules"></fileset>
|
|
|
|
<fileset dir="src/repository/modules"></fileset>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/jaggeryapps" overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
|
|
|
|
<fileset dir="../apps"></fileset>
|
|
|
|
<fileset dir="../apps"></fileset>
|
|
|
|
</copy>
|
|
|
|
</copy>
|
|
|
|
|
|
|
|
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins"
|
|
|
|
<copy todir="target/wso2carbon-core-${carbon.kernel.version}/repository/components/plugins" overwrite="true">
|
|
|
|
overwrite="true">
|
|
|
|
|
|
|
|
<fileset dir="src/repository/components/patches/apimgt"></fileset>
|
|
|
|
<fileset dir="src/repository/components/patches/apimgt"></fileset>
|
|
|
|
</copy>-->
|
|
|
|
</copy>-->
|
|
|
|
|
|
|
|
|
|
|
|