"build.xml:141: Java Returned 1".. Help me out to kill this error.

2008-05-18 Thread SelvaKumar
Hi, I have downloaded MAVEN2.2 source. When i tried to build the source using ant, It gave an error lik "error:build.xml:141 Java Returned 1". I can't resolve this issue? Has anybody come across this kind of problems? Help me by giving me valuable info.. Thanks in advance... -- View t

Re: jboss maven ear support documentation (as mentioned on the ear plugin page)?

2008-05-18 Thread Rick
Thanks wayne. They also have some other properties that are Jboss specific. It would just be nice to see some examples, although I can probably figure it out from the brief list they give (shown below.) Just seems like at some point they had examples since the docs mention: "You can take a look at

Re: jboss maven ear support documentation (as mentioned on the ear plugin page)?

2008-05-18 Thread Wayne Fay
I didn't write the documentation of the EAR module so I can't be certain, but I would assume this is a reference to the sarModule and harModule sections in the Configuration/EAR Modules page: http://maven.apache.org/plugins/maven-ear-plugin/modules.html#sarModule http://maven.apache.org/plugins/mav

jboss maven ear support documentation (as mentioned on the ear plugin page)?

2008-05-18 Thread Rick
At the bottom of this page http://maven.apache.org/plugins/maven-ear-plugin/usage.html it mentions "Hibernate archives (HAR) and Service archives (SAR) will be recognized automatically and added the the jboss-app.xml file. You can take a look at the examples for more information on the JBoss suppo

Re: Maven not recognising the local repository

2008-05-18 Thread Wayne Fay
On Sun, May 18, 2008 at 1:04 PM, NinaBinde <[EMAIL PROTECTED]> wrote: > > Thanks for that. You are right, it is only recognising a couple of them and > ignoring the rest. I noticed the ones which it is recognising, it has > "provided" in the pom. The others which it is not recognising > have runtim

Re: Maven not recognising the local repository

2008-05-18 Thread NinaBinde
Thanks for that. You are right, it is only recognising a couple of them and ignoring the rest. I noticed the ones which it is recognising, it has "provided" in the pom. The others which it is not recognising have runtime. I am 100% sure that my pom.xml is fine since few others use the same pom.xml

Re: Maven not recognising the local repository

2008-05-18 Thread Wendy Smoak
On Sun, May 18, 2008 at 8:41 AM, NinaBinde <[EMAIL PROTECTED]> wrote: > > Thanks for the reply. The pom.xml is having all the dependencies since Maven > downloaded all the jars into the repository using the same pom.xml. Is there > anything else which I might be missing? Just above the compilation

Re: Maven not recognising the local repository

2008-05-18 Thread NinaBinde
Thanks for the reply. The pom.xml is having all the dependencies since Maven downloaded all the jars into the repository using the same pom.xml. Is there anything else which I might be missing? Wayne Fay wrote: > > It is not merely sufficient to have the artifacts you need in your > project a

Re: Maven not recognising the local repository

2008-05-18 Thread Wayne Fay
It is not merely sufficient to have the artifacts you need in your project available in the repo. You must also add in your pom.xml file for each of the artifacts so they are brought in at compile-time and available in the classpath. Looking at the messages below, it seems like you need to add a

Re: Unexpected element "artifact:dependencies"

2008-05-18 Thread Dennis Lundberg
Your build.xml works for me using Ant 1.6.5. Which version of Ant do you use? sudheshna iyer wrote: Thank you very much for your help. As per the instructions, I have downloaded maven-ant-tasks-2.0.9.jar and put it in the ant lib directory. I also can find it in the list of directories when I d

Re: Unexpected element "artifact:dependencies"

2008-05-18 Thread Hervé BOUTEMY
uh, this time, I can't see anything wrong: there must be a subtle mistake somewhere. Can you attach your build.xml and output of "ant -diagnostics"? Le dimanche 18 mai 2008, sudheshna iyer a écrit : > Thank you very much for your help. > > As per the instructions, I have downloaded > maven-ant-ta

Re: Maven not recognising the local repository

2008-05-18 Thread Tim Kettler
Hi, More information is needed to solve your problem. Can you post the exact error message maven prints (probably it would be best to post the relevant output from the build log running maven with -X). How was the repository poulated? Did maven download the dependencies at one point and now