forked from community/device-mgt-plugins
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
475 lines
19 KiB
475 lines
19 KiB
<assembly>
|
|
<id>bin</id>
|
|
<formats>
|
|
<format>zip</format>
|
|
</formats>
|
|
<includeBaseDirectory>false</includeBaseDirectory>
|
|
|
|
<fileSets>
|
|
<fileSet>
|
|
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
|
<outputDirectory>wso2mdm-${pom.version}</outputDirectory>
|
|
<!-- <excludes>
|
|
<exclude>**/*.sh</exclude>
|
|
<exclude>**/README*</exclude>
|
|
<exclude>**/LICENSE*</exclude>
|
|
<exclude>**/INSTALL*</exclude>
|
|
<exclude>**/release-notes.html</exclude>
|
|
<exclude>**/axis2services/sample01.aar</exclude>
|
|
<exclude>**/axis2services/echo/**</exclude>
|
|
<exclude>**/axis2services/version/**</exclude>
|
|
<exclude>**/pom.xml</exclude>
|
|
<exclude>**/version.txt</exclude>
|
|
<exclude>**/axis2/axis2.xml</exclude>
|
|
<exclude>**/master-datasources.xml</exclude>
|
|
</excludes>-->
|
|
</fileSet>
|
|
<!--copying runtimes-->
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${pom.version}/lib/runtimes/</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>target/wso2carbon-core-${carbon.kernel.version}</directory>
|
|
<outputDirectory>wso2mdm-${pom.version}</outputDirectory>
|
|
<includes>
|
|
<include>**/*.sh</include>
|
|
</includes>
|
|
<fileMode>755</fileMode>
|
|
</fileSet>
|
|
|
|
<!--Multitenancy related file -->
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/multitenancy
|
|
</outputDirectory>
|
|
<includes>
|
|
<include>**/stratos.xml</include>
|
|
<include>**/multitenancy-packages.xml</include>
|
|
<include>**/usage-throttling-agent-config.xml</include>
|
|
<include>**/cloud-services-desc.xml</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/multitenancy/
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf</outputDirectory>
|
|
<includes>
|
|
<include>**/tenant-mgt.xml</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>src/repository/resources/styles/css</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/resources/allthemes/Default/admin
|
|
</outputDirectory>
|
|
<includes>
|
|
<include>**/**.css</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>src/repository/resources/styles/images</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/resources/allthemes/Default/images
|
|
</outputDirectory>
|
|
<includes>
|
|
<include>**/**.gif</include>
|
|
<include>**/**.png</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<!-- copy documentation -->
|
|
<fileSet>
|
|
<directory>target/site</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/docs</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</fileSet>
|
|
<!-- copy the landing page webapp -->
|
|
<!-- <fileSet>
|
|
<directory>src/repository/resources/stratos_root</directory>
|
|
<outputDirectory>wso2cdm-${project.version}/repository/deployment/server/webapps/STRATOS_ROOT</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</fileSet>-->
|
|
<fileSet>
|
|
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/modules
|
|
</directory>
|
|
<outputDirectory>${pom.artifactId}-${project.version}/modules/</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>src/repository/conf</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf</outputDirectory>
|
|
<includes>
|
|
<include>**/api-manager.xml</include>
|
|
<include>**/sso-idp-config.xml</include>
|
|
<!-- <include>**/emm-config.xml</include>-->
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/security/</outputDirectory>
|
|
<includes>
|
|
<include>**/entitlement.properties</include>
|
|
<include>**/trusted-idp-config.xml</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources/rxts/
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/resources/rxts/</outputDirectory>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>src/repository/conf/datasources</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/datasources
|
|
</outputDirectory>
|
|
<includes>
|
|
<include>**/master-datasources.xml</include>
|
|
<include>**/cdm-datasources.xml</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>src/repository/resources</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/resources</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
<!--data-bridge configuration-->
|
|
<fileSet>
|
|
<directory>src/repository/conf/data-bridge</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/data-bridge
|
|
</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/lib/runtimes
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/lib/runtimes/</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/service-provider
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/dbscripts/service-provider</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<!-- Copying identity related dbscripts -->
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/identity
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/dbscripts/identity</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<!-- Copying API management related dbscripts -->
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/apimgt
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/dbscripts/apimgt</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/modules
|
|
</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/modules/</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
|
|
<!-- Copying Device Management related dbscripts -->
|
|
<fileSet>
|
|
<directory>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/dbscripts/cdm</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/dbscripts/cdm</outputDirectory>
|
|
<includes>
|
|
<include>*/**</include>
|
|
</includes>
|
|
</fileSet>
|
|
<fileSet>
|
|
<directory>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/resources
|
|
</directory>
|
|
<outputDirectory>${project.artifactId}-${project.version}/repository/resources
|
|
</outputDirectory>
|
|
</fileSet>
|
|
<!-- copy cdm jaggery app -->
|
|
<fileSet>
|
|
<directory>src/repository/jaggeryapps</directory>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/deployment/server/jaggeryapps
|
|
</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</fileSet>
|
|
</fileSets>
|
|
|
|
<dependencySets>
|
|
<dependencySet>
|
|
<outputDirectory>wso2mdm-${project.version}/lib/endorsed</outputDirectory>
|
|
<includes>
|
|
<include>javax.el:el-api:jar</include>
|
|
</includes>
|
|
</dependencySet>
|
|
<dependencySet>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/deployment/client/modules
|
|
</outputDirectory>
|
|
<includes>
|
|
<include>org.hibernate.wso2:hibernate:jar</include>
|
|
<include>org.apache.rampart:rampart:mar</include>
|
|
</includes>
|
|
</dependencySet>
|
|
</dependencySets>
|
|
|
|
<files>
|
|
<file>
|
|
<source>../mobileservices/agents/android/jax-rs/target/cdm-android-api.war</source>
|
|
<outputDirectory>wso2mdm-${pom.version}/repository/deployment/server/webapps
|
|
</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>../rest-api/target/wso2cdm-api.war</source>
|
|
<outputDirectory>wso2mdm-${pom.version}/repository/deployment/server/webapps
|
|
</outputDirectory>
|
|
<fileMode>755</fileMode>
|
|
</file>
|
|
<!-- <file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading.xml
|
|
</source>
|
|
<outputDirectory>wso2cdm-${project.version}/repository/conf/tomcat</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading-environments.xml
|
|
</source>
|
|
<outputDirectory>wso2cdm-${project.version}/repository/conf/tomcat</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>-->
|
|
<file>
|
|
<source>src/repository/conf/tomcat/context.xml</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/tomcat</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<!-- <file>
|
|
<source>../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
|
|
</source>
|
|
<outputDirectory>wso2cdm-${project.version}/repository/conf/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>-->
|
|
|
|
<file>
|
|
<source>INSTALL.txt</source>
|
|
<outputDirectory>wso2mdm-${project.version}</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>README.txt</source>
|
|
<outputDirectory>wso2mdm-${project.version}</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>LICENSE.txt</source>
|
|
<outputDirectory>wso2mdm-${project.version}</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>release-notes.html</source>
|
|
<outputDirectory>wso2mdm-${project.version}</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/README.txt</source>
|
|
<outputDirectory>wso2mdm-${project.version}/bin/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>target/wso2carbon-core-${carbon.kernel.version}/bin/version.txt</source>
|
|
<outputDirectory>wso2mdm-${project.version}/bin/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying logging-config.xml -->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/etc/logging-config.xml
|
|
</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/etc</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying event-broker.xml -->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/event-broker.xml
|
|
</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying application-authentication.xml -->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/security/application-authentication.xml
|
|
</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/security</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying thrift-authentication.xml -->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/thrift-authentication.xml
|
|
</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<file>
|
|
<source>src/repository/conf/multitenancy/cloud-services-desc.xml</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/multitenancy/
|
|
</outputDirectory>
|
|
<filtered>true</filtered>
|
|
</file>
|
|
<!--<file>
|
|
<source>src/repository/conf/axis2/axis2.xml</source>
|
|
<outputDirectory>wso2cdm-${project.version}/repository/conf/axis2/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>-->
|
|
<file>
|
|
<source>src/repository/conf/application-authenticators.xml</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/security/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>target/wso2carbon-core-${carbon.kernel.version}/repository/conf/README</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf/</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>src/repository/conf/identity.xml</source>
|
|
<outputDirectory>wso2mdm-${project.version}/repository/conf</outputDirectory>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading.xml
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat
|
|
</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!--cdm config file-->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/cdm-config.xml
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!--cdm plugin config file-->
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/mobile-config.xml
|
|
</source>
|
|
<outputDirectory>
|
|
${pom.artifactId}-${pom.version}/repository/conf/etc/device-mgt-plugin-configs/mobile
|
|
</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
<file>
|
|
<source>
|
|
../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/conf/tomcat/webapp-classloading-environments.xml
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/conf/tomcat
|
|
</outputDirectory>
|
|
<filtered>true</filtered>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying H2 database related files corresponding to default API management repository schema -->
|
|
<file>
|
|
<source>
|
|
target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2AM_DB.h2.db
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
|
|
<destName>WSO2AM_DB.h2.db</destName>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying H2 database related files corresponding to default Device management repository schema -->
|
|
<file>
|
|
<source>
|
|
target/wso2carbon-core-${carbon.kernel.version}/repository/database/WSO2DM_DB.h2.db
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
|
|
<destName>WSO2DM_DB.h2.db</destName>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
<!-- Copying H2 database related files corresponding to default Mobile Device management repository schema -->
|
|
<file>
|
|
<source>
|
|
../distribution/src/repository/database/WSO2MobileDM_DB.h2.db
|
|
</source>
|
|
<outputDirectory>${pom.artifactId}-${pom.version}/repository/database</outputDirectory>
|
|
<destName>WSO2MobileDM_DB.h2.db</destName>
|
|
<fileMode>644</fileMode>
|
|
</file>
|
|
|
|
</files>
|
|
</assembly>
|