This is my pom.xml in case that helps.

<?xml version="1.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/maven-v4_0_0.xsd";>
        <groupId>Technica-PBAC</groupId>
        <artifactId>DS-PBAC-PDP-SOAP</artifactId>
        <version>0.0.1-SNAPSHOT</version>

        <name>DS-PBAC-PDP-SOAP</name>
        <packaging>aar</packaging>
        <modelVersion>4.0.0</modelVersion>

        <parent>
                <groupId>Technica-PBAC</groupId>
                <artifactId>DecisionServer</artifactId>
                <version>1.0-SNAPSHOT</version>
        </parent>

        <!-- A few Saxon source files contain international characters that 
require
                this; UTF-8 will not work for these. -->
        <properties>
                
<project.build.sourceEncoding>Cp1252</project.build.sourceEncoding>
        </properties>

        <dependencies>
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>DS-JAXB-CLASSES</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-simple</artifactId>
                        <version>1.6.1</version>
                </dependency>
                <dependency>
                        <groupId>com.sun.xml.ws</groupId>
                        <artifactId>jaxws-rt</artifactId>
                        <version>2.2.1</version>
                        <scope>provided</scope>
                </dependency>
                <!-- Important! Run fixSaxon.sh to load these from lib/ into 
local
repository!
                        Saxon versioning is a nightmare. Change versioning at 
your peril! -->
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>saxon-8.9.0.wso2v1</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>saxon-dom-8.9</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>saxon-xpath-8.9</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>saxon-xqj-8.9</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>xqjapi</artifactId>
                        <version>1.0-SNAPSHOT</version>
                </dependency>
                <!-- <dependency> <groupId>Technica-PBAC</groupId>
<artifactId>xercesImpl</artifactId>
                        <version>1.0-SNAPSHOT</version> </dependency> -->
                <dependency>
                        <groupId>Technica-PBAC</groupId>
                        <artifactId>axis2-1.6.0.wso2v2</artifactId>
                        <version>1.0-SNAPSHOT</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.slf4j</groupId>
                        <artifactId>slf4j-api</artifactId>
                        <version>1.6.1</version>
                </dependency>
                <dependency>
                        <groupId>jaxen</groupId>
                        <artifactId>jaxen</artifactId>
                        <version>1.1.1</version>
                        <type>jar</type>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>com.sun.xml.bind</groupId>
                        <artifactId>jaxb-xjc</artifactId>
                        <version>2.1.7</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>com.sun.xml.bind</groupId>
                        <artifactId>jaxb-impl</artifactId>
                        <version>2.2.1.1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.xml</groupId>
                        <artifactId>jaxp-api</artifactId>
                        <version>1.4.2</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.xml.parsers</groupId>
                        <artifactId>jaxp-api</artifactId>
                        <version>1.4.2</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>axis</groupId>
                        <artifactId>axis-wsdl4j</artifactId>
                        <version>1.5.1</version>
                </dependency>
                <dependency>
                        <groupId>xerces</groupId>
                        <artifactId>xercesImpl</artifactId>
                        <version>2.8.1</version>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>com.sun.xml.parsers</groupId>
                        <artifactId>jaxp-ri</artifactId>
                        <version>1.4.2</version>
                        <type>jar</type>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom</artifactId>
                        <version>1.2.5</version>
                </dependency>
                <dependency>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom-api</artifactId>
                        <version>1.2.8</version>
                        <scope>provided</scope>
                </dependency>
        </dependencies>

        <build>
                <resources>
                        <resource>
                                <targetPath>META-INF</targetPath>
                                <directory>src</directory>
                                <includes />
                        </resource>
                </resources>


                <plugins>
                        <!-- Do not use. Run wsdl2java.sh script by hand to be 
sure that
the wsl2code version is exactly
                                the same as the runtime version you're using.
                                <plugin> <groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
                                <version>1.5.3</version> <executions> 
<execution> <goals>
<goal>wsdl2code</goal>
                                </goals> </execution> </executions> 
<configuration>
<packageName>com.technica.www</packageName>
                                <serviceName>PdpSamlService</serviceName>
<outputDirectory>target/generated-sources</outputDirectory>
                                
<wsdlFile>src/wsdl/PdpSamlService.wsdl</wsdlFile>
<databindingName>adb</databindingName>
                                <generateServerSide>true</generateServerSide>
<generateServerSideInterface>true</generateServerSideInterface>
                                <generateServicesXml>true</generateServicesXml>
<generateAllClasses>true</generateAllClasses>
                                </configuration> </plugin> -->

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <version>2.3.2</version>
                                <inherited>true</inherited>
                                <configuration>
                                        <source>1.6</source>
                                        <target>1.6</target>
                                        <verbose>true</verbose>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.axis2</groupId>
                                <artifactId>axis2-aar-maven-plugin</artifactId>
                                <version>1.5.3</version>
                                <extensions>true</extensions>
                                <configuration>
                                        <fileSets>
                                                <fileSet>
                                                        
<directory>src/main/resources</directory>
                                                        
<outputDirectory>META-INF</outputDirectory>
                                                        <includes>
                                                                
<include>*.xml</include>
                                                                
<include>*.xsd</include>
                                                                
<include>*.wsdl</include>
                                                        </includes>
                                                        <excludes>
                                                                
<exclude>schemaorg_apache_xmlbeans/**/*</exclude>
                                                        </excludes>
                                                </fileSet>
                                        </fileSets>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-install-plugin</artifactId>
                                <version>2.3.1</version>
                                <configuration>
                                        <generatePom>true</generatePom>
                                        <file>lib/axis2-1.6.0.wso2v2.jar</file>
                                </configuration>
                        </plugin>
                </plugins>

                <pluginManagement>
                        <plugins>
                                <plugin>
                                        <groupId>org.apache.axis2</groupId>
                                        
<artifactId>axis2-aar-maven-plugin</artifactId>
                                        <version>1.5.3</version>
                                </plugin>
                                <plugin>
                                        
<groupId>org.apache.maven.plugins</groupId>
                                        
<artifactId>maven-install-plugin</artifactId>
                                        <version>2.3.1</version>
                                </plugin>
                        </plugins>
                </pluginManagement>
        </build>

        <repositories>
                <repository>
                        <id>wso2-maven2-snapshot-repository</id>
                        <name>WSO2 Maven2 SNAPSHOTS</name>
                        <url>http://dist.wso2.org/snapshots/maven2</url>
                </repository>
                <repository>
                        <id>wso2-maven2-repository</id>
                        <name>WSO2 Maven2 Repository</name>
                        <url>http://dist.wso2.org/maven2</url>
                </repository>
                <repository>
                        <id>maven2-repository.dev.java.net</id>
                        <name>Java.net Repository for Maven 2</name>
                        <url>http://download.java.net/maven/2/</url>
                </repository>
        </repositories>

        <pluginRepositories>
                <pluginRepository>
                        <id>dist.wso2.org.maven2</id>
                        <name>dist.wso2.org.maven2</name>
                        <url>http://dist.wso2.org/maven2</url>
                </pluginRepository>
                <pluginRepository>
                        <id>maven2-repository.dev.java.net</id>
                        <url>http://download.java.net/maven/2/</url>
                </pluginRepository>
        </pluginRepositories>
</project>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to