maven-antrun-plugin Questions
2
Solved
There is a multi-module project. Inside the child I need to do some complicated stuff (integration test with deploying to application server and so on). So there is an integrationtest child, and fr...
Fatal asked 28/10, 2010 at 7:41
5
Solved
When maven via antrun executes this java code I get the dreaded error=206, The filename or extension is too long
<java classname="com.me.api" failonerror="true" fork="true" maxmemory="128m" out...
Mango asked 19/7, 2013 at 14:44
2
Solved
I have a Maven project using an Ant build file:
<?xml version='1.0' encoding='UTF-8'?>
<project>
<modelVersion>4.0.0</modelVersion>
<artifactId>my-test-app</arti...
Easterling asked 28/3, 2017 at 10:44
3
Solved
I am importing a maven project into Eclipse. I have the m2e plugin installed and it is pointing to maven 2.2.1 on my machine.
I am getting these three errors:
No marketplace entries found to han...
Gracegraceful asked 20/3, 2012 at 15:43
2
Solved
I'm trying to print the current profile that is active running a build of a Maven Project.
I'm using the maven-antrun-plugin in order to print messages on the console, in combination with a proper...
Laboratory asked 13/12, 2016 at 9:10
4
Solved
We have a special routine to explode files in a subfolder into extensions, which will be copied and jared into single extension files. For this special approach I wanted to use the maven-antrun-plu...
Hassock asked 6/12, 2010 at 15:56
4
Solved
Following the instructions on the usage page (http://maven.apache.org/plugins/maven-antrun-plugin/usage.html) and other Stackoverflow questions I've been attempting to get an Ant task to run from m...
Mandola asked 25/1, 2013 at 17:10
4
Solved
My maven java project uses the maven-antrun-plugin to execute a deploy.xml ant script that deploys my app. The deploy.xml uses the <if> task and this seems to be causing the problem;
[INFO] ...
Katharyn asked 18/1, 2011 at 12:25
4
Solved
I need to execute some ant commands depending on an environment variable passed in as a parameter to the maven build command.
At the moment I have 3 tasks blocks and only the tasks block with no c...
Osborn asked 28/12, 2009 at 22:33
3
Solved
I have a Java project that, when mvn install is executed on it, generates a JAR file. So far so good.
After that generation, I'd like to rename the resultant JAR file to something with an arbitrar...
Lymph asked 23/9, 2013 at 22:20
2
Solved
I'm using the FTP Ant task with maven-antrun-plugin
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<execution...
Win asked 19/4, 2010 at 11:0
1
I know this has been asked before but I'm still struggling on solving this issue. When I load projects into eclipse I get the following exception:
Plugin execution not covered by lifecycle configu...
Aggravation asked 2/10, 2013 at 8:8
3
Solved
I tried to use the maven-antrun-plugin to check in a first execution if a file exists and then set a property accordingly. In another execution (another phase) of the antrun-plugin I want to make u...
Disciple asked 21/2, 2011 at 9:45
4
Solved
How can I print to the console while executing a mvn command (in a phase/goal), but not using Maven Antrun plugin?
Why I reject Antrun solutions:
The overhead in code to print a single message ...
Fiorin asked 2/4, 2013 at 12:17
3
Solved
i am trying to copy a file in my maven multi-module project via antrun plugin. the file is in root of parent project:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<a...
Decedent asked 25/9, 2013 at 9:43
3
Solved
My pom.xml is running an Ant task to deploy a file using FTP. However, this deployment must be only done if the -Dftp=true argument is given in the Maven command (i.e. mvn clean install -Dftp=true)...
Patroon asked 24/2, 2010 at 7:47
4
Solved
I have a project expected to deliver a jar file:
<packaging>jar</packaging>
but the jar is built in a custom way, so the default packaging done with jar:jar has been disabled
<pl...
Fante asked 4/5, 2012 at 12:54
4
Our project uses Log4J, configured via log4j.properties file. We have multiple production servers, which log to different log files, so that the logs can be differentiated. So log4j.properties for ...
Gatefold asked 22/7, 2010 at 11:36
1
Solved
I using this guide added my dependencies to main jar JavaFX jar with dependencies bundled
i am facing dependencies issue which causing Class not found exception. My Pom is exactly like mentioned in...
Homestead asked 18/9, 2014 at 14:43
3
Solved
I am trying to pass maven properties (defined through profiles) to a antrun execution:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plu...
Dennisedennison asked 8/8, 2013 at 14:30
2
Solved
I have the following in my pom:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-ant-plugin</artifactId>
<version>2.3</version>
...
Pericarp asked 24/9, 2010 at 20:37
2
Solved
I want Maven to only run a certain plugin when there is a flag on the command line when I call the mvn command.
for example:
Let's say I have a plugin called maven-foo-plugin. I only want maven t...
Daunt asked 20/3, 2013 at 13:10
1
Solved
I need to use the Maven antrun plugin to add Hibernate bytecode instrumentation to one of my Java classes, in order to enable lazy-loading of individual fields. However, I cannot get the plugin to ...
Detroit asked 19/12, 2012 at 20:1
6
Solved
(See edits below.)
The reason I can't just use the classpath, is because I need to manage some non-java libraries, and I'm compiling a non-java project.
I'm trying to use maven dependencies in an...
Unsociable asked 16/10, 2009 at 21:35
2
Solved
When deploying a webapp I need to update some variables in UI resources, unzip some assets and concat some files, currently this is achieved via an ant task. I'm trying to run this task in the mave...
Koch asked 1/10, 2012 at 10:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.