Created
October 21, 2015 06:51
-
-
Save lahirue/9c5ab194d0a0578b7074 to your computer and use it in GitHub Desktop.
WSO2 Carbon Component UI with Back End Sevice pom.XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.wso2.carbon</groupId> | |
<artifactId>org.wso2.carbon.testService.ui</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>bundle</packaging> | |
<name>WSO2 Carbon - Test Service</name> | |
<url>http://maven.apache.org</url> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<!-- <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> | |
<version>3.8.1</version> <scope>test</scope> </dependency> </dependencies> --> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.axis2.wso2</groupId> | |
<artifactId>axis2</artifactId> | |
<version>1.6.1.wso2v4</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.stratos</groupId> | |
<artifactId>org.wso2.carbon.ui</artifactId> | |
<version>4.2.0-stratos</version> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.1</version> | |
<executions> | |
<execution> | |
<id>source-code-generation</id> | |
<phase>process-resources</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<tasks> | |
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> | |
<arg | |
line="-uri src/main/resources/MyTestService.wsdl -u -uw -o target/generated-code | |
-p org.wso2.carbon.testService.ui | |
-ns2p http://org.apache.axis2/xsd=org.wso2.carbon.testService.ui.types.axis2,http://testService.carbon.wso2.org=org.wso2.carbon.testService.ui,http://data.testService.carbon.wso2.org/xsd=org.wso2.carbon.testService.ui.types.data" /> | |
<classpath refid="maven.dependency.classpath" /> | |
<classpath refid="maven.compile.classpath" /> | |
<classpath refid="maven.runtime.classpath" /> | |
</java> | |
</tasks> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>add-source</id> | |
<phase>generate-sources</phase> | |
<goals> | |
<goal>add-source</goal> | |
</goals> | |
<configuration> | |
<sources> | |
<source>target/generated-code/src</source> | |
</sources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.felix</groupId> | |
<artifactId>maven-bundle-plugin</artifactId> | |
<version>1.4.0</version> | |
<extensions>true</extensions> | |
<configuration> | |
<instructions> | |
<Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> | |
<Export-Package> | |
org.wso2.carbon.testService.ui.* | |
</Export-Package> | |
<Import-Package> | |
!javax.xml.namespace, | |
javax.xml.namespace;version="0.0.0", | |
*;resolution:=optional, | |
</Import-Package> | |
<Carbon-Component>UIBundle</Carbon-Component> | |
</instructions> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<repositories> | |
<repository> | |
<id>wso2-nexus</id> | |
<name>WSO2 internal Repository</name> | |
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url> | |
<releases> | |
<enabled>true</enabled> | |
<updatePolicy>daily</updatePolicy> | |
<checksumPolicy>ignore</checksumPolicy> | |
</releases> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>wso2-maven2-repository</id> | |
<url>http://dist.wso2.org/maven2</url> | |
</pluginRepository> | |
<pluginRepository> | |
<id>wso2-maven2-snapshot-repository</id> | |
<url>http://dist.wso2.org/snapshots/maven2</url> | |
</pluginRepository> | |
</pluginRepositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment