Hi, all,
I have searched the achieve but did not find anything related. So
please bear with me if it has been asked before.
This happens to me whenever I use mvn 2.0.4 or 2.0.5. I ran mvn in
cygwin on WinXp with JDK 1.6 (build 1.6.0_01-ea-b0) installed
For some reason, the execution of 'mvn
Try 'maven clean' first then recompile.
Somehow if the class files exist in target dir, the compiler may not
overwrite them. These class files may have been compiled in 1.5 prior to
your changes to pom.xml
Cheers,
AK
-Original Message-
From: Mang Jun Lau [mailto:[EMAIL PROTECTED]
Many people have migrated from ant to maven. And I did too.
I think there is no magic bullet to the migration. You have to be familiar
with what your complex build.xml does and then translate the build
processes in your build.xml to corresponding maven goals. I ended up writing
a maven plugin for
You can setup an in-house repository. I setup mine using apache. Then
download the jars from sun and store them in your inhouse repo.
Then add this to your pom.xml
...
repositories
repository
idlibrary/id
namelibrary/name
Hi, all,
When I tried to use svn to check out the latest plugin sources, I got this
error:
$ svn co http://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk
maven-1/plugins/trunk
svn: REPORT request failed on '/repos/asf/!svn/vcc/default'
svn: REPORT of '/repos/asf/!svn/vcc/default': 400
You can take a look at the maven eclipse plugin for a start.
(http://maven.apache.org/reference/plugins/eclipse/goals.html)
In partciular, the goal eclipse:add-maven-repo should be able to help you
out to make the dependencies visible in eclipse.
Cheers,
AK
-Original Message-
From:
: Re: [m11b2] Long coercion exception
It happens somewhere after this echo:
[echo] Clearing the old source ...
It looks like there is a property or expression somewhere with a '-'
in the name,
e.g. ${12-there} or ${label-1} or something similar.
On 10/7/05, Anthony Kong [EMAIL PROTECTED
coercion exception
Try running maven -X whateverGoalCausesTheProblem
Somewhere there is an expression, probably with a +/- or other arithmetic
expression in it.
On 10/7/05, Anthony Kong [EMAIL PROTECTED] wrote:
Hi,
Thanks for the reply! Actually there is so little information, I do
not know even
Hi, all,
Anyone has any idea what cause this exception?
Cheers,
AK
==
Caught exception evaluating:
mailto:[EMAIL PROTECTED]
[EMAIL PROTECTED] Reason: java.l
ang.Exception: Long coercion exception
java.lang.Exception: Long coercion exception
at
: [m11b2] Long coercion exception
I'm guessing the expression starting with 'mailto:' is being parsed as a
number.
Where is it being declared?
On 10/6/05, Anthony Kong [EMAIL PROTECTED] wrote:
Hi, all,
Anyone has any idea what cause this exception?
Cheers,
AK
Hi, all,
Due to a particular need of my project, i have to copy some dependencies to
another directory. The dependencies include a war file. I have written this
code fragment in a maven.xml
j:forEach var=lib items=${pom.artifacts}
ant:echo ${lib.name}/ant:echo
j:set
introduce a war file of different
groupId and artfactId (says haha), I can see this particular war file
(haha-x.y.z.war) ...
Is it a bug? Is there a workaround of this issue?
Cheers,
AK
-Original Message-
From: Anthony Kong [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 October 2005 9:32 AM
: Anthony Kong [mailto:[EMAIL PROTECTED]
Sent: Thursday, 6 October 2005 10:02 AM
To: 'Maven Users List'
Subject: RE: [m1.0.2] war file not in dependency list in goal execution
I think I have found out the cause (not the solution, though)
Actually in my dependency list I have these entries
!
Thanks,
Anthony
-Original Message-
From: Andy Glick [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 27 September 2005 12:34 PM
To: Maven Users List
Cc: 'Maven Users List'
Subject: RE: using maven.test.skip
At 08:32 PM 9/26/2005, Anthony Kong wrote:
2) To proceed, I hardcoded the value
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Glick
Sent: Monday, 26 September 2005 11:38 AM
To: users@maven.apache.org
Subject: Re: using maven.test.skip
Anthony Kong wrote:
Hi, all,
I have written a custom plugin for a in-house project which will
produce a ear file at the end
Hi, all,
I have written a custom plugin for a in-house project which will produce a
ear file at the end.
There is a number of goals defined in this plugin. One of these is:
goal name=projecct:ear-build description=Invokes ejb:install and
war:install goal
j:set var=maven.test.skip
Hi, all,
I have the ear goal to build a ear file but it turns out that it does not
include any class or jar files. Any suggestion to how I can solve this
problem?
The only property I used concering ear is this:
Sorry. Hit the send button by mistake.
Here is the complete message:
Hi, all,
I have the ear goal to build a ear file but it turns out that it does not
include any class or jar files. Any suggestion to how I can solve this
problem?
The only property I used
Hi, all,
In eclipse, we can specify in each library in the workbench the location of
Source Attachment or JavaDoc Location. How can I define these attribute in
maven?
Cheers,
AK
Hi, all,
I wonder where I can get more information/example of the use of the goal
multiproject:site?
Basically I have a dir structure as such:
src/
projectA
projectB
tests/
projectA
projectB
Each of them shall result in a jar file.
And I am reluctent to move the file around
Hi, all,
In my project.xml, I have this pregoal definition:
project
!--
==
Goals
==
--
preGoal name=java:compile
attainGoal name=checkstyle:run /
/preGoal
I have seen the following message in my maven log when I use -X flag with
maven. How can I know what caused this error?
Regards,
Anthony
=
2003-06-02 16:03:18,480 WARN
org.apache.commons.jelly.expression.jexl.JexlExpression -
22 matches
Mail list logo