Re: how to add classpath in MAVEN

2005-03-18 Thread Hamza Hydri
Gokulam,

did you try setting the environment variable in your computer settings
? you can edit Maven_Home variable there and add all your JARs to the
classpath

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Hamza,
I want to add these files dynamically. The jar files may change, so I
want them to be set dynamically. Is there a possible way for it?
Thanks in advance,
Jayaram

-Original Message-
From: Hamza Hydri [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:33 PM
To: Maven Users List
Subject: Re: how to add classpath in MAVEN

Gokulam,

did you try setting the environment variable in your computer settings
? you can edit Maven_Home variable there and add all your JARs to the
classpath

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Thanks Bernhard,
 I placed the jar files as per your suggestion.I then added the dependency in 
the Project.xml file. Now I executed maven, which attempts to download the 
dependent file and build fails, as it is looking to download from the ibiblio 
central repository.
Can u help me solving this please.
Thanks in advance,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:42 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

I has a similar question yesterday,
Hamza posted the following answer, which solved my problem:

when you are asking maven to load the dependencies locally, you have
to place the jars in the {user.home}\.maven\repository\ location ...
under the appropriate subfolder
 
for eg:
{user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar

store all your dependencies this way in the repository folder.

cheers !

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 10:46
An: Maven Users List
Betreff: how to add classpath in MAVEN


Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
picks up my ejb files and compile.

Also I may want to add other library files to the classpath. Can anybody
help me in this regard please?

 

 

Thanks in advance

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the intended recipient) or copying this 
information. If you have received this communication in error, please notify us 
immediately by return email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: how to add classpath in MAVEN

2005-03-18 Thread Hamza Hydri
Gokulam,

try to set maven.mode.online=false in your build.properties file. 

check it now whether it is still trying to connect to ibiblio.org


On Fri, 18 Mar 2005 15:56:29 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Thanks Bernhard,
> I placed the jar files as per your suggestion.I then added the dependency in 
> the Project.xml file. Now I executed maven, which attempts to download the 
> dependent file and build fails, as it is looking to download from the ibiblio 
> central repository.
> Can u help me solving this please.
> Thanks in advance,
> Jayaram
> 
> -Original Message-
> From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 3:42 PM
> To: 'Maven Users List'
> Subject: AW: how to add classpath in MAVEN
> 
> Hi Jayaram,
> 
> I has a similar question yesterday,
> Hamza posted the following answer, which solved my problem:
> 
> when you are asking maven to load the dependencies locally, you have
> to place the jars in the {user.home}\.maven\repository\ location ...
> under the appropriate subfolder
> 
> for eg:
> {user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar
> 
> store all your dependencies this way in the repository folder.
> 
> cheers !
> 
> -Ursprüngliche Nachricht-
> Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 18. März 2005 10:46
> An: Maven Users List
> Betreff: how to add classpath in MAVEN
> 
> Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
> picks up my ejb files and compile.
> 
> Also I may want to add other library files to the classpath. Can anybody
> help me in this regard please?
> 
> Thanks in advance
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is
> addressed. It may contain privileged, confidential information which is
> exempt from disclosure under applicable laws. If you are not the intended
> recipient, please note that you are strictly prohibited from disseminating
> or distributing this information (other than to the intended recipient) or
> copying this information. If you have received this communication in error,
> please notify us immediately by return email.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is 
> addressed. It may contain privileged, confidential information which is 
> exempt from disclosure under applicable laws. If you are not the intended 
> recipient, please note that you are strictly prohibited from disseminating or 
> distributing this information (other than to the intended recipient) or 
> copying this information. If you have received this communication in error, 
> please notify us immediately by return email.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Hi Bernhard and Hamza,
Thanks for your support.
Am still facing the same problem.
I placed j2ee-1.3.jar file under the following location,
C:\Documents and Settings\JGokulam\.maven\repository\j2ee\jars
And added

  j2ee
  j2ee
  1.3
   
In the dependency section of my Project.xml.


I got the following error
Attempting to download j2ee-1.3.jar.
WARNING: Failed to download j2ee-1.3.jar.
The build cannot continue because of the following unsatisfied dependency:

j2ee-1.3.jar

Total time: 6 seconds
Finished at: Fri Mar 18 16:23:01 IST 2005

Then I did set the maven.mode.online=false in my build.properties file.

This time it displayed the following error
The build cannot continue because of the following unsatisfied dependency:

j2ee-1.3.jar

Total time: 1 seconds
Finished at: Fri Mar 18 16:24:32 IST 2005

Please let me know if I missed any of your steps.

Thanks in advance
Jayaram
-Original Message-
From: Hamza Hydri [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:13 PM
To: Maven Users List
Subject: Re: how to add classpath in MAVEN

Gokulam,

try to set maven.mode.online=false in your build.properties file. 

check it now whether it is still trying to connect to ibiblio.org


On Fri, 18 Mar 2005 15:56:29 +0530, GOKULAM Jayaram
<[EMAIL PROTECTED]> wrote:
> Thanks Bernhard,
> I placed the jar files as per your suggestion.I then added the dependency in 
> the Project.xml file. Now I executed maven, which attempts to download the 
> dependent file and build fails, as it is looking to download from the ibiblio 
> central repository.
> Can u help me solving this please.
> Thanks in advance,
> Jayaram
> 
> -Original Message-
> From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 18, 2005 3:42 PM
> To: 'Maven Users List'
> Subject: AW: how to add classpath in MAVEN
> 
> Hi Jayaram,
> 
> I has a similar question yesterday,
> Hamza posted the following answer, which solved my problem:
> 
> when you are asking maven to load the dependencies locally, you have
> to place the jars in the {user.home}\.maven\repository\ location ...
> under the appropriate subfolder
> 
> for eg:
> {user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar
> 
> store all your dependencies this way in the repository folder.
> 
> cheers !
> 
> -Ursprüngliche Nachricht-
> Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 18. März 2005 10:46
> An: Maven Users List
> Betreff: how to add classpath in MAVEN
> 
> Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
> picks up my ejb files and compile.
> 
> Also I may want to add other library files to the classpath. Can anybody
> help me in this regard please?
> 
> Thanks in advance
> 
> Jayaram
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is
> addressed. It may contain privileged, confidential information which is
> exempt from disclosure under applicable laws. If you are not the intended
> recipient, please note that you are strictly prohibited from disseminating
> or distributing this information (other than to the intended recipient) or
> copying this information. If you have received this communication in error,
> please notify us immediately by return email.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> Confidentiality Statement:
> 
> This message is intended only for the individual or entity to which it is 
> addressed. It may contain privileged, confidential information which is 
> exempt from disclosure under applicable laws. If you are not the intended 
> recipient, please note that you are strictly prohibited from disseminating or 
> distributing this information (other than to the intended recipient) or 
> copying this information. If you have received this communication in error, 
> please notify us immediately by return email.
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Confidentiality Statement:

This message is intended only for the individual or entity to which it is 
addressed. It may contain privileged, confidential information which is exempt 
from disclosure under applicable laws. If you are not the intended recipient, 
please note that you are strictly prohibited from disseminating or distributing 
this information (other than to the inten

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
dAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 1 seconds
Finished at: Fri Mar 18 16:32:29 IST 2005

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:07 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

when maven looks for the jar in the ibiblio central repository it means it
did not find it in you local repository.
So I think you just didn't put it in the right folder.
My Example:
   
  servletapi
  servlet-api
  2.4
   

It looks under this location:
{user.home}\.maven\repository\servletapi\jars\servletapi-2.4.jar

be careful with the directories you need the struture
.maven\repository\\jars
Also when you have the version this is included automatically in the
filename.
When you want to select you own filename you have to use
myjar.jar 

When you still have problems send your  entry + the exact
location of your file.

Good luck.

Bernhard

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 11:26
An: Maven Users List
Betreff: RE: how to add classpath in MAVEN


Thanks Bernhard,
 I placed the jar files as per your suggestion.I then added the dependency
in the Project.xml file. Now I executed maven, which attempts to download
the dependent file and build fails, as it is looking to download from the
ibiblio central repository.
Can u help me solving this please.
Thanks in advance,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 3:42 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

Hi Jayaram,

I has a similar question yesterday,
Hamza posted the following answer, which solved my problem:

when you are asking maven to load the dependencies locally, you have
to place the jars in the {user.home}\.maven\repository\ location ...
under the appropriate subfolder
 
for eg:
{user.home}\.maven\repository\servletapi\jar\servletapi-2.4-20040521.jar

store all your dependencies this way in the repository folder.

cheers !

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 10:46
An: Maven Users List
Betreff: how to add classpath in MAVEN


Hi I want to add j2ee.jar file in the classpath of MAVEN , so that it
picks up my ejb files and compile.

Also I may want to add other library files to the classpath. Can anybody
help me in this regard please?

 

 

Thanks in advance

Jayaram

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Confidentiality Statement:

This message is intended only for the individual or entity to which it is
addressed. It may contain privileged, confidential information which is
exempt from disclosure under applicable laws. If you are not the intended
recipient, please note that you are strictly prohibited from disseminating
or distributing this information (other than to the intended recipient) or
copying this information. If you have received this communication in error,
please notify us immediately by return email.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Confidentiality Statement:

This message is intend

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at 
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

You have encountered an unknown error running Maven. Please help us to correct
this problem by following these simple steps:
- read the Maven FAQ at http://maven.apache.org/faq.html
- run the same command again with the '-e' parameter, eg maven -e jar
- search the maven-user archives for the error at
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]
- post the output of maven -e to JIRA at
http://jira.codehaus.org/BrowseProject.jspa?id=10030 (you must sign up first)
- run 'maven --info' and post the output as the environment to the bug above


Total time: 1 seconds
Finished at: Fri Mar 18 16:53:23 IST 2005

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 4:41 PM
To: Maven Users List
Subject: AW: how to add classpath in MAVEN

Sorry this was just a typo
Just use mcone_cmn.jar

-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 12:08
An: Maven Users List; Hamza Hydri; Bernhard Slominski
Betreff: RE: how to add classpath in MAVEN


Hamza & Bernhard,
Thanks dudes, it worked.The path of my local repository was wrong in the
build.properties file, when I changed it, it worked.
Thank you very much for your support.

Now am with the next problem. I have a jar file without a version,I did the
same local repository placement for this jar file, and added it in the
dependency section, as suggested by benhard
mcone_cmn.jar
This time I got the following error. How should I avoid the version.
Expecting your help again.

Thanks in advance,
Jayaram

Error:
 Parse Fatal Error at line 74 column 23: The element type "jar" must be
terminated by the matchi
ng end-tag "".
org.xml.sax.SAXParseException: The element type "jar" must be terminated by
the matching end-ta
g "".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.disp
atch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.maven.MavenException: Error parsing project.xml 'C:\Maven
1.0.2\bin\project.xml'
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:14

RE: how to add classpath in MAVEN

2005-03-18 Thread GOKULAM Jayaram
Thanks Bernhard,

It  worked now. Thank you very much buddy.

Thanks,
Jayaram

-Original Message-
From: Bernhard Slominski [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 18, 2005 5:04 PM
To: 'Maven Users List'
Subject: AW: how to add classpath in MAVEN

It should look like this:

  
  mcone_cmn
  mcone_cmn
  mcone_cmn.jar.jar
  

The group id still corresponds to the directory!
So your jar file location is:
C:\Documents and
Settings\JGokulam\.maven\repository\mcone_cmn\jars\mcone_cmn.jar.jar

The only difference it that the file name is NOT made up of the 
and 


-Ursprüngliche Nachricht-
Von: GOKULAM Jayaram [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 18. März 2005 12:25
An: Maven Users List
Betreff: RE: how to add classpath in MAVEN


Bernhard,
Thanks for your reply. I tried as per your suggestion.

I entered

  mcone_cmn
   
In my project.xml file.
and am getting the following error,which says groupId and artifactId is
must.

Expecting your help

Thanks in advance,
Jayaram



End event threw exception
java.lang.IllegalStateException: either id or (groupId and artifactId) must
be provided for a d
ependency
at org.apache.maven.project.Dependency.getId(Dependency.java:116)
at org.apache.maven.project.Dependency.toString(Dependency.java:313)
at java.lang.String.valueOf(String.java:2131)
at java.lang.StringBuffer.append(StringBuffer.java:370)
at
org.apache.commons.betwixt.expression.MethodUpdater.update(MethodUpdater.jav
a:135)
at
org.apache.commons.betwixt.io.BeanCreateRule.end(BeanCreateRule.java:357)
at org.apache.commons.digester.Rule.end(Rule.java:276)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1064)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc
her.disp
atch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.commons.digester.Digester.parse(Digester.java:1527)
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:203)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
org.apache.maven.MavenException: Error parsing project.xml 'C:\Maven
1.0.2\bin\project.xml'
at
org.apache.maven.MavenUtils.getNonJellyProject(MavenUtils.java:207)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:143)
at org.apache.maven.MavenUtils.getProject(MavenUtils.java:122)
at
org.apache.maven.MavenSession.initializeRootProject(MavenSession.java:232)
at org.apache.maven.MavenSession.initialize(MavenSession.java:172)
at org.apache.maven.cli.App.doMain(App.java:475)
at org.apache.maven.cli.App.main(App.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25
)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)
--- Nested Exception ---
java.lang.IllegalStateException: either id or (groupId and artifactId) must
be provided for a d
ependency
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2383)
at
org.apache.commons.digester.Digester.createSAXException(Digester.java:2409)
at
org.apache.commons.digester.Digester.endElement(Digester.java:1067)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknow