There are two steps: 1. mvn -P deps 2. ant build-all We will fully migrate to maven in the next few weeks.
> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > [email protected] > Sent: Saturday, September 08, 2012 10:32 AM > To: [email protected] > Subject: ant clean-all build-all error. > org.apache.axis2.tool.ant.AntCodegenTask cannot be found > > mavan can not configurate build-environment correctly. > > > > [root@xxxxxxx xxxxxxxxx]# ant clean-all > Buildfile: build.xml > [echo] Using build parameters from /mnt/cloudstack/build/build- > cloud.properties > [echo] Using company info from > /mnt/cloudstack/build/cloud.properties > [echo] Using override file from > /mnt/cloudstack/build/replace.properties > [echo] Using build parameters from /mnt/cloudstack/build/build- > cloud.properties > [echo] Using company info from > /mnt/cloudstack/build/cloud.properties > [echo] Using override file from > /mnt/cloudstack/build/replace.properties > > BUILD FAILED > /mnt/cloudstack/build.xml:48: The following error occurred while > executing this line: > /mnt/cloudstack/build/build-aws-api.xml:34: taskdef class > org.apache.axis2.tool.ant.AntCodegenTask cannot be found > > Total time: 1 second
