Hello,
You always encountered some strange trouble :-D
May other friends can help you ^_^
I'm very sorry.
a cup of Java, cheers!
Sha Jiang
秋秋 wrote:
HI,
jiagsha,Long time no see,I use the maven-antrun-plugin by the method
you
gave last time,I have done this configuration:
plugin
Hi Sam,
Delete the maven-antrun-plugin directory and start over..
There might have beeen a problem when you downloaded the jar..
Alternatively, write a mojo that requires dependency resolution, iterate the
dependecy set, get the files of the artifacts and copy them to the location
of your
HI,
I have resolved the trouble just now.It seems like my ant-1.6.5.jar is
incomplete/corrupt,I have downloaded it again,and the trouble has been
resolved.but when I excute compile,the new problem was reported:
Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error executing ant
What do you mean /of course,there is not a directory
*D:\workspace\maven_itms\WEB-INF\lib\*.*/ ?
The following configuration means there is WEB-INF directory at the same
level with your pom.xml.
It cannot find the WEB-INF/lib/*.* directory. Try use exact path to
WEB-INF directory on your file
Hi,
I have used the exact path to WEB-INF directory on my file system like
this:
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
goals
goalrun/goal
/goals
configuration
tasks
Hi,
file=D:\workspace\maven_itms\target\maven_itms-1.0\WEB-INF\lib\*.jar
I think the statement is wrong.
If you want to deal with multi-files, you may use fileset, not wildcard.
Please try the scripts below,
copy
todir=D:/jboss-4.0.4.GA/server/claim/lib
overwrite=true
fileset
Hi,
I have modified the configuration like this:
copy
todir=D:/jboss-4.0.4.GA/server/claim/libhttp://4.0.4.ga/server/claim/lib
overwrite=true
fileset dir=D:/workspace/maven_itms/target/maven_itms-1.0/WEB-INF/lib
/
/copy
But after I have excuted mvn antrun:run , It still had no
Hello,
But after I have excuted mvn antrun:run , It still had no
effect
Please try command mvn compile or mvn package.
Good Luck!
a cup of Java, cheers!
Sha Jiang
秋秋 wrote:
Hi,
I have modified the configuration like this:
copy
Hello,
When using maven-antrun-plugin, I think, the main work is writing Ant task
scripts.
You can use the following scripts in executionconfiguration tag.
tasks
copy todir=path_to_JBoss_some_lib_dir overwrite=true
fileset dir=path_to_some_lib_dir /
/copy
/tasks
a cup of Java,
HI,
jiagsha,Long time no see,I use the maven-antrun-plugin by the method you
gave last time,I have done this configuration:
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasegenerate-resources/phase
goals
goalrun/goal
/goals
:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 11:26 AM
To: Maven Users List
Subject: [m2] maven-antrun-plugin classpath related behavior changed
maven-antrun-plugin executions that had been working are failing with
classpath related issues (classnotfound). I'm thinking maybe I've picked
up
Hi all,
how can i run different tasks in different phases?
Thanks Fredy
Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer
Hand. Informieren Sie sich über unsere Produkte unter
www.kabeldeutschland.de
Diese E-Mail und etwaige Anhänge enthalten vertrauliche
: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/-m2--maven-antrun-plugin-2-different-taks-in-different-phases-tf2071914.html#a5705392
Sent from the Maven - Users forum at Nabble.com
works, thank you very much!
Fredy
-Ursprüngliche Nachricht-
Von: Denis Cabasson [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 8. August 2006 14:32
An: users@maven.apache.org
Betreff: Re: [m2] maven-antrun-plugin 2 different taks in different
phases
http://maven.apache.org/plugins
maven-antrun-plugin executions that had been working are failing with
classpath related issues (classnotfound). I'm thinking maybe I've picked up
a newer version of the plugin and it's behavior is different. Is anyone else
experiencing these types of problems?
Xavier
to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
Regards,
Alex
-Original Message-
From: Xavier Toth [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 11:26 AM
To: Maven Users List
Subject: [m2] maven-antrun
Message-
From: Xavier Toth [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 11:26 AM
To: Maven Users List
Subject: [m2] maven-antrun-plugin classpath related behavior changed
maven-antrun-plugin executions that had been working are failing with
classpath related issues (classnotfound
To: Maven Users List
Subject: [m2] maven-antrun-plugin classpath related behavior changed
maven-antrun-plugin executions that had been working are failing with
classpath related issues (classnotfound). I'm thinking maybe I've picked
up
a newer version of the plugin and it's behavior
I should not want to do this.
Christoph
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Carlos
Sanchez
Sent: Wednesday, February 15, 2006 6:50 PM
To: Maven Users List
Subject: Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that
is run
Hi maven-users!
Is there any way to detect which lifecycle phase / goal was called on the
command line from inside the maven-antrun-plugin? Maybe via a pom property that
is set accordingly?
Background: I want to do some ant work with the antrun plugin, but only when
the deploy phase is called
Hi,
I want to execute a Ant build script but none of the properties are found
when using Mavens antrun-plugin. If I run the script using Ant the first
property is displayed correctly. Is this a known bug or am I doing something
wrong?
?xml version=1.0?
project name=movlan-server default=test
Then you have to do it in deploy phase or the prevous one.
On 2/15/06, Grothaus, Christoph [EMAIL PROTECTED] wrote:
Hi maven-users!
Is there any way to detect which lifecycle phase / goal was called on the
command line from inside the maven-antrun-plugin? Maybe via a pom property
that is
It's a known issue already filed in jira.
On 2/15/06, Roland Bali [EMAIL PROTECTED] wrote:
I kind of solved my problems by adding the following lines before the
ant-tag in the POM:
property name=project.build.directory value=${project.build.directory
}/
property name=os.name
Of Carlos
Sanchez
Sent: Wednesday, February 15, 2006 6:50 PM
To: Maven Users List
Subject: Re: [m2] maven-antrun-plugin: detect maven lifecycle phase that
is run
Then you have to do it in deploy phase or the prevous one
How do you define your ant task? I think this is just a matter of how
the classpaths are defined and can be fixed - check that it is not in
JIRA and if not, please add it.
Thanks,
Brett
On 11/25/05, Henry Isidro [EMAIL PROTECTED] wrote:
Hi. I'm trying to run an ant task from the antrun plugin.
Hi. I'm trying to run an ant task from the antrun plugin. When I try to
define some dependencies as provided so that the packaging won't
include them, the build stops and complains that the ant task can't find
classes found in those provided dependencies. Everything works fine if
I specify
I believe that the plugin requires the 2.0 beta-1 release of Maven and
will be released alongside it.
Cheers,
Brett
On 8/23/05, Chris Berry [EMAIL PROTECTED] wrote:
Greetings,
I am trying to get the m2 maven-antrun-plugin to run. I have gotten
pretty far but now I'm stumped.
First I
Greetings,
I am trying to get the m2 maven-antrun-plugin to run. I have gotten
pretty far but now I'm stumped.
First I downloaded the latest/greatest m2 from SVN. Then I pulled the
maven-antrun-plugin code out and built it, after hacking a bit. I had
to;
1) Change the pom.xml parent version
2
28 matches
Mail list logo