The following is a pom.xml I just made based on the libraries provided in the
axis2 download. 
There are 2 things to note, 
1) I couldn't find woden, so I added it to my own local repository
2) axiom 1.2.3 has different behaviour to 1.2.2, I don't know if it's a new
bug or if it's a bug fix, but when running against xfire servers , 1.2.3
won't provide proper exceptions, where as 1.2.2 does. It complains about
"getFirstSOAPText() not allowed for SOAP 1.1!"

anyways, below is a pom.xml, hopefully the axis guys will set one up for us
in the future.

<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.apach
e.org/maven-v4_0_0.xsd">
        <modelVersion>4.0.0</modelVersion>
        <groupId>com.test</groupId>
        <artifactId>test</artifactId>
        <packaging>jar</packaging>
        <version>CURRENT</version>
        <name>Maven Webapp Archetype</name>
        <url>http://maven.apache.org</url>

        <dependencies>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <version>4.3.1</version>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.apache.axis2</groupId>
                        <artifactId>axis2</artifactId>
                        <version>1.1.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.ws.commons.axiom</groupId>
                        <artifactId>axiom</artifactId>
                        <!--  Note that 1.2.3 is different, it doesn't seem to 
work against xfire
clients throwing faults, don't know who's at fault yet -->
                        <version>1.2.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.ws.commons.schema</groupId>
                        <artifactId>XmlSchema</artifactId>
                        <version>1.3.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>wsdl4j</groupId>
                        <artifactId>wsdl4j</artifactId>
                        <version>1.6.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>commons-codec</groupId>
                        <artifactId>commons-codec</artifactId>
                        <version>1.3</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>commons-fileupload</groupId>
                        <artifactId>commons-fileupload</artifactId>
                        <version>1.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>commons-httpclient</groupId>
                        <artifactId>commons-httpclient</artifactId>
                        <version>3.0.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>commons-io</groupId>
                        <artifactId>commons-io</artifactId>
                        <version>1.3.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>commons-logging</groupId>
                        <artifactId>commons-logging</artifactId>
                        <version>1.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.activation</groupId>
                        <artifactId>activation</artifactId>
                        <version>1.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>annogen</groupId>
                        <artifactId>annogen</artifactId>
                        <version>0.1.0</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>backport-util-concurrent</groupId>
                        <artifactId>backport-util-concurrent</artifactId>
                        <version>3.0</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.geronimo.specs</groupId>
                        <artifactId>geronimo-jms_1.1_spec</artifactId>
                        <version>1.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.httpcomponents</groupId>
                        <artifactId>jakarta-httpcore</artifactId>
                        <version>4.0-alpha4</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.xml</groupId>
                        <artifactId>jaxb-api</artifactId>
                        <version>2.0EA3</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.xml</groupId>
                        <artifactId>jaxb-impl</artifactId>
                        <version>2.0EA3</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.xml</groupId>
                        <artifactId>jaxb-xjc</artifactId>
                        <version>2.0EA3</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>jaxen</groupId>
                        <artifactId>jaxen</artifactId>
                        <version>1.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.jibx</groupId>
                        <artifactId>jibx-bind</artifactId>
                        <version>1.0.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.jibx</groupId>
                        <artifactId>jibx-run</artifactId>
                        <version>1.0.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.mail</groupId>
                        <artifactId>mail</artifactId>
                        <version>1.4</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.apache.ws.commons.neethi</groupId>
                        <artifactId>neethi</artifactId>
                        <version>2.0.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                        <version>2.5</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>stax</groupId>
                        <artifactId>stax-api</artifactId>
                        <version>1.0.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>xalan</groupId>
                        <artifactId>xalan</artifactId>
                        <version>2.7.0</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>xmlbeans</groupId>
                        <artifactId>xbean</artifactId>
                        <version>2.2.0</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>xerces</groupId>
                        <artifactId>xercesImpl</artifactId>
                        <version>2.8.1</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>xml-apis</groupId>
                        <artifactId>xml-apis</artifactId>
                        <version>2.0.2</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.codehaus.woodstox</groupId>
                        <artifactId>wstx-asl</artifactId>
                        <version>3.2.1</version>
                        <scope>test</scope>
                </dependency>
                <!-- couldn't find this in any repository, had to load it 
myself from the
axis source -->
                <dependency>
                        <groupId>woden</groupId>
                        <artifactId>woden</artifactId>
                        <version>1.0.0M6</version>
                        <scope>test</scope>
                </dependency>

        </dependencies>
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-compiler-plugin</artifactId>
                                <configuration>
                                        <source>1.6</source>
                                        <target>1.6</target>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
</project>


-- 
View this message in context: 
http://www.nabble.com/Axis2-and-Maven-tf3567687.html#a10085296
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to