Hi,
I want to create a profile that can help me run an auto-generated script onto
the target m/c. Since i would want this on a build m/c to be executed only
once, i figured it would be better to keep this target in a separate profile.
Here is what the skeleton looks like in my parent
HI Sumit,
The simplest thing might be to make a separate module which does nothing but
run your script. Then it would only run when executing that module.
If you are doing this once for each build, you don’t even need the profile.
Regards,
Russ
On Dec 23, 2013, at 3:16 PM, Sumit Kumar
inheritfalse/inherit
On 23 December 2013 20:16, Sumit Kumar skbrnwl-...@yahoo.com wrote:
Hi,
I want to create a profile that can help me run an auto-generated script
onto the target m/c. Since i would want this on a build m/c to be executed
only once, i figured it would be better to keep
As a side question - is there a way to get something to ONLY run in inherited
projects?
I have a few things in my parent POM I'd like to propagate down without needing
to put them in plugin-management and redeclaring them.
On 24 Dec 2013, at 12:30, Stephen Connolly wrote:
Hi,
I want to create a profile that can help me run an auto-generated script onto
the target m/c. Since i would want this on a build m/c to be executed only
once, i figured it would be better to keep this target in a separate profile.
Here is what the skeleton looks like in my parent
[mailto:ksumi...@yahoo.com]
Envoyé : lundi 23 décembre 2013 21:15
À : users@maven.apache.org
Objet : How to run a script only for top-level project using
maven-antrun-plugin?
Hi,
I want to create a profile that can help me run an auto-generated script
onto the target m/c. Since i would want
Hi,
I have some questions for maven-antrun-plugin. I want to use thing plugin to
build my Weblogic workshop project and want to create JAR file for my EJB
project.
We are using Weblogic 8.1 and JDK is 1.4.2 version. I am using MAVEN 2.2.1
version with JDK 1.5
*I have some questions as below :*
Now i have only one question so you can ignore other questions.
My POM.XML
project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;
[wlwBuild] [Build] Build project WPSEjb started.
[wlwBuild] [Build] This project type does not allow override of the output
directory location.
[wlwBuild] [Build] Build project WPSEjb complete.
Most likely you will need to ask the company/group responsible for
this Ant plugin for help.
HI,
I am trying to set up an ANT FTP task using maven-antrun-plugin as
below..but it errors out with the following error..
I have the oro.jar and commons-net.jar in my C:\ant\lib folder..
Thanks!
Embedded error: Could not create task or type of type: ftp.
plugin
artifactIdmaven
I am trying to set up an ANT FTP task using maven-antrun-plugin as
below..but it errors out with the following error..
I have the oro.jar and commons-net.jar in my C:\ant\lib folder..
You will need to add plugin dependencies to the maven-antrun-plugin
itself to specify the jars necessary
Thanks Wayne, that worked wonderfully!
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Monday, November 03, 2008 4:31 PM
To: Maven Users List
Subject: Re: Setting up an ANT FTP Task using maven-antrun plugin
I am trying to set up an ANT FTP task using maven-antrun
Hi
I am using maven2.0.6 and i need to execute ant build script from maven
so i use maven-antrun-plugin and the configuration is like.
plugin
artifactIdmaven-antrun-plugin/artifactId
version1.1/version
executions
execution
iddocbook/id
I've configured the maven-antrun-plugin as follows :
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasepre-integration-test/phase
configuration
tasks
taskdef name=jmeter
hello
you'd nee dto specify classpath somewhere...
here's a sample (i m using custom jboss xdoclet task)
tasks
taskdef name=wstools classname=org.jboss.ws.tools.ant.wstools
classpath refid=maven.dependency.classpath/
classpath
Subject: Using maven-antrun-plugin and taskdef
I've configured the maven-antrun-plugin as follows :
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasepre-integration-test/phase
configuration
tasks
On 10/30/06, Chris Hilton [EMAIL PROTECTED] wrote:
You need to add the jar as a dependency to the antrun plugin, something
like:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
executions
...
/executions
Hi,
Because there is no m2 middlegen plugin yet, I try to run middlegen
from an ant build file. But when I try to run the build file using
mvn compile I get an exception with the following message:
Embedded error: The following error occurred while executing this line:
Hi Miral,
The problem is that you need to add an id to each of your execution.
Don't call two maven-antrun-plugins but two executions with an id
inside ONE maven-antrun-plugin
Here is an example in a pom.xml :
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
Hi,
I am building a web app using maven 2.0.
I have specified the following in my POM file:
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
Hi,
I am building a web app using maven 2.0.
I have specified the following in my POM file:
build
plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-sources/phase
configuration
21 matches
Mail list logo