Questions tagged [maven-ant-tasks]

The Mavent Ant Tasks allow several of Maven's artifact handling features to be used from within an Ant build. Dependency management - including transitive dependencies, scope recognition and SNAPSHOT handling Artifact deployment - deployment to a Maven repository (file integrated, other with extensions) POM processing - for reading and writing a Maven 2 pom.xml file

The Mavent Ant Tasks allow several of Maven's artifact handling features to be used from within an Ant build. These include:

  • Dependency management - including transitive dependencies, scope recognition and SNAPSHOT handling
  • Artifact deployment - deployment to a Maven repository (file integrated, other with extensions)
  • POM processing - for reading and writing a Maven 2 pom.xml file

Official site : http://maven.apache.org/ant-tasks/index.html

56 questions
0
votes
3 answers

ANT->Maven task translator(or just use Maven Ant Tasks)

Is there a guide that outlines how to perform each of the following ant tasks using Maven? http://ant.apache.org/manual/tasklist.html Is it considered best practice to use Maven for these tasks or just run them in ANT via ant tasks feature.
JStark
  • 2,788
  • 2
  • 29
  • 37
0
votes
1 answer

MAVEN ANT Build Error

My System configuration is MAVEN apache-maven-2.2.1 JAVA_HOME - jdk1.5.0_22 I want to compile my classes with Java 1.4.2_04 version I am using maven-antrun-plugin 1.6 Following Entry in my Module POM.XMl
user886614
  • 375
  • 1
  • 4
  • 14
0
votes
1 answer

view content of directory made with ant xml

I have an xml file with ant tasks. One of the tasks is How can I view the contents of this directory? I tried ls someDirectory but this does not work
henhen
  • 1,038
  • 3
  • 18
  • 36
0
votes
1 answer

Maven Ant Tasks: Install artifact (artifact:install) with unknown target filename

In my Ant script, i'm using the Maven Ant tasks to install an artifact to the local repository, like this:
Wolkenarchitekt
  • 20,170
  • 29
  • 111
  • 174
0
votes
1 answer

Maven Execution Prompt Password

I have Maven to copy files to the remote server, my code snippet is below
Chks
  • 23
  • 7
0
votes
1 answer

Error while running tomcat Ant task for the site

I had setup broadleaf commerce project with mysql database with successive MAVEN install. When i am going to run ant task for tomcat it gives errors like this The archive:…
Yogesh Doke
  • 1,706
  • 2
  • 12
  • 20
0
votes
1 answer

include maven-ant build libs in eclipse java project

I am struggling with maven-ant build with eclipse. I did work like below steps. [GUI] new java project add build.xml in project top folder run ant file and SUCCEED! trying to code, but somehow auto completion does not work.(guessing eclipse can not…
Juneyoung Oh
  • 7,318
  • 16
  • 73
  • 121
0
votes
1 answer

Ant and using maven dependencies and settings file

We have a legacy project that uses ANT for building. It uses the maven ant task plugin for handling dependencies against our Nexus server. We now want to use a common settings.xml file for this ANT project and our other maven projects to minimize…
jne
  • 457
  • 2
  • 9
  • 22
0
votes
1 answer

Download and unpack zip from nexus using Ant and mavent ant task

I have a project where I need to download a set of zip files from our nexus and unpack them. I have the dependency and settings file set up and working but how do I get the files to my local directory so they can be unpacked? /J
jne
  • 457
  • 2
  • 9
  • 22
0
votes
1 answer

How to fail Ant build when mvn task fails?

I have an Ant build which calls mvn tasks using "artifact:mvn ..." as described in http://maven.apache.org/ant-tasks/examples/mvn.html. Problem is, even when one of these inner mvn builds ends in FAILURE, my overall Ant build will still report BUILD…
jcdise
  • 3
  • 1
0
votes
1 answer

Access a maven-ant-tasks dependency's properties (declared in its pom) from ant

I'm using maven-ant-tasks for a project, and I've run into the need to reference properties declared in a dependency's pom from Ant. Specifically, I'm depending on waffle-jna:
Craig Ringer
  • 307,061
  • 76
  • 688
  • 778
1 2 3
4