Ant Task: Nullpointer Exception

2009-12-04 Thread Vinicius Carvalho
Hello there! I'm trying to integrate my build.xml with some artifacts managed by maven. Here's What I've done so far: project name=Project Builder xmlns:artifact=antlib:org.apache.maven.artifact.ant property file=build.properties/property path

Re: Ant Task: Nullpointer Exception

2009-12-04 Thread Wayne Fay
               artifact:pom file=${project.dir}/pom.xml id=mypom                        pom pomrefid=mypompom / java.lang.NullPointerException        at org.apache.maven.artifact.ant.Pom.getArtifact(Pom.java:133) Does this help you see why it failed? Wayne

Re: Ant Task: Nullpointer Exception

2009-12-04 Thread Vinicius Carvalho
Actually fixed this, by using pom inside the artifact:install instead of using pomrefid. Anyway, I started using artifact:mvn instead, but its downloading all dependencies everytime. Not using my local repository. Why is that? Regards On Fri, Dec 4, 2009 at 1:03 PM, Vinicius Carvalho