Fatal Error Compiling

2005-12-19 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,



I am new to Maven. I am trying to set it up.

I have downloaded Maven  (also the classpath and path have been set,
java version that I use is JSDK1.4.0_02).

When I try to compile, I get the error: Fatal Error Compiling.

Could someone please help me out...



Regards,

Kiran



D:\maven-2.0\my-app>mvn compile

[INFO] Scanning for projects...

[INFO]

-

---

[INFO] Building Maven Quick Start Archetype

[INFO]task-segment: [compile]

[INFO]

-

---

[INFO] [resources:resources]

[INFO] Using default encoding to copy filtered resources.

[INFO] [compiler:compile]

Compiling 1 source file to D:\maven-2.0\my-app\target\classes

[INFO]

-

---

[ERROR] BUILD ERROR

[INFO]

-

---

[INFO] Fatal error compiling



Embedded error: Error while executing the compiler.

[INFO]

-

---

[INFO] For more information, run Maven with the -e switch

[INFO]

-

---

[INFO] Total time: 2 seconds

[INFO] Finished at: Mon Dec 19 16:56:57 GMT+05:30 2005

[INFO] Final Memory: 2M/5M

[INFO]

-







This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

Need help in installing Maven

2005-12-21 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi All,

I am new to Maven. Could someone help me figure out why I am getting
this error? I could create the archetype but when I tried to compile the
same, I am getting this error. Also, I am using sun JDK1.4.0_02.

Thanks and Regards,
Kiran

D:\MavenDownload\maven-2.0\my-app>mvn compile
[INFO] Scanning for projects...
[INFO]
---
---
[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [compile]
[INFO]
---
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 1 source file to
D:\MavenDownload\maven-2.0\my-app\target\classes
[INFO]
---
---
[ERROR] BUILD ERROR
[INFO]
---
---
[INFO] Fatal error compiling

Embedded error: Error while executing the compiler.
[INFO]
---
---
[INFO] For more information, run Maven with the -e switch
[INFO]
---
---
[INFO] Total time: 1 second
[INFO] Finished at: Wed Dec 21 19:02:15 GMT+05:30 2005
[INFO] Final Memory: 2M/5M
[INFO]
---
---

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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



RE: Need help in installing Maven

2005-12-21 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,

I tried using the -e option... and also moving it to a separate folder.
Still doesn't work...

The stack trace...
D:\MavenDownload\my-app>mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]

-
---
[INFO] Building Maven Quick Start Archetype
[INFO]task-segment: [compile]
[INFO]

-
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 1 source file to D:\MavenDownload\my-app\target\classes
[INFO]

-
---
[ERROR] BUILD ERROR
[INFO]

-
---
[INFO] Fatal error compiling

Embedded error: Error while executing the compiler.
[INFO]

-
---
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error
compiling
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:544)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:469)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:448)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:301)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:268)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:137)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error
compiling

at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:412)
at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:110)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:399)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:519)
... 16 more
Caused by: org.codehaus.plexus.compiler.CompilerException: Error while
executing
 the compiler.
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:378)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompile
r.java:136)
at
org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:407)
... 19 more
Caused by: java.lang.NoSuchMethodException: compile
at java.lang.Class.getMethod0(Class.java:1742)
at java.lang.Class.getMethod(Class.java:951)
at
org.codehaus.plexus.compiler.javac.JavacCompiler.compileInProcess(Jav
acCompiler.java:370)
... 21 more
[INFO]

-
---
[INFO] Total time: 1 second
[INFO] Finished at: Thu Dec 22 09:23:10 GMT+05:30 2005
[INFO] Final Memory: 2M/5M
[INFO]

-
---

-Original Message-
From: Christopher Cobb [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 8:37 PM
To: 'Maven Users List'
Subject: RE: Need help in installing Maven

As a matter of style, I would create a directory named D:\MavenProjects
and
put my projects in there, and leave the maven-2.0 directory untouched.

Oh yeah, and use the -e option.

-Original Message-----
From: Pagadala Baskar, Kiran Kumar (Cognizant)
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 8:37 AM
To: Maven Users List
Subject: Need help in installing Maven


Hi All,

I am new to Maven. Could someone help me figure out why I am getting
this error? I could create the archetype but when I tried to compile the
same, I am getting this error. Also, I am using sun JDK1.4.0_02.

Thanks and Regards,
Kiran

D:\MavenDownload\maven-2.0\my-app>mvn compile
[INFO] Scanning 

Setting up an issue management system

2005-12-28 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi All,



Could you please guide me in setting up an issue management system using
Maven for a simple java project.

One more query, is the mailing list and the developer list given in
POM.xml used only for generating documentation or does it serve a higher
prupose?



Regards,

Kiran



This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

Help Needed in installing changes-maven-plugin

2006-01-01 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,

I am trying to use the changes-maven-plugin found in Mojo.
I am getting the following error in cmd prompt. Please let me know if I
am missing on something.

---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: changes-maven-plugin
Version: 2.0-beta-1-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.codehaus.mojo:changes-maven-plugin:pom:2.0-beta-1-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Regards,
Kiran

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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



RE: Help Needed in installing changes-maven-plugin

2006-01-01 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi Allan,

I figured that out just a few mins ago :)
But, Thanks for the help.

Regards,
Kiran


