RE: Docbook and Maven: The source of "Maven: The Definitive Guide"

2008-10-01 Thread Jörg Schaible
Rusty Wright wrote:
> Where is the documentation for the xsite plugin

xsite.codehaus.org

> he says that we
> should use instead of apt? 

- Jörg

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



RE: Putting file in META-INF in EAR

2008-10-01 Thread Bernard Perchman

Actually you can do this much more simply: just add a
/src/main/application/META-INF folder to your build; the plugin will include
files here automatically. However, if you're working with Jboss and need to
add a jboss-app to include loader repository config (eg 


   
  javax.xml.ws:archive=my specific.ear
  
 java2ParentDelegation=false 
  
  

),

, you're now including a reference to the version of your ear file.  You
want to make this dynamic, so you'd therefore need to add a  tag
in your  and then set filtering to true.


Vikramaditya Garg wrote:
> 
> My Friend
> 
> Use the following configuration
> 
> Initially you should add packaging to ear
> 
> ear
> 
> Then...configure ur more elements in POM
> 
> ${application.id}-${pom.version}
> 
> 
> src/main/config
> ../
> true
> 
> 
> src/main/application
>
> ../${application.id}-${pom.version}
> true
> 
> 
> 
> You need to configure the plugins as well
> 
> 
> 
> org.apache.maven.plugins
> maven-ear-plugin
> 2.1
> 
> **/*.xml
> **/jboss-app.xml
> 1.4
> 
> 
> ${pom.groupId}
> app-common
>
> true
> 
> 
> ${pom.groupId}
> app-core
> 
> 
> ${pom.groupId}
> app-web
> /${application.id}
> 
> 
> 
> 
> 
> In the plugins element, you must specify the modules you configured.
> 
> Please use the above configuration and notify in case of issue
> 
> Thanks
> Vikramaditya Garg
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 12, 2008 1:12 PM
> To: users@maven.apache.org
> Subject: Putting file in META-INF in EAR
> 
> We want to create an EAR file and add some files to the META-INF
> directory.  I've done some research on the internet, but without any luck
> so far.  I've added this to my POM-file:
> 
> 
> 
> 
> ${basedir}/src/main/security
> META-INF
> 
> was.policy
> 
>  
> 
> 
> But that doesn't work.  Anyone else has an idea on how to do this?  We use
> the maven-ear-plugin to create the EAR-file, but I haven't found anything
> in the documentation regarding this problem.
> 
> 
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
> 
>  CAUTION - Disclaimer *
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely 
> for the use of the addressee(s). If you are not the intended recipient,
> please 
> notify the sender by e-mail and delete the original message. Further, you
> are not 
> to copy, disclose, or distribute this e-mail or its contents to any other
> person and 
> any such actions are unlawful. This e-mail may contain viruses. Infosys
> has taken 
> every reasonable precaution to minimize this risk, but is not liable for
> any damage 
> you may sustain as a result of any virus in this e-mail. You should carry
> out your 
> own virus checks before opening the e-mail or attachment. Infosys reserves
> the 
> right to monitor and review the content of all messages sent to or from
> this e-mail 
> address. Messages sent to or from this e-mail address may be stored on the 
> Infosys e-mail system.
> ***INFOSYS End of Disclaimer INFOSYS***
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Putting-file-in-META-INF-in-EAR-tp18939464p19772329.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Docbook and Maven: The source of "Maven: The Definitive Guide"

2008-10-01 Thread Rusty Wright

Where is the documentation for the xsite plugin he says that we should use 
instead of apt?


Nick Stolwijk wrote:

I am looking at creating some documentation with Maven and Docbook. I
saw the blogpost of Tim O'Brien at Sonatype.com [1] and read that the
Maven guide from Sonatype is completely written in Docbook and build
with Maven. I was wondering whether the source of this guide is
available for study? (How to do things) If not, does anyone know of an
open source project which has its documentation build with Maven and
Docbook?

With regards,

[1] http://blogs.sonatype.com/book/2008/04/14/120817710.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl

-
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]



all profiles active by default?

2008-10-01 Thread Rusty Wright

Maven version: 2.0.9
Java version: 1.5.0_16
OS name: "linux" version: "2.6.24-19-server" arch: "i386" Family: "unix"


I have my profiles in the file profiles.xml and if I don't have the lines


false


in each profile, then when I run

mvn help:active-profiles

it lists all of the profiles in the profiles.xml file as active.

Is that the correct behavior?  Here's how my profiles.xml file starts:

http://maven.apache.org/profiles/1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="
http://maven.apache.org/profiles/1.0.0
http://maven.apache.org/xsd/profiles-1.0.0.xsd";>




localhost-postgres




postgres


localhost
8080


org.postgresql.Driver
jdbc:postgresql://mendocino/peoplelocator2
rusty
BigFatSecret


org.hibernate.dialect.PostgreSQLDialect


people_locator



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



Re: Maven Dependency Plugin Question

2008-10-01 Thread Wendy Smoak
On Wed, Oct 1, 2008 at 5:19 PM, David <[EMAIL PROTECTED]> wrote:

> I need to create a war, lets call it "B" that is 99% similar to another war
> file "A" that I currently have.  I have thought about creating a new project
> for war file "B" and using the dependency plugin to unpack war file "A" in
> it's target directory.  Currently the only difference between the two is
> some images though that could change as development continues.  I thought
> about using a profile in war file "A" for this but management wants to give
> it a different name so I thought that wouldn't work.  I'm I thinking this
> through correctly or is there another way I can do what I need to do?

You might want to look at the 'war overlay' feature of the war plugin.

-- 
Wendy

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



Maven Dependency Plugin Question

2008-10-01 Thread David
Hello,

I need to create a war, lets call it "B" that is 99% similar to another war
file "A" that I currently have.  I have thought about creating a new project
for war file "B" and using the dependency plugin to unpack war file "A" in
it's target directory.  Currently the only difference between the two is
some images though that could change as development continues.  I thought
about using a profile in war file "A" for this but management wants to give
it a different name so I thought that wouldn't work.  I'm I thinking this
through correctly or is there another way I can do what I need to do?

Thanks,

David


Re: Maven in 5 Minutes - Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.

2008-10-01 Thread Wendy Smoak
On Wed, Oct 1, 2008 at 3:46 PM, Jim Garrison <[EMAIL PROTECTED]> wrote:

> I just downloaded 2.0.9 and am trying the procedure given in the "Maven in 5
> minutes" web page but it fails with the message
>
> Cannot execute mojo: resources. It requires a project with an existing
> pom.xml, but the build is not using one.
...
> C:\workspace\temp>mvn --version

It usually means there is no pom.xml in the current directory where
you're trying to build.

Perhaps you need to change into the subdirectory that contains your project?

-- 
Wendy

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



Re: Maven in 5 Minutes - Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.

2008-10-01 Thread Allan Wojcik da Silva
You must first create a project:

http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

Check section: Creating a Project

On Wed, Oct 1, 2008 at 7:46 PM, Jim Garrison <[EMAIL PROTECTED]> wrote:
> I just downloaded 2.0.9 and am trying the procedure given in the "Maven in 5
> minutes" web page but it fails with the message
>
>
>
> Cannot execute mojo: resources. It requires a project with an existing
> pom.xml, but the build is not using one.
>
>
>
> I searched the archives and found a couple of "works for me" responses in
> the 2.0.2 timeframe.
>
>
>
> JDK=1.5.0_12
>
>
>
> C:\workspace\temp>mvn --version
>
> Maven version: 2.0.9
>
> Java version: 1.5.0_12
>
> OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows"
>
>
>
> C:\workspace\temp>mvn package
>
> [INFO] Scanning for projects...
>
> [INFO]
> 
>
> [INFO] Building Maven Default Project
>
> [INFO]task-segment: [package]
>
> [INFO]
> 
>
> [INFO]
> 
>
> [ERROR] BUILD ERROR
>
> [INFO]
> 
>
> [INFO] Cannot execute mojo: resources. It requires a project with an
> existing pom.xml, but the build is not using one.
>
> [INFO]
> 
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> 
>
> [INFO] Total time: 1 second
>
> [INFO] Finished at: Wed Oct 01 17:42:39 CDT 2008
>
> [INFO] Final Memory: 2M/5M
>
> [INFO]
> 
>
>
>
> Environment:
>
>
>
> JAVA_HOME=C:\Java\jdk1.5.0_12
>
> M2=c:\workspace\svn\trunk\vendor\maven\bin
>
> M2_HOME=c:\workspace\svn\trunk\vendor\maven
>
> Path=C:\Java\jdk1.5.0_12\bin;c:\workspace\svn\trunk\vendor\maven\bin;C:\Program
> Files\Windows Resource
> Kits\Tools\;D:\oracle\product\10.2.0\db\bin;d:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
> Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL
> Server\90\Tools\binn\;C:\Program Files\Microsoft SQL
> Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL
> Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual
> Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program
> Files\TortoiseSVN\bin;C:\Program Files\smartmontools\bin;c:\Program
> Files\WinZip
>
>
>
> Suggestions?
>
>
>
>
>
>
>
>



-- 
Allan Wojcik da Silva
Ubuntu User # 4491
Microsoft gives you Windows, Linux gives you the whole House !

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



Maven in 5 Minutes - Cannot execute mojo: resources. It requires a project with an existing pom.xml, but the build is not using one.

2008-10-01 Thread Jim Garrison
I just downloaded 2.0.9 and am trying the procedure given in the "Maven
in 5 minutes" web page but it fails with the message

 

Cannot execute mojo: resources. It requires a project with an existing
pom.xml, but the build is not using one.

 

I searched the archives and found a couple of "works for me" responses
in the 2.0.2 timeframe.

 

JDK=1.5.0_12

 

C:\workspace\temp>mvn --version

Maven version: 2.0.9

Java version: 1.5.0_12

OS name: "windows 2003" version: "5.2" arch: "x86" Family: "windows"

 

C:\workspace\temp>mvn package

[INFO] Scanning for projects...

[INFO]


[INFO] Building Maven Default Project

[INFO]task-segment: [package]

[INFO]


[INFO]


[ERROR] BUILD ERROR

[INFO]


[INFO] Cannot execute mojo: resources. It requires a project with an
existing pom.xml, but the build is not using one.

[INFO]


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

[INFO]


[INFO] Total time: 1 second

[INFO] Finished at: Wed Oct 01 17:42:39 CDT 2008

[INFO] Final Memory: 2M/5M

[INFO]


 

Environment:

 

JAVA_HOME=C:\Java\jdk1.5.0_12

M2=c:\workspace\svn\trunk\vendor\maven\bin

M2_HOME=c:\workspace\svn\trunk\vendor\maven

Path=C:\Java\jdk1.5.0_12\bin;c:\workspace\svn\trunk\vendor\maven\bin;C:\
Program Files\Windows Resource
Kits\Tools\;D:\oracle\product\10.2.0\db\bin;d:\oracle\product\10.2.0\db_
1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\Microsoft SQL
Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL
Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft
Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program
Files\TortoiseSVN\bin;C:\Program Files\smartmontools\bin;c:\Program
Files\WinZip

 

Suggestions?


http://www.troux.com/email
 
 

 
 


maven2 shade plugin - remove manifest files

2008-10-01 Thread Allan Wojcik da Silva
Hi All,

I'm trying to build a jar from two other jar files, and want to remove the
"old" manifest files. I've tried several patterns to exclude them, but I had
no success. Following the patterns I've used:


   
  jar xpto
 
**/*.mf
META-INF/*.mf
META-INF/*.*
META-INF/manifest.mf
/META-INF/manifest.mf
*.mf

other exclusions...
 
   


Any ideas?

-- 
Allan Wojcik da Silva


Empty report with maven-pmd-plugin

2008-10-01 Thread Andre Dantas Rocha
Hi all,

 

I'm facing a big problem using pmd plugin. If I use "pmd" and "cpd" goals
only, everything works fine. When I use "check" and "cpd-check" goals,
however, I get an empty report...

 

(below my pmd configuration).

 

Any clues?

 

Thanks,

 

Andre

 

 



   org.apache.maven.plugins

   maven-pmd-plugin

   2.4

   

  

 

pt_BR

true

false

false

${maven.compiler.source}

true

100



   ${configDir}/cef-pmd.xml

 



false

5

 

 package

 

pmd

cpd

   

check

cpd-check

 

  

   





Re: [ANN] Maven Reactor Plugin 1.0 Released

2008-10-01 Thread Rodrigo Ruiz



Dan Fabulich wrote:

Wim Deblauwe wrote:


1) You spawn a different maven process are thoses processing using
MAVEN_OPTS by default (most important would be the memory settings I have
set)?


Yes.  It launches "mvn" with the current environment variables specified.

2) How does it know how to stop walking up the inheritance tree? What 
I mean

is, why does not try to build hibernate for example (assuming my project
depends on that)? Does there need to be a parent project with a 


section for it to work?


Yes, it requires a  section; it can only build projects 
specified in your modules list.  (That's what a Maven "reactor" is: a 
multimodule build.)


The reactor plugin has no way to build third-party libraries like 
Hibernate; it would have to pull the code down out from some remote SCM 
to do that.


Would it work if I have a domain module which is used by several 
applications (but is just a dependency, not part of a multimodule 
build) to make that part of the chain (in either direction), if of 
course the source code is available on the building pc.


Nope, a multimodule build is required here.


So, if you create an aggregation project and add the domain module and 
all those dependant applications to its modules section, it should work, 
shouldn't it? :-)




-Dan

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



--
---
GRID SYSTEMS, S.A. Rodrigo Ruiz
Parc Bit - Edificio 17 Research Coordinator
07121 Palma de Mallorca[EMAIL PROTECTED]
Baleares - Spain   Tel: +34 971 435 085
http://www.gridsystems.com/Fax: +34 971 435 082
---

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



RE: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread Brian E. Fox
What 2.0.5? That's something like 2 years old. Better off starting with 2.0.9

-Original Message-
From: rohan chauhan [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2008 11:46 AM
To: Maven Users List
Subject: Re: urgent plz help me.. this error stop my entire poject. a common 
error but no solution working.

can u tell me what are the things i needed to setup maven?
i download  maven 2.0.5
unzip it in apache software foundation in folder maven-2.0.5
n change settings.xml as bellow mention.
n i found it is going to read there in xml file. 
but still showing same error.

do i need to configure some other place or file. 
i just did this things only.

M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.5
M2_REPO=C:\Documents and Settings\user1\.m2\repository

CONTENT OF SETTINGS.XML in conf directory

false
  
  
  optional
  true
  http
  10.10.136.103
  8080
solusoftindia\rchauhan
  AAABBBCCC
  
  


i'm then running bellow command and found this error

C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at 
org.apache.maven..lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Oct 01 21:05:07 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 

what should i do? what other info u need to identify this error? 



 


Do not follow where the path may lead. Go instead where there is no path and 
leave a trail ! ! !




* Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
something outside of yourself to make you happy in the future.  Think how
really precious is the time you have to spend, whether it's at work or with
your family.  Every minute should be enjoyed and savored 
by forgetting problems. * - My Thought







- Original Message 
From: rohan chauhan <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Wednesday, 1 October, 2008 8:50:12 PM
Subject: Re: urgent plz help me.. this error stop my entire poject. a common 
error but no solution working.

hi

for ur 2nd point i just found that it is reading from settings.xml
i just reading one closing tag

Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread rohan chauhan
can u tell me what are the things i needed to setup maven?
i download  maven 2.0.5
unzip it in apache software foundation in folder maven-2.0.5
n change settings.xml as bellow mention.
n i found it is going to read there in xml file. 
but still showing same error.

do i need to configure some other place or file. 
i just did this things only.

M2_HOME=C:\Program Files\Apache Software Foundation\maven-2.0.5
M2_REPO=C:\Documents and Settings\user1\.m2\repository

CONTENT OF SETTINGS.XML in conf directory

false
  
  
  optional
  true
  http
  10.10.136.103
  8080
solusoftindia\rchauhan
  AAABBBCCC
  
  


i'm then running bellow command and found this error

C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at 
org.apache.maven..lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Oct 01 21:05:07 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 

what should i do? what other info u need to identify this error? 



 


Do not follow where the path may lead. Go instead where there is no path and 
leave a trail ! ! !




* Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
something outside of yourself to make you happy in the future.  Think how
really precious is the time you have to spend, whether it's at work or with
your family.  Every minute should be enjoyed and savored 
by forgetting problems. * - My Thought







- Original Message 
From: rohan chauhan <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Wednesday, 1 October, 2008 8:50:12 PM
Subject: Re: urgent plz help me.. this error stop my entire poject. a common 
error but no solution working.

hi

for ur 2nd point i just found that it is reading from settings.xml
i just reading one closing tag and it shows error in settings.xml

its content just change that its domain name \ user (i wrote b4 
domainname/username)

but it still shows me same error as bellow
C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repos

Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread rohan chauhan
hi

for ur 2nd point i just found that it is reading from settings.xml
i just reading one closing tag and it shows error in settings.xml

its content just change that its domain name \ user (i wrote b4 
domainname/username)

but it still shows me same error as bellow
C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at 
org.apache.maven.plugin..DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Wed Oct 01 20:44:38 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 

my content in settings.xml is


false
  
  
  optional
  true
  http
  10.10.136.103
  8080
SOLUSOFTINDIA\rchauhan
  aaabbbccc
  
  


- Original Message 
From: Gabriel Garcia <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Wednesday, 1 October, 2008 8:27:03 PM
Subject: Re: urgent plz help me.. this error stop my entire poject. a common 
error but no solution working.

I can think of two other problems:

1. Proxy:
Maybe you're not authenticating properly? Can you check the logfile to
see if there's any activity when you run maven? One thought: your
username looks like [domain]/[user], if it's a Windows proxy, maybe it
should be [domain]\[user], but not sure about it.

2. Not reading settings.xml:
Try to use the -s option when you execute maven and force it to load
your settings..xml with your proxy settings.

I really don't think this is a problem with Maven at all, would you be
able to test this from a direct connection to the internet to rule
that out?

2008/10/1 rohan chauhan <[EMAIL PROTECTED]>:
> yes i'm able to access directory having content following.
>
>
>
>  mojo-archetypes/ 11-Feb-2008 03:20-
>  nbm-archetype/   13-Mar-2008 07:27-
>  netbeans-platform-app-archetype/ 26-May-2008 02:28-
>
>
> then i went to mojo-archetypes/ (first link)
> its having following
>
>  1/11-Feb-2008 03:20-
>  maven-metadata.xml11-Feb-2008 03:20  336
>  maven-metadata.xml.md511-Feb-2008 03:20   32
>  maven-metadata.xml.sha1   11-Feb-2008 03:20   40
>
>
> i'm able to access all file by my browser just having extension .xml (not 
> .md5, .sha1)
>
> but 

got stuck with this common error..

2008-10-01 Thread rohan chauhan
hi all maven users.

this is one commonerror i found.. which 
C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at 
org.apache..maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 1 second
[INFO] Finished at: Wed Oct 01 20:24:55 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 

settings.xml content


false
  
  
  optional
  true
  http
  10.10.136.103
  8080
SOLUSOFTINDIA/rchauhan
  aabbcc
  
  


i'm able to communicate with settings.xml. properly.

what the prob this is showing then?

 


Do not follow where the path may lead. Go instead where there is no path and 
leave a trail ! ! !




* Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
something outside of yourself to make you happy in the future.  Think how
really precious is the time you have to spend, whether it's at work or with
your family.  Every minute should be enjoyed and savored 
by forgetting problems. * - My Thought




  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread Gabriel Garcia
I can think of two other problems:

1. Proxy:
Maybe you're not authenticating properly? Can you check the logfile to
see if there's any activity when you run maven? One thought: your
username looks like [domain]/[user], if it's a Windows proxy, maybe it
should be [domain]\[user], but not sure about it.

2. Not reading settings.xml:
Try to use the -s option when you execute maven and force it to load
your settings.xml with your proxy settings.

I really don't think this is a problem with Maven at all, would you be
able to test this from a direct connection to the internet to rule
that out?

2008/10/1 rohan chauhan <[EMAIL PROTECTED]>:
> yes i'm able to access directory having content following.
>
>
>
>  mojo-archetypes/ 11-Feb-2008 03:20-
>  nbm-archetype/   13-Mar-2008 07:27-
>  netbeans-platform-app-archetype/ 26-May-2008 02:28-
>
>
> then i went to mojo-archetypes/ (first link)
> its having following
>
>  1/11-Feb-2008 03:20-
>  maven-metadata.xml11-Feb-2008 03:20  336
>  maven-metadata.xml.md511-Feb-2008 03:20   32
>  maven-metadata.xml.sha1   11-Feb-2008 03:20   40
>
>
> i'm able to access all file by my browser just having extension .xml (not 
> .md5, .sha1)
>
> but yes i can download by my browser all the files.
>
>
>
>
>
> - Original Message 
> From: Gabriel Garcia <[EMAIL PROTECTED]>
> To: Maven Users List 
> Sent: Wednesday, 1 October, 2008 7:59:57 PM
> Subject: Re: urgent plz help me... this error stop my entire poject. a common 
> error but no solution working.
>
> I think you might have a problem accessing the Maven 2 repository:
> [WARNING] repository metadata for: 'org.codehaus.mojo' could not be
> retrieved from repository: central due to an error: Error transferring
> file
> [INFO] Repository 'central' will be blacklisted
>
> Can you open a browser and see if you can get to
> http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/? If so,
> can you navigate further (into the latest version of the archetype
> mojo) and try to download the artifacts manually?
>
> 2008/10/1 rohan chauhan <[EMAIL PROTECTED]>:
>> i'm using maven 2.0.5 for androMDA
>>
>> i follows all instruction they mention.
>>
>> I also set up settings.xml file in cong directory. which i just attached
>> here.
>> also i delete my .m2 directory. but this error still comes in my way.
>>
>> C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO] Searching repository for plugin with prefix: 'archetype'.
>> [INFO] org.codehaus.mojo: checking for updates from central
>> [WARNING] repository metadata for: 'org.codehaus.mojo' could not be
>> retrieved fr
>> om repository: central due to an error: Error transferring file
>> [INFO] Repository 'central' will be blacklisted
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
>> exi
>> st or no valid version could be found
>> [INFO]
>> 
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
>> 'org.apache.m
>> aven.plugins:maven-archetype-plugin' does not exist or no valid version
>> could be
>>  found
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
>> ultLifecycleExecutor.java:1286)
>> at
>> org..apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
>> (DefaultLifecycleExecutor.java:1522)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
>> AggregationNeeds(DefaultLifecycleExecutor.java:386)
>> at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
>> fecycleExecutor.java:138)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven..java:330)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>> 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:597)
>> 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.version.PluginVersionNotF

RE: Trying to copy additional files to jar

2008-10-01 Thread Edelson, Justin
That's for the MANIFEST.MF file. Again, you should read the JAR
specification for a description of this file.

Justin 

-Original Message-
From: SophosGuy [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 01, 2008 9:53 AM
To: users@maven.apache.org
Subject: Re: Trying to copy additional files to jar


Ok so then what good is the 

 true

tag?


Stephen Connolly-2 wrote:
> 
> I suggest you have a look at the jar specification... you'll find that

> jar files do not currently support nested jar files
> 
> 2008/10/1 SophosGuy <[EMAIL PROTECTED]>
> 
>>
>> I am trying to include my dependancy jars in a file inside the jar, 
>> in order to make it easier on users by not requiring making sure 
>> files are in the right place or class path is set up right. So I 
>> first copy all dependancies using the maven-dependency-plugin then I 
>> want to use the maven-jar-plugin to add the classpath to the manifest

>> and then include the jars for these dependancies together.
>>
>>
>> Basically how do I add additional files to the JAR using 
>> maven-jar-plugin?
>>
>> Here is what I am doing
>> 
>>org.apache.maven.plugins
>>maven-dependency-plugin
>>
>>  
>>copy-dependencies
>>package
>>
>>  copy-dependencies
>>
>>
>>
>>
${project.build.directory}/classes/lib
>>  false
>>
true
>>
>>  
>>
>>  
>>  
>>org.apache.maven.plugins
>>maven-jar-plugin
>>2.2
>>
>>
>>
>>
>>**/classes/lib/*
>>
>>
>>true
>>lib/
>>
>>
>>
>>
>>
>>
>>
>> This throws me an error
>>
>> [INFO]
>> -
>> ---
>> [ERROR] BUILD ERROR
>> [INFO]
>> -
>> --- [INFO] Failed to configure plugin parameters for:
>> org.apache.maven.plugins:maven-jar-plugin:2.2
>>
>>
>>
>> Cause: Cannot find setter nor field in 
>> org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
>> [INFO]
>> -
>> ---
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Error
>> configuring:
>> org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to parse 
>> the created DOM for plugin configuration
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:587)
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(DefaultLifecycleExecutor.java:499)
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:478)
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:330)
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:291)
>>at
>>
>>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:142)
>>at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>at
>>
>>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
>>at
>>
>>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
>>at java.lang.reflect.Method.invoke(Method.java:597)
>>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.PluginConfigurationException: 
>> Error
>> configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: 
>> Unable to parse the created DOM for plugin configuration
>>at
>>
>>
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(Defaul
tPluginManager.java:1288)
>>at
>>
>>
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPl
uginManager.java:661)
>>at
>>
>>
org.apache.maven.plugin.DefaultPluginManager.executeMojo(De

Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread rohan chauhan
yes i'm able to access directory having content following.



 mojo-archetypes/ 11-Feb-2008 03:20-   
 nbm-archetype/   13-Mar-2008 07:27-   
 netbeans-platform-app-archetype/ 26-May-2008 02:28-   


then i went to mojo-archetypes/ (first link)
its having following

 1/11-Feb-2008 03:20-   
 maven-metadata.xml11-Feb-2008 03:20  336   
 maven-metadata.xml.md511-Feb-2008 03:20   32   
 maven-metadata.xml.sha1   11-Feb-2008 03:20   40   


i'm able to access all file by my browser just having extension .xml (not .md5, 
.sha1)

but yes i can download by my browser all the files.





- Original Message 
From: Gabriel Garcia <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Wednesday, 1 October, 2008 7:59:57 PM
Subject: Re: urgent plz help me... this error stop my entire poject. a common 
error but no solution working.

I think you might have a problem accessing the Maven 2 repository:
[WARNING] repository metadata for: 'org.codehaus.mojo' could not be
retrieved from repository: central due to an error: Error transferring
file
[INFO] Repository 'central' will be blacklisted

Can you open a browser and see if you can get to
http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/? If so,
can you navigate further (into the latest version of the archetype
mojo) and try to download the artifacts manually?

2008/10/1 rohan chauhan <[EMAIL PROTECTED]>:
> i'm using maven 2.0.5 for androMDA
>
> i follows all instruction they mention.
>
> I also set up settings.xml file in cong directory. which i just attached
> here.
> also i delete my .m2 directory. but this error still comes in my way.
>
> C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.codehaus.mojo: checking for updates from central
> [WARNING] repository metadata for: 'org.codehaus.mojo' could not be
> retrieved fr
> om repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
> exi
> st or no valid version could be found
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.m
> aven.plugins:maven-archetype-plugin' does not exist or no valid version
> could be
>  found
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1286)
> at
> org..apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExecutor.java:1522)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> AggregationNeeds(DefaultLifecycleExecutor.java:386)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:138)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven..java:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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.version.PluginVersionNotFoundException:
> The p
> lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
> val
> id version could be found
> at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:228)
> at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:90)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> inManager.java:161)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1257)
> ... 14 more
> [INFO]
> 
> [INFO] Total 

Re: urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread Gabriel Garcia
I think you might have a problem accessing the Maven 2 repository:
[WARNING] repository metadata for: 'org.codehaus.mojo' could not be
retrieved from repository: central due to an error: Error transferring
file
[INFO] Repository 'central' will be blacklisted

Can you open a browser and see if you can get to
http://repo1.maven.org/maven2/org/codehaus/mojo/archetypes/? If so,
can you navigate further (into the latest version of the archetype
mojo) and try to download the artifacts manually?

2008/10/1 rohan chauhan <[EMAIL PROTECTED]>:
> i'm using maven 2.0.5 for androMDA
>
> i follows all instruction they mention.
>
> I also set up settings.xml file in cong directory. which i just attached
> here.
> also i delete my .m2 directory. but this error still comes in my way.
>
> C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'archetype'.
> [INFO] org.codehaus.mojo: checking for updates from central
> [WARNING] repository metadata for: 'org.codehaus.mojo' could not be
> retrieved fr
> om repository: central due to an error: Error transferring file
> [INFO] Repository 'central' will be blacklisted
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
> exi
> st or no valid version could be found
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
> 'org.apache.m
> aven.plugins:maven-archetype-plugin' does not exist or no valid version
> could be
>  found
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1286)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
> (DefaultLifecycleExecutor.java:1522)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
> AggregationNeeds(DefaultLifecycleExecutor.java:386)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.java:138)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven..java:330)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> 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:597)
> 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.version.PluginVersionNotFoundException:
> The p
> lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
> val
> id version could be found
> at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:228)
> at
> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
> uginVersion(DefaultPluginVersionManager.java:90)
> at
> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
> inManager.java:161)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
> ultLifecycleExecutor.java:1257)
> ... 14 more
> [INFO]
> 
> [INFO] Total time: 6 seconds
> [INFO] Finished at: Wed Oct 01 19:30:32 IST 2008
> [INFO] Final Memory: 1M/4M
> [INFO]
> 
>
>
>
> 
> Do not follow where the path may lead. Go instead where there is no path and
> leave a trail ! ! !
> 
> 
> * Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
> something outside of yourself to make you happy in the future.  Think how
> really precious is the time you have to spend, whether it's at work or with
> your family..  Every minute should be enjoyed and savored
> by forgetting problems. * - My Thought
> 
>
>
> 
> Add more friends to your messenger and enjoy! Invite them now.
> -
> To unsubscribe, e-mail: [EMAIL PR

urgent plz help me.. this error stop my entire poject. a common error but no solution working.

2008-10-01 Thread rohan chauhan
i'm using maven 2.0.5 for androMDA

i follows all instruction they mention.

I also set up settings.xml file in cong directory. which i just attached here.
also i delete my .m2 directory. but this error still comes in my way.

C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.codehaus.mojo: checking for updates from central
[WARNING] repository metadata for: 'org.codehaus.mojo' could not be retrieved fr
om repository: central due to an error: Error transferring file
[INFO] Repository 'central' will be blacklisted
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Oct 01 19:30:32 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 



 


Do not follow where the path may lead. Go instead where there is no path and 
leave a trail ! ! !




* Learn to enjoy every minute of your life.  Be happy now.  Don't wait for
something outside of yourself to make you happy in the future.  Think how
really precious is the time you have to spend, whether it's at work or with
your family.  Every minute should be enjoyed and savored 
by forgetting problems. * - My Thought




  Connect with friends all over the world.. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/
  
  
  optional
  true
  http
  10.10.136.103
  8080
	SOLUSOFTINDIA/rchauhan
  mypass
  
  

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

Re: Trying to copy additional files to jar

2008-10-01 Thread SophosGuy

Ok so then what good is the 

 true

tag?


Stephen Connolly-2 wrote:
> 
> I suggest you have a look at the jar specification... you'll find that jar
> files do not currently support nested jar files
> 
> 2008/10/1 SophosGuy <[EMAIL PROTECTED]>
> 
>>
>> I am trying to include my dependancy jars in a file inside the jar, in
>> order
>> to make it easier on users by not requiring making sure files are in the
>> right place or class path is set up right. So I first copy all
>> dependancies
>> using the maven-dependency-plugin then I want to use the maven-jar-plugin
>> to
>> add the classpath to the manifest and then include the jars for these
>> dependancies together.
>>
>>
>> Basically how do I add additional files to the JAR using
>> maven-jar-plugin?
>>
>> Here is what I am doing
>> 
>>org.apache.maven.plugins
>>maven-dependency-plugin
>>
>>  
>>copy-dependencies
>>package
>>
>>  copy-dependencies
>>
>>
>>
>> ${project.build.directory}/classes/lib
>>  false
>>  true
>>
>>  
>>
>>  
>>  
>>org.apache.maven.plugins
>>maven-jar-plugin
>>2.2
>>
>>
>>
>>
>>**/classes/lib/*
>>
>>
>>true
>>lib/
>>
>>
>>
>>
>>
>>
>>
>> This throws me an error
>>
>> [INFO]
>> 
>> [ERROR] BUILD ERROR
>> [INFO]
>> 
>> [INFO] Failed to configure plugin parameters for:
>> org.apache.maven.plugins:maven-jar-plugin:2.2
>>
>>
>>
>> Cause: Cannot find setter nor field in
>> org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
>> [INFO]
>> 
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: Error
>> configuring:
>> org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to parse the
>> created DOM for plugin configuration
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>>at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>>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:597)
>>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.PluginConfigurationException: Error
>> configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to
>> parse the created DOM for plugin configuration
>>at
>>
>> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1288)
>>at
>>
>> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:661)
>>at
>>
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
>>at
>>
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>>... 16 more
>> Caused by:
>> org.codehaus.plexus.component.configurator.ComponentConfigurationException:
>> Cannot find setter nor field in
>> org.apache

Re: Trying to copy additional files to jar

2008-10-01 Thread Stephen Connolly
I suggest you have a look at the jar specification... you'll find that jar
files do not currently support nested jar files

2008/10/1 SophosGuy <[EMAIL PROTECTED]>

>
> I am trying to include my dependancy jars in a file inside the jar, in
> order
> to make it easier on users by not requiring making sure files are in the
> right place or class path is set up right. So I first copy all dependancies
> using the maven-dependency-plugin then I want to use the maven-jar-plugin
> to
> add the classpath to the manifest and then include the jars for these
> dependancies together.
>
>
> Basically how do I add additional files to the JAR using maven-jar-plugin?
>
> Here is what I am doing
> 
>org.apache.maven.plugins
>maven-dependency-plugin
>
>  
>copy-dependencies
>package
>
>  copy-dependencies
>
>
>
> ${project.build.directory}/classes/lib
>  false
>  true
>
>  
>
>  
>  
>org.apache.maven.plugins
>maven-jar-plugin
>2.2
>
>
>
>
>**/classes/lib/*
>
>
>true
>lib/
>
>
>
>
>
>
>
> This throws me an error
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to configure plugin parameters for:
> org.apache.maven.plugins:maven-jar-plugin:2.2
>
>
>
> Cause: Cannot find setter nor field in
> org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
> org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to parse the
> created DOM for plugin configuration
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>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:597)
>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.PluginConfigurationException: Error
> configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to
> parse the created DOM for plugin configuration
>at
>
> org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1288)
>at
>
> org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:661)
>at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>... 16 more
> Caused by:
> org.codehaus.plexus.component.configurator.ComponentConfigurationException:
> Cannot find setter nor field in
> org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
>at
>
> org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.(ComponentValueSetter.java:68)
>at
>
> org.codehaus.plexus.compon

Trying to copy additional files to jar

2008-10-01 Thread SophosGuy

I am trying to include my dependancy jars in a file inside the jar, in order
to make it easier on users by not requiring making sure files are in the
right place or class path is set up right. So I first copy all dependancies
using the maven-dependency-plugin then I want to use the maven-jar-plugin to
add the classpath to the manifest and then include the jars for these
dependancies together.


Basically how do I add additional files to the JAR using maven-jar-plugin?

Here is what I am doing

org.apache.maven.plugins
maven-dependency-plugin

  
copy-dependencies
package

  copy-dependencies


 
${project.build.directory}/classes/lib
  false
  true

  

  
  
org.apache.maven.plugins
maven-jar-plugin
2.2




**/classes/lib/*


true
lib/







This throws me an error 

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.2



Cause: Cannot find setter nor field in
org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to parse the
created DOM for plugin configuration
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:587)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:597)
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.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: Unable to
parse the created DOM for plugin configuration
at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1288)
at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:661)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:429)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
Caused by:
org.codehaus.plexus.component.configurator.ComponentConfigurationException:
Cannot find setter nor field in
org.apache.maven.archiver.MavenArchiveConfiguration for 'includes'
at
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.(ComponentValueSetter.java:68)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:134)
at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.fromConfiguration(ObjectWithFieldsConverter.java:90)
at
org.codehaus.plexus.comp

Re: "The Definitive Guide": online vs. print

2008-10-01 Thread Jason van Zyl


On 1-Oct-08, at 8:26 AM, Trevor Harmon wrote:


On Sep 30, 2008, at 7:23 PM, Brian E. Fox wrote:

The online one will naturally continue to evolve, but sometimes  
people

like to have the book by their side, or for offline reading etc.


Does anyone know what version the book is? If the online one is  
still in beta, then the book must be a beta release, too (which is  
kind of disheartening).


The printed book has all the editing, copy editing, and updates for  
tools like Nexus and m2e. Tim did everything humanly possible,  
including pushing out the release date, to get all the content updated  
for the book. Tim has gradually started pushing the edits back into  
online version.





Trevor


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



Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
--

To do two things at once is to do neither.

 -—Publilius Syrus, Roman slave, first century B.C.


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



Re: Maven tries to download snapshots in offline mode

2008-10-01 Thread Olivier THIERRY
2008/10/1 Baptiste MATHUS <[EMAIL PROTECTED]>

> 2008/10/1 Jorg Heymans <[EMAIL PROTECTED]>
>
> > On Wed, Oct 1, 2008 at 10:47 AM, Baptiste MATHUS <[EMAIL PROTECTED]> wrote:
> > > Before doing so, might be better to receive the blessing here from a
> > maven
> > > committer :).
> >
> > +1 for reopening, and looking at the ticket there is already enough user
> > blessings to warrant it being reopened.
> >
>
> Sure, but I also adviced to test the 2.0.6 before as it will help fixing
> it:
> the fix might be easier to do if we know this was working with 2.0.6 and
> not
> with 2.0.9, or if the fix simply never worked whatever the version.
>
> Cheers.
> --
> Baptiste  MATHUS - http://batmat.net
> Sauvez un arbre,
> Mangez un castor !
>

I can't do the tests now because of a daily updatePolicy for my snapshots.
But I will try tomorrow.
But I remember I had also this problem with Maven 2.0.4

-- 
Seules 2 choses sont infinies : l'univers et la bêtise humaine ; et encore
pour l'univers, je ne suis pas sûr … (Einstein)


error in maven 2.0.5. though i set settings.xml n remove my repository

2008-10-01 Thread rohan chauhan


 C:\Temp>mvn -e archetype:create -DgroupId=testapp -DartifactId=testapp
+ Error stacktraces are turned on.
[INFO] Scanning for projects
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1286)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1522)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:386)
at 
org.apache..maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:138)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
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:597)
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.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:228)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:90)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:161)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1257)
... 14 more
[INFO] 
[INFO] Total time: 2 seconds
[INFO] Finished at: Wed Oct 01 18:32:17 IST 2008
[INFO] Final Memory: 1M/4M
[INFO] 
--

SETTINGS.XML CONTENT in conf directory


  
  
  optional
  true
  http
  10.10.136.103
  8080
SOLUSOFTINDIA/rchauhan
  MYPASS
  
  

--

maven is of 2.0.5.
windows Xp

i remove  .m2 repository but it still shows same



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

Using locales with maven-pmd-plugin

2008-10-01 Thread Andre Dantas Rocha
Hi all,

 

I'm trying unsuccessfully using i18n with PMD plugin. Actually I don't know
where to put my pt_BR properties file.

 

My project is an EAR project and  the configuration for reports is shown
above. All site is in pt_BR, but PMD and Checkstyle.

 

Could anybody help me?

 

Thanks,

 

Andre

 



   

   

 
org.apache.maven.plugins

 
maven-jxr-plugin

 
2.1

 


 
true

 


   

   

   

 
org.apache.maven.plugins

 
maven-pmd-plugin

 
2.4

 


 
pt_BR

 
true

 
false

 
false

 
${maven.compiler.source}

 
true

 
100


 


 
${configDir}/cef-pmd.xml

 


 


   

   

   

 
org.apache.maven.plugins

 
maven-checkstyle-plugin

 
2.2

 


 
false

 
config/sun_checks.xml

 
true

 


   

 


   

 
org.apache.maven.plugins

 
maven-site-plugin

 
2.0-beta-7

 


 
pt_BR

 


   


   

   

 
org.apache.maven.plugins

 
maven-project-info-reports-plugin

 
2.1

   

 


 


 
index

 
dependencies

 


 


   

   

   





Re: "The Definitive Guide": online vs. print

2008-10-01 Thread Dave Newton
--- On Wed, 10/1/08, Baptiste MATHUS wrote:
> Beta 0.16. And there's a foreword about this versioning: [...]

I wonder how they'll update my print copy that came last week?

Dave


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



Re: Maven tries to download snapshots in offline mode

2008-10-01 Thread Baptiste MATHUS
2008/10/1 Jorg Heymans <[EMAIL PROTECTED]>

> On Wed, Oct 1, 2008 at 10:47 AM, Baptiste MATHUS <[EMAIL PROTECTED]> wrote:
> > Before doing so, might be better to receive the blessing here from a
> maven
> > committer :).
>
> +1 for reopening, and looking at the ticket there is already enough user
> blessings to warrant it being reopened.
>

Sure, but I also adviced to test the 2.0.6 before as it will help fixing it:
the fix might be easier to do if we know this was working with 2.0.6 and not
with 2.0.9, or if the fix simply never worked whatever the version.

Cheers.
-- 
Baptiste  MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: "The Definitive Guide": online vs. print

2008-10-01 Thread Baptiste MATHUS
Beta 0.16. And there's a foreword about this versioning:
Foreword: Beta 0.16
Alright,we're in a Beta release now.What does this mean? Not much,really it
just means that I no longer feel like we're going to have massive structural
changes between now and the 1.0 release of this book.[...]

So, as the book is free, I guess you could just download it and give it a
try. Maybe it'll look less disheartening as you have a real look at it...

Cheers.

2008/10/1 Trevor Harmon <[EMAIL PROTECTED]>

> On Sep 30, 2008, at 7:23 PM, Brian E. Fox wrote:
>
>  The online one will naturally continue to evolve, but sometimes people
>> like to have the book by their side, or for offline reading etc.
>>
>
> Does anyone know what version the book is? If the online one is still in
> beta, then the book must be a beta release, too (which is kind of
> disheartening).
>
>
> Trevor
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Baptiste  MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !


Re: "The Definitive Guide": online vs. print

2008-10-01 Thread Trevor Harmon

On Sep 30, 2008, at 7:23 PM, Brian E. Fox wrote:


The online one will naturally continue to evolve, but sometimes people
like to have the book by their side, or for offline reading etc.


Does anyone know what version the book is? If the online one is still  
in beta, then the book must be a beta release, too (which is kind of  
disheartening).


Trevor


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



Docbook and Maven: The source of "Maven: The Definitive Guide"

2008-10-01 Thread Nick Stolwijk
I am looking at creating some documentation with Maven and Docbook. I
saw the blogpost of Tim O'Brien at Sonatype.com [1] and read that the
Maven guide from Sonatype is completely written in Docbook and build
with Maven. I was wondering whether the source of this guide is
available for study? (How to do things) If not, does anyone know of an
open source project which has its documentation build with Maven and
Docbook?

With regards,

[1] http://blogs.sonatype.com/book/2008/04/14/120817710.html

Nick Stolwijk
~Java Developer~

Iprofs BV.
Claus Sluterweg 125
2012 WS Haarlem
www.iprofs.nl

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



Re: Maven tries to download snapshots in offline mode

2008-10-01 Thread Jorg Heymans
On Wed, Oct 1, 2008 at 10:47 AM, Baptiste MATHUS <[EMAIL PROTECTED]> wrote:

> Well, if I were you, I would retry with maven 2.0.6 (the version where this
> bug was supposed to be fixed).
> Then, if it works with 2.0.6, you could consider reopen the bug as a
> regression.
>
> Before doing so, might be better to receive the blessing here from a maven
> committer :).



+1 for reopening, and looking at the ticket there is already enough user
blessings to warrant it being reopened.

Jorg


Re: Maven tries to download snapshots in offline mode

2008-10-01 Thread Baptiste MATHUS
Well, if I were you, I would retry with maven 2.0.6 (the version where this
bug was supposed to be fixed).
Then, if it works with 2.0.6, you could consider reopen the bug as a
regression.

Before doing so, might be better to receive the blessing here from a maven
committer :).

Cheers.

2008/10/1 Olivier THIERRY <[EMAIL PROTECTED]>

> Hi,
>
> I encounter problems using snapshots and offline mode with Maven
> 2.0.9.Maven tries to download snapshots while it should not since I
> run in offline
> mode ! I checked the dependencies it tries to retrieve are already in mu
> repository so I think this is really a bug with Maven. It looks like other
> people have the same problem as there is a JIRA :
> http://jira.codehaus.org/browse/MNG-2433 This JIRA has been closed, but it
> was not solved, so I think it should be reopened !
>
> What is strange is that I don't have the problem if I run "mvn install" on
> a
> workstation with no network. But if I run "mvn -o install", the problem
> occurs ! It should be the opposite, doesn't it ?
>
> Here is the logs I have when running "mvn -o install". Hope it will help to
> solve this very annoying bug :
>
> [INFO]
> 
> [ERROR] BUILD ERROR
> [INFO]
> 
> [INFO] Failed to resolve artifact.
>
> Missing:
> --
> 1) org.drools:drools-core:jar:4.0.4M-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=org.drools -DartifactId=drools-core
> -Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>  mvn deploy:deploy-file -DgroupId=org.drools -DartifactId=drools-core
> -Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>  Path to dependency:
>  1) t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
>  2) t4:t4-utils:jar:1.0-SNAPSHOT
>  3) org.drools:drools-core:jar:4.0.4M-SNAPSHOT
>
> --
> 1 required artifact is missing.
>
> for artifact:
>  t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  apache-m2-snapshot (http://10.11.4.108:8080/artifactory/repo),
>  central (http://10.11.4.108:8080/artifactory/repo),
>  andromda (http://10.11.4.108:8080/artifactory/repo),
>  snapshots (http://10.11.4.108:8080/artifactory/repo)
>
>
> NOTE: Maven is executing in offline mode. Any artifacts not already in your
> local
> repository will be inaccessible.
>
>
> [INFO]
> 
> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
> --
> 1) org.drools:drools-core:jar:4.0.4M-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>  mvn install:install-file -DgroupId=org.drools -DartifactId=drools-core
> -Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>  mvn deploy:deploy-file -DgroupId=org.drools -DartifactId=drools-core
> -Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>  Path to dependency:
>  1) t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
>  2) t4:t4-utils:jar:1.0-SNAPSHOT
>  3) org.drools:drools-core:jar:4.0.4M-SNAPSHOT
>
> --
> 1 required artifact is missing.
>
> for artifact:
>  t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  apache-m2-snapshot (http://10.11.4.108:8080/artifactory/repo),
>  central (http://10.11.4.108:8080/artifactory/repo),
>  andromda (http://10.11.4.108:8080/artifactory/repo),
>  snapshots (http://10.11.4.108:8080/artifactory/repo)
>
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  

Re: Multi module Setup / release:prepare

2008-10-01 Thread Martin Höller
On Wednesday 01 October 2008 Karl Heinz Marbaise wrote:
> > We are having the same problem here with EARs and skinny WARs. It's
> > been a while since I last looked what the problem is but our problem is
> > definitely related to the skinny WAR problem [0] and your's might be
> > too. The workaround we are using is to run "mvn install" whenever such
> > a problem occurs.
>
> That's simply not possible, cause that happens during
> mvn release:prepare phase so I can't do an mvn install before, cause the
> release number will change during this phase...

Try configuring the release plugin like this:

  
org.apache.maven.plugins
maven-release-plugin

  true
  clean install

  

hth,
- martin


signature.asc
Description: This is a digitally signed message part.


Re: Multi module Setup / release:prepare

2008-10-01 Thread Karl Heinz Marbaise
Hi Martin,

first thanks for your answer,


> We are having the same problem here with EARs and skinny WARs. It's been
> a while since I last looked what the problem is but our problem is
> definitely related to the skinny WAR problem [0] and your's might be too.
> The workaround we are using is to run "mvn install" whenever such a
> problem occurs.
That's simply not possible, cause that happens during
mvn release:prepare phase so I can't do an mvn install before, cause the
release number will change during this phase...
> Try running mvn -X to see where your dependencies come from. Search the
> output for "selected for runtime" and "from the repository". This might
> lead you on the right track.
Hm...I will try and see

Kind regards
Karl Heinz Marbaise
-- 
SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029
Hauptstrasse 177 USt.IdNr: DE191347579
52146 Würselen   http://www.soebes.de

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



Maven tries to download snapshots in offline mode

2008-10-01 Thread Olivier THIERRY
Hi,

I encounter problems using snapshots and offline mode with Maven
2.0.9.Maven tries to download snapshots while it should not since I
run in offline
mode ! I checked the dependencies it tries to retrieve are already in mu
repository so I think this is really a bug with Maven. It looks like other
people have the same problem as there is a JIRA :
http://jira.codehaus.org/browse/MNG-2433 This JIRA has been closed, but it
was not solved, so I think it should be reopened !

What is strange is that I don't have the problem if I run "mvn install" on a
workstation with no network. But if I run "mvn -o install", the problem
occurs ! It should be the opposite, doesn't it ?

Here is the logs I have when running "mvn -o install". Hope it will help to
solve this very annoying bug :

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artifact.

Missing:
--
1) org.drools:drools-core:jar:4.0.4M-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.drools -DartifactId=drools-core
-Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.drools -DartifactId=drools-core
-Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
  1) t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
  2) t4:t4-utils:jar:1.0-SNAPSHOT
  3) org.drools:drools-core:jar:4.0.4M-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  t4:t4-core-utils-core:ejb:1.0-SNAPSHOT

from the specified remote repositories:
  apache-m2-snapshot (http://10.11.4.108:8080/artifactory/repo),
  central (http://10.11.4.108:8080/artifactory/repo),
  andromda (http://10.11.4.108:8080/artifactory/repo),
  snapshots (http://10.11.4.108:8080/artifactory/repo)


NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.


[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Missing:
--
1) org.drools:drools-core:jar:4.0.4M-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.drools -DartifactId=drools-core
-Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
  mvn deploy:deploy-file -DgroupId=org.drools -DartifactId=drools-core
-Dversion=4.0.4M-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
  1) t4:t4-core-utils-core:ejb:1.0-SNAPSHOT
  2) t4:t4-utils:jar:1.0-SNAPSHOT
  3) org.drools:drools-core:jar:4.0.4M-SNAPSHOT

--
1 required artifact is missing.

for artifact:
  t4:t4-core-utils-core:ejb:1.0-SNAPSHOT

from the specified remote repositories:
  apache-m2-snapshot (http://10.11.4.108:8080/artifactory/repo),
  central (http://10.11.4.108:8080/artifactory/repo),
  andromda (http://10.11.4.108:8080/artifactory/repo),
  snapshots (http://10.11.4.108:8080/artifactory/repo)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:575)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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:585)
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.artifact.resolver.MultipleArtifactsNotFoundException:
Missing:
---