Hi,

You are probably missing out the sun jars (i.e. activation, mail, etc.).
You'll have to download them manually onto your computer due to license
issues. If you look carefully at the mvn error message at the end of the
build, it will probably tell you exactly that.

Once you've downloaded the jars to your computer, install them into your
local maven repo.

E.g. if you have downloaded the activation jar and stored it under
d:/activation-1.0.2.jar you can execute the following command:

mvn install:install-file -Dfile=d:/activation-1.0.2.jar
-DgroupId=javax.activation -DartifactId=activation -Dversion=1.0.2
-Dpackaging=jar

For more info on sun jars check out:
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html

Alternatively you could of course also make the sun jars available on a
local web server and pull them off from there.

In case you still need a full pom, you'll find it at the end of this
message (including junit jar and tomcat plugin)

Hope this helps!

Cheers,
Patric

<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";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>au.com.nicta.toy.problem</groupId>
  <artifactId>toy-problem-xfire</artifactId>
  <packaging>war</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>BIG Toy Problem Service</name>
  <url>http://www.nicta.com.au</url>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.codehaus.xfire</groupId>
      <artifactId>xfire-jaxb2</artifactId>
      <version>1.1-RC1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.xfire</groupId>
      <artifactId>xfire-spring</artifactId>
      <version>1.1-RC1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.xfire</groupId>
      <artifactId>xfire-java5</artifactId>
      <version>1.1-RC1</version>
    </dependency>
  </dependencies>
  <build>
    <finalName>toy-problem</finalName>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>tomcat-maven-plugin</artifactId>
        <version>1.0-SNAPSHOT</version> 
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>codehaus</id>
      <name>Codehaus maven repository</name>
      <url>http://dist.codehaus.org</url>
      <layout>legacy</layout>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <id>Maven Snapshots</id>
      <url>http://snapshots.maven.codehaus.org/maven2</url>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
      <releases>
        <enabled>false</enabled>
      </releases>
    </pluginRepository>
  </pluginRepositories>
</project>



________________________________

From: Kerzhner, Olia [mailto:[EMAIL PROTECTED]
Sent: Thursday, 11 May 2006 10:27 AM
To: [email protected]
Subject: [xfire-user] Sample pom?



Hi all,
I am new to xfire, and new to maven, and I am having trouble getting a
build to run the samples.  I am trying to use maven to get all my
dependencies, but I am not entirely sure what dependencies I should
have, and what repositories I should use.  I followed this page
recommendations: http://xfire.codehaus.org/Maven+Guide
<http://xfire.codehaus.org/Maven+Guide>

For these dependencies:
<dependency>
    <groupId>org.codehaus.xfire</groupId>
    <artifactId>xfire-jaxb2</artifactId>
    <version>1.0</version>
</dependency>
<dependency>
    <groupId>org.codehaus.xfire</groupId>
    <artifactId>xfire-spring</artifactId>
    <version>1.0</version>
</dependency>
<dependency>
    <groupId>org.codehaus.xfire</groupId>
    <artifactId>xfire-java5</artifactId>
    <version>1.0</version>
</dependency>


And with this repository:
<repositories>
    <repository>
      <id>codehaus</id>
      <name>Codehaus maven repository</name>
      <url>http://dist.codehaus.org/</url>
      <layout>legacy</layout>
    </repository>
  </repositories>

And it keeps choking on various jars, I am not even sure where they are
getting pulled in from.  Anyone has a complete sample pom that I can use
for the sample?

Thanks in advance,
Olia



--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.

Reply via email to