-Original Message-
From: Allan Ramirez [mailto:[EMAIL PROTECTED]
Sent: Monday, January 02, 2006 11:53 AM
To: Maven Users List
Subject: Re: Help Needed in installing changes-maven-plugin

Hi,

Try to use version 2.0-beta-1 instead.

-allan

Pagadala Baskar, Kiran Kumar (Cognizant) wrote:

>Hi,
>
>I am trying to use the changes-maven-plugin found in Mojo.
>I am getting the following error in cmd prompt. Please let me know if I
>am missing on something.
>
>---
>[INFO] Failed to resolve artifact.
>
>GroupId: org.codehaus.mojo
>ArtifactId: changes-maven-plugin
>Version: 2.0-beta-1-SNAPSHOT
>
>Reason: Unable to download the artifact from any repository
>
>  org.codehaus.mojo:changes-maven-plugin:pom:2.0-beta-1-SNAPSHOT
>
>from the specified remote repositories:
>  central (http://repo1.maven.org/maven2)
>
>Regards,
>Kiran
>
>This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
>If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
>Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
>prohibited and may be unlawful.
>
>  Visit us at http://www.cognizant.com
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> 
>


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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



How to specify external jars

2006-01-03 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,

I have a couple of external jars that I need for my Project compilation.

I have uploaded them to the local repository using:

mvn install:install-file -Dfile=\JAR_NAME.jar
-DgroupId=groupId
-DartifactId=JAR_NAME -Dversion=1.0 -Dpackaging=jar

I tried adding the jar as a dependency to my POM.xml.

When I try to compile the project using mvn compile, it is still not
detected. I even tried to add the jars to my CLASSPATH manually. Even
that doesn't help.

Could someone please let me know where I am going wrong?

Thanks and Regards,
Kiran


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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



RE: How to specify external jars

2006-01-03 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,

I am still stuck with this issue. Could someone please let me know what
could possibly be wrong?

Regards,
Kiran

-Original Message-
From: Pagadala Baskar, Kiran Kumar (Cognizant)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 03, 2006 5:40 PM
To: Maven Users List
Subject: How to specify external jars


Hi,

I have a couple of external jars that I need for my Project compilation.

I have uploaded them to the local repository using:

mvn install:install-file -Dfile=\JAR_NAME.jar
-DgroupId=groupId

-DartifactId=JAR_NAME -Dversion=1.0 -Dpackaging=jar

I tried adding the jar as a dependency to my POM.xml.

When I try to compile the project using mvn compile, it is still not
detected. I even tried to add the jars to my CLASSPATH manually. Even
that doesn't help.

Could someone please let me know where I am going wrong?

Thanks and Regards,
Kiran


This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.

Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly

prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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



RE: How to specify external jars

2006-01-05 Thread Pagadala Baskar, Kiran Kumar \(Cognizant\)

Hi,

Thanks for the pointers Allan and Kenney.
Will try and get back in case of any issues.

Regards,
Kiran

-Original Message-
From: Allan Ramirez [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 05, 2006 3:41 PM
To: Maven Users List
Subject: Re: How to specify external jars

Try this

http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIinstallafilei
nmylocalrepositoryalongwithagenericPOM

Kenney Westerhof wrote:

>On Wed, 4 Jan 2006, Pagadala Baskar, Kiran Kumar (Cognizant) wrote:
>
>My guess is that there's no .pom next to the jar.. You need to create a
>small pom listing the groupId, artifactId and version (same filename as
>the jar except ending in .pom, not .jar).
>
>Is that it?
>
>-- Kenney
>
> 
>
>>Hi,
>>
>>I am still stuck with this issue. Could someone please let me know
what
>>could possibly be wrong?
>>
>>Regards,
>>Kiran
>>
>>-Original Message-
>>From: Pagadala Baskar, Kiran Kumar (Cognizant)
>>[mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, January 03, 2006 5:40 PM
>>To: Maven Users List
>>Subject: How to specify external jars
>>
>>
>>Hi,
>>
>>I have a couple of external jars that I need for my Project
compilation.
>>
>>I have uploaded them to the local repository using:
>>
>>mvn install:install-file -Dfile=\JAR_NAME.jar
>>-DgroupId=groupId
>>
>>-DartifactId=JAR_NAME -Dversion=1.0 -Dpackaging=jar
>>
>>I tried adding the jar as a dependency to my POM.xml.
>>
>>When I try to compile the project using mvn compile, it is still not
>>detected. I even tried to add the jars to my CLASSPATH manually. Even
>>that doesn't help.
>>
>>Could someone please let me know where I am going wrong?
>>
>>Thanks and Regards,
>>Kiran
>>
>>
>>This e-mail and any files transmitted with it are for the sole use of
>>the intended recipient(s) and may contain confidential and privileged
>>information.
>>If you are not the intended recipient, please contact the sender by
>>reply e-mail and destroy all copies of the original message.
>>
>>Any unauthorised review, use, disclosure, dissemination, forwarding,
>>printing or copying of this email or any action taken in reliance on
>>this e-mail is strictly
>>
>>prohibited and may be unlawful.
>>
>>  Visit us at http://www.cognizant.com
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>This e-mail and any files transmitted with it are for the sole use of
the intended recipient(s) and may contain confidential and privileged
information.
>>If you are not the intended recipient, please contact the sender by
reply e-mail and destroy all copies of the original message.
>>Any unauthorised review, use, disclosure, dissemination, forwarding,
printing or copying of this email or any action taken in reliance on
this e-mail is strictly
>>prohibited and may be unlawful.
>>
>>  Visit us at http://www.cognizant.com
>>
>>-
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>   
>>
>
>--
>Kenney Westerhof
>http://www.neonics.com
>GPG public key: http://www.gods.nl/~forge/kenneyw.key
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> 
>


This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply 
e-mail and destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing 
or copying of this email or any action taken in reliance on this e-mail is 
strictly
prohibited and may be unlawful.

  Visit us at http://www.cognizant.com

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