diff options
-rw-r--r-- | wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml | 100 |
1 files changed, 96 insertions, 4 deletions
diff --git a/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml index 00b57ba..80805c2 100644 --- a/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml +++ b/wso2bpel-ext/wso2bpel-core/distribution/standalone/pom.xml @@ -39,7 +39,7 @@ <build> <plugins> - <plugin> + <!--plugin> <artifactId>maven-resources-plugin</artifactId> <executions> <execution> @@ -89,7 +89,7 @@ </configuration> </execution> </executions> - </plugin> + </plugin--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> @@ -145,7 +145,7 @@ <artifactId>wso2bps</artifactId> <type>zip</type> <overWrite>true</overWrite> - <outputDirectory>${linux64outputdir}/wso2bps</outputDirectory> + <outputDirectory>target/assembly/wso2bps</outputDirectory> </artifactItem> </artifactItems> </configuration> @@ -163,13 +163,105 @@ <artifactId>wso2bps</artifactId> <type>zip</type> <overWrite>true</overWrite> - <outputDirectory>${win64outputdir}/wso2bps</outputDirectory> + <outputDirectory>target/assembly/wso2bps</outputDirectory> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <executions> + <execution> + <id>copy-resources-${linux64id}</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${linux64outputdir}</outputDirectory> + <resources> + <resource> + <directory>src/main/assembly/</directory> + <filtering>false</filtering> + <includes> + <include>**/*</include> + </includes> + <excludes> + <exclude>**/*.bat</exclude> + </excludes> + </resource> + </resources> + <overwrite>true</overwrite> + </configuration> + </execution> + <execution> + <id>copy-resources-${win64id}</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${win64outputdir}</outputDirectory> + <resources> + <resource> + <directory>src/main/assembly/</directory> + <filtering>false</filtering> + <includes> + <include>**/*</include> + </includes> + <excludes> + <exclude>**/*.sh</exclude> + </excludes> + </resource> + </resources> + <overwrite>true</overwrite> + </configuration> + </execution> + <execution> + <id>copy-ext-resources-${linux64id}</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${linux64outputdir}/wso2bps</outputDirectory> + <resources> + <resource> + <directory>target/assembly/wso2bps/wso2bps-3.5.0</directory> + <filtering>false</filtering> + <excludes> + <exclude>**/*.bat</exclude> + </excludes> + </resource> + </resources> + <overwrite>true</overwrite> + </configuration> + </execution> + <execution> + <id>copy-ext-resources-${win64id}</id> + <phase>process-resources</phase> + <goals> + <goal>copy-resources</goal> + </goals> + <configuration> + <outputDirectory>${win64outputdir}/wso2bps</outputDirectory> + <resources> + <resource> + <directory>target/assembly/wso2bps/wso2bps-3.5.0</directory> + <filtering>false</filtering> + <excludes> + <exclude>**/*.sh</exclude> + </excludes> + </resource> + </resources> + <overwrite>true</overwrite> + </configuration> + + </execution> + </executions> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> |