Questions tagged [maven-antrun-plugin]

This plugin provides the ability to run Ant tasks from within Maven. You can even embed your Ant scripts in the POM!

Introduction

This plugin provides the ability to run Ant tasks from within Maven. You can even embed your Ant scripts in the POM!

It is not the intention of this plugin to provide a means of polluting the POM, so it's encouraged to move all your Ant tasks to a build.xml file and just call it from the POM using Ant's task.

One of the main purposes of this plugin is to facilitate the migration from Ant based projects to Maven. Some projects may not currently be able to migrate because they depend on custom build functionality that Maven doesn't provide by default.

Official site : http://maven.apache.org/plugins/maven-antrun-plugin/

Goals Overview

antrun:run runs Ant tasks for Maven.

215 questions
-1
votes
1 answer

Filter Library file from war file

I am using maven antrun plugin and i am trying to exclude library files from my war file. But i am not able to do it. I know it can be done using maven war plugin but want it be excluded in maven antrun.
user6543599
  • 541
  • 2
  • 8
  • 18
-1
votes
1 answer

Run .bat file - Maven/Eclipse

I want to run a batch file using maven. My pom.xml looks like this:
SiriSch
  • 180
  • 1
  • 3
  • 16
-1
votes
1 answer

Copy all the files from a folder in to another by comparing files in it

How we can copy all the files from one folder into to another by comparing all the files in that folder, if files content changed then copy the file into another project location otherwise not. Any suggestion that which plugin that I should try…
eagerToLearn
  • 429
  • 1
  • 10
  • 20
-2
votes
1 answer

Maven regular expression to match file is not working

I have two files test-200-12-30-2990 and test-project-200-12-30-2990 I am unziping it to corresponding folders. Second task is not working. I want to select the file 'test-200-12-30-2990' Below is the ant build.xml. I am using maven ant plugin…
maven h
  • 1
  • 2
1 2 3
14
15