Continuum User Authentication via LDAP
I am very glad to see the recent Continuum Beta 1 version having user management functions. It is very important to us. My question is will Continuum support LDAP for the user authentication? If not, is there a plan to do that in the near future? Thanks in advance, Frank
[m2] ActiveProjectArtifact
I have created a plugin which creates a custom distribution of artifacts built within a multi-project. Since maven-2.0-beta-3 I've seen that the file property of an ActiveProjectArtifact has changed from a reference to a jar-file to a reference of the artifacts target/classes directory. How can I retreive a reference to the jar-file of an artifact built in the current project? Ørjan -- Ørjan Austvold - Senior Software Architect www.colibria.com - putting the presence into messaging - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Seperate list for M2?
I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [urgent] Proxy Properties in Maven1.0.2 for GridPort3.5.1
_ From: Shaikh, Mazhar Sent: Monday, October 17, 2005 12:53 PM To: 'Maven Users List'; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: RE: [urgent] Proxy Properties in Maven1.0.2 for GridPort3.5.1 If you are working on linux environment then user.home corresponds to the directory /home/user-name/ Else if you are working on a Windows environment then user.home corresponds to the directory C:\Documents and Settings\user-name\ The Build/properties should accordingly be saved in this directory. The sample contents of Build.properties is below. ## -- ## build.properties ## -- . . maven.proxy.host = www-pqrs.t-systems.com maven.proxy.port = 8080 maven.repo.remote = http://www.ibiblio.org/maven,http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins maven.junit.fork = true A repository will be created in the {user-home} location, the moment Maven is run from the command prompt. Only those jar files will be download which will have a dependency element tag present in the project.xml file. A sample dependency tag is shown below, dependency groupIdxjavadoc/groupId artifactIdxjavadoc/artifactId version1.0.2/version urlhttp://xdoclet.sf.net//url /dependency The above dependency tag instructs Maven to download xjavadoc-1.0.2.jar file from the URL specified within the URL tag. Most of the time groupID and artifactId tag value remains the same. You can make a note of how Maven concatenates the the value of groupid and version tag to form a jar file name to download. If the URL tag is missing in the Dependency element tag then Maven tries to download the file from a remote location defined in the build.properties in the {user.home} directory. Similarly if your project needs to have a hibernate jar file of version 2.1.6 (i.e hibernate-2.1.6.jar) in the repository then the dependency tag in the project.xml will look like this dependency groupIdhibernate/groupId artifactIdhibernate/artifactId version2.1.6/version /dependency Hope this information will be helpful. Thanks and regards, Mazhar Shaikh Consultant - T Systems (India) 403-A International Convention Center, Senapati Bapat Marg, Pune 411016 INDIA Tel : ++91.20.2560.5000 (Board) Ext. 153 Cell: ++91.98906.60557 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: F-a-r-h-a-n-a [mailto:[EMAIL PROTECTED] Sent: Saturday, October 15, 2005 3:35 AM To: Maven Users List; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [urgent] Proxy Properties in Maven1.0.2 for GridPort3.5.1 There are already 2-3 mirror sites defined...wat I want to know is how to set Proxy properties using maven1.0.2 like : (maven.proxy.host . maven.proxy.port) in ${user.home}/build.properties file. Plz specify the location of this ${user.home}/build.properties file.Im unable to find it ...HELP!!! Farhana BS(CS) //final year Dept of Computer Science IT Jinnah University for Women www.juw.edu.pk Karachi, Pakistan . Carlos Sanchez [EMAIL PROTECTED] wrote: ${user.home} is your $HOME in linux maven always checks first local repo under ${user.home}/.maven/repository your proxy properties depend on your network, you must find out. On 10/14/05, F-a-r-h-a-n-a wrote: Ok now I understand about reference properties..since im new to MAVEN 1.0.2 can u plz tell me where do I 'll find ${user.home}/build.properties file to make proxy changes or is there any way through which I can direct MAVEN to use local repository instead of remote one . I have downloaded all the dependency jar files separately in the local repo ..How can I use local repo...Also plz plz specify how do I make changes in proxy properties ? In which file ? also specify the location of that file on Redhat Linux 9online or offline I have to settle this repo and jar file problem before Monday...i've got project to submit plz HELP! Farhana Brett Porter wrote:http://maven.apache.org/reference/properties.html#Proxy_Properties On 10/14/05, F-a-r-h-a-n-a wrote: i didnt get it ur pointplz tell me how do i configure proxy for these serverplz be more specifici have downloaded these jar files separately but how do i copied them in repository...how do i know about groupID/artifactID/version/plz Help looking forward for the response Farhana
[m2] writing a Mojo for a plugin that requires Reports to have been run
Hi all, I am writing an M2 plugin for QALab. QALab aggregates the reports from other plugins such as checkstyle etc. In my plugin.xml file there is a tag requiresReportsfalse/requiresReports and so I guessed that setting @requiresReports at the to of my Mojo would change this flat to true when i regenerate the plugin.xml file. but it does not. also while I am at it, I am curious as to the role of the aggregator tag Kind regards, Dave Sag
Re: Suggestion: Seperate list for M2?
+1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Rép. : Re: [m2] artifact:dependencies and EAR generation probleme
I tried, but the ear task dosen't support mappers. I have to go through a temporary folder using the copy task and the mapper, then making the EAR. But this rise up anothre issue for me, since the file order into the ear is changed. This has an impact for us since our appserver classloader loads the differents jar according the EAR natural order, thus allowing us to put two same jar of different versions into the EAR ( ugly I know, but we need this for the moment). Maybe I will write my own ear task. -antonio [EMAIL PROTECTED] 10/15 6:11 Use ant's flatten mapper: mapper type=flatten/ On 10/15/05, Antonio PAROLINI [EMAIL PROTECTED] wrote: Hello, I am trying to put jars referenced by a pom into an EAR using a ant task: --- target name=make-ear-maven if=maven.aware artifact:dependencies filesetId=dependency.fileset artifact:pom id=maven.project file=${file.maven.pom} / /artifact:dependencies ear manifest=${file.manifest} appxml=${file.applicationxml} compress=false destfile=${ear} fileset refid=dependency.fileset/ /ear /target --- The probleme is that this generates an EAR file with the jar fullpath. My ear will look like: groupID/artifact/version/myjar1.jar groupID/artifact/version/myjar2.jar groupID/artifact/version/myjar2r.jar instead of: myjar1.jar myjar2.jar myjar3.jar Any idea of to correct this ? Thanks in advance. -antonio ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ** - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NetBeans Plugin - M2 Subversion and Ibiblio Repository
Jason van Zyl wrote: On Fri, 2005-10-14 at 19:10 +0200, wilfred springer wrote: To whom it concerns: I would (still) really like to know what I need to do to get my NetBeans plugin into the Maven 2 repository. It won't go into the SVN repository @ Apache but we can get you setup at the Mojo project. I know there is another netbeans plug-in there that you might want to look at that too: http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/netbeans-freeform- maven-plugin/ And I mean both the Maven 2 subversion and the Maven artifacts repository. http://blogs.sun.com/roller/page/wilfred?entry=maven_2_netbeans_plugin Easiest thing would be to get it setup at the Mojo project and then we can build it and deploy it from there. Wilfred: Please read [1] if you'd like to submit a plugin to the Mojo project. [1]: http://mojo.codehaus.org/development/submitting-a-plugin.html -- Trygve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SPAM: can't load wrapper.dll
It runs ok with the warning. I just thought you should know. -Original Message- From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] Sent: 14 October 2005 08:34 To: continuum-users@maven.apache.org Subject: Re: SPAM: can't load wrapper.dll I'm not sure that wrapper support win 2003 64 bit, I think it's only 32 bit version that is supported (http://wrapper.tanukisoftware.org/doc/english/introduction.html#N10123) So, if it doesn't work, you should run bin/plexus.bat Emmanuel Charles Osei a écrit : Hi, When I run continuum as a service on WIN 2003 64 bit AMD with service pack 1 the following warning message is logged. INFO | jvm 1| 2005/10/12 18:07:10 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'. INFO | jvm 1| 2005/10/12 18:07:10 | The file is located on the path at the following location but INFO | jvm 1| 2005/10/12 18:07:10 | could not be loaded: INFO | jvm 1| 2005/10/12 18:07:10 | C:\continuum-1.0-beta-1\bin\win32\..\..\bin\win32\wrapper.dll INFO | jvm 1| 2005/10/12 18:07:10 | Please verify that the file is readable by the current user INFO | jvm 1| 2005/10/12 18:07:10 | and that the file has not been corrupted in any way. INFO | jvm 1| 2005/10/12 18:07:10 | System signals will not be handled correctly. INFO | jvm 1| 2005/10/12 18:07:10 | INFO | jvm 1| 2005/10/12 18:07:10 | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org http://wrapper.tanukisoftware.org/ Any ideas??? Thanks.
transitive dependencies? [ dueme Frage]
What are transitive dependencies ? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: transitive dependencies? [ dueme Frage]
In maven 1.x, if your project depends on jar A and jar A itself requires jar B, you have to manually add dependency to jar B. In maven 2, dependencies are *transitive*, this means your project will automatically be dependent to jar B. Maven 2 includes version conflicts algorithm so that it can manage multiple dependendecies version (for example, lot's of jars will requires commons-logging 1.0.3, some will require 1.0.4...). It also use a scope property to exclude some dependencies, that may be used only for testing and are not required at runtime. Pilgrim, Peter a écrit : What are transitive dependencies ? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: transitive dependencies? [ dueme Frage]
Dependency mechanism in m2 is explained here: http://maven.apache.org/maven2/dependency-mechanism.html Regards, mika Pilgrim, Peter wrote: What are transitive dependencies ? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: transitive dependencies? [ dueme Frage]
Transitivity is a property of some relationships. I was exposed to this term in maths, but assume it has wider meaning. Baically a relationship is transitive if that ralationship behaves as follows: say A relates to B and B relates to C then if A relates to C the relationship is transitive. equality is an example of a transitive relationship, as are and . In the case of M2, a transitive dependency is one which is is a dependency of one of your dependencies. so for example if you need EasyMock and EasyMock needs CGLib then CGLib is a transitive dependency of your project and M2 will go get it for you. Kind regards, Dave Sag Pilgrim, Peter [EMAIL PROTECTED] wrote on 17/10/2005 11:18:59 AM: What are transitive dependencies ? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: transitive dependencies? [ dueme Frage]
Of course, which implies the existence of A(B+C) == AB+BC Cool! -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: David Sag [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 10:36 To: Maven Users List Subject: Re: transitive dependencies? [ dueme Frage] Transitivity is a property of some relationships. I was exposed to this term in maths, but assume it has wider meaning. Baically a relationship is transitive if that ralationship behaves as follows: say A relates to B and B relates to C then if A relates to C the relationship is transitive. equality is an example of a transitive relationship, as are and . In the case of M2, a transitive dependency is one which is is a dependency of one of your dependencies. so for example if you need EasyMock and EasyMock needs CGLib then CGLib is a transitive dependency of your project and M2 will go get it for you. Kind regards, Dave Sag Pilgrim, Peter [EMAIL PROTECTED] wrote on 17/10/2005 11:18:59 AM: What are transitive dependencies ? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ==
RE: [m2] Can't get hello world plugin to work
Hi again, I updated to Maven 2.0 RC and reran the demo, with the same result (see below) What is the problem? Why can't it find my plugin? Why is it throwing an exception? Please help. Much appreciated, Kevin maven-hello-plugin m2 install -DupdateReleaseInfo=true [INFO] Scanning for projects... [INFO] [INFO] Building Maven Hello World Plugin [INFO]task-segment: [install] [INFO] [INFO] [plugin:descriptor] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] No sources to compile [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] No sources to compile [INFO] [surefire:test] [INFO] Setting reports dir: /home/kevin/m2_test/maven-hello-plugin/target/surefire-reports --- T E S T S --- There are no test to run. Results : [surefire] Tests run: 0, Failures: 0, Errors: 0 [INFO] [jar:jar] [INFO] Building jar: /home/kevin/m2_test/maven-hello-plugin/target/maven-hello-plugin-1.0-SNAPSHO T.jar [INFO] [plugin:addPluginArtifactMetadata] [INFO] [install:install] [INFO] Installing /home/kevin/m2_test/maven-hello-plugin/target/maven-hello-plugin-1.0-SNAPSHO T.jar to /home/kevin/.m2/rep ository/org/apache/maven/plugins/maven-hello-plugin/1.0-SNAPSHOT/maven-hello -plugin-1.0-SNAPSHOT.jar [INFO] [plugin:updateRegistry] [INFO] [INFO] BUILD SUCCESSFUL [INFO] [INFO] Total time: 9 seconds [INFO] Finished at: Mon Oct 17 11:21:47 MEST 2005 [INFO] Final Memory: 3M/8M [INFO] maven-hello-plugin m2 hello:hello [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hello'. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.NullPointerException at org.apache.maven.plugin.descriptor.PluginDescriptor.getMojo(PluginDescriptor .java:261) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(Defaul tLifecycleExecutor.java:1363) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggrega tionNeeds(DefaultLifecycleExecutor. java:376) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.java:132) 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(DelegatingMethodAccessorImpl .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) [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Oct 17 11:26:30 MEST 2005 [INFO] Final Memory: 1M/4M [INFO] -Original Message- From: Kevin McNamee [mailto:[EMAIL PROTECTED] Sent: 14 October 2005 14:25 To: 'Maven Users List' Subject: RE: [m2] Can't get hello world plugin to work Hi Yann, Ok I ran Now I get my:maven-hello-plugin m2 hello:hello [INFO] Searching repository for plugin with prefix: 'hello'. --- constituent[0]: file:/proj/local/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[1]: file:/proj/local/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[2]: file:/proj/local/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[3]: file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[4]: file:/proj/local/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[5]: file:/proj/local/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[6]:
[m2] NoSuchMethodError exception when executing site:site
Hi, there, I am trying to use m2 to generate the project site. When executing site:site, i got the following NoSuchMethodError exception: [INFO] Searching repository for plugin with prefix: 'site'. [INFO] [INFO] Building Apache Pluto Site Chinese Translation [INFO] task-segment: [site:site] [INFO] [INFO] Setting property: classpath.resource.loader.class = ' org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] --- constituent[0]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- core-2.0-beta-3.jar constituent[1]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-manager-2.0-beta-3.jar constituent[2]: file:/D:/javasoft/maven-2.0-beta-3/lib/plexus- input-handler-1.0-alpha-2.jar constituent[3]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-api-2.0-beta-3.jar constituent[4]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-descriptor-2.0-beta-3.jar constituent[5]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-2.0-beta-3.jar constituent[6]: file:/D:/javasoft/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[7]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- model-2.0-beta-3.jar constituent[8]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- settings-2.0-beta-3.jar constituent[9]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- repository-metadata-2.0-beta-3.jar constituent[10]: file:/D:/javasoft/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[11]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- provider-api-1.0-alpha-4.jar constituent[12]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- monitor-2.0-beta-3.jar constituent[13]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- reporting-api-2.0-beta-3.jar constituent[14]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- profile-2.0-beta-3.jar constituent[15]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- file-1.0-alpha-4.jar constituent[16]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- project-2.0-beta-3.jar constituent[17]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-registry-2.0-beta-3.jar constituent[18]: file:/D:/javasoft/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[19]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-parameter-documenter-2.0-beta-3.jar constituent[20]: file:/D:/javasoft/maven-2.0-beta-3/lib/doxia- sink-api-1.0-alpha-4.jar constituent[21]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- ssh-1.0-alpha-4.jar constituent[22]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- http-lightweight-1.0-alpha-4.jar --- Exception in thread main java.lang.NoSuchMethodError: org.apache.maven.reporting.MavenReport.canGenerateReport()Z at
[m2] Help! Getting started with plugins
Hi, I have been trying to create a plugin for Maven 2 without much success. I have looked at the following links for help: http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html?page=1 (Maven 1) http://maven.apache.org/maven2/developers/plugin-development-guide.html (Maven 2 - empty) http://maven.apache.org/maven2/developers/developing-plugins-with-marmalade. html (Marmalade - doesn't seem to work) All I need is a working Hello World example that preferably does not involve writing Java. My goal is to encapsulate some of our Ant functionality with a plugin. Much appreciated, Kevin
[m2] where is the Maven 2.0 RC ?
Hi everybody ! Sorry the for the question but where is the RC version everybody is talking about. On the main maven site http://maven.apache.org/maven2/ it is nowhere to be found. Thanks again, Farid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Help! Getting started with plugins
Hi Kevin, Have a look on this following: http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-deve lopment.html Thanks Jason to work on m2 documentation. HTH Cheers, Vincent -Original Message- From: Kevin McNamee [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 6:39 AM To: 'Maven Users List' Subject: [m2] Help! Getting started with plugins Hi, I have been trying to create a plugin for Maven 2 without much success. I have looked at the following links for help: http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html?page=1 (Maven 1) http://maven.apache.org/maven2/developers/plugin-development-guide.html (Maven 2 - empty) http://maven.apache.org/maven2/developers/developing-plugins-with- marmalade. html (Marmalade - doesn't seem to work) All I need is a working Hello World example that preferably does not involve writing Java. My goal is to encapsulate some of our Ant functionality with a plugin. Much appreciated, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] where is the Maven 2.0 RC ?
http://people.apache.org/~brett/maven-2.0-RC/ farid [EMAIL PROTECTED] wrote on 10/17/2005 06:55:20 AM: Hi everybody ! Sorry the for the question but where is the RC version everybody is talking about. On the main maven site http://maven.apache.org/maven2/ it is nowhere to be found. Thanks again, Farid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ForwardSourceID:NT6AAA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] where is the Maven 2.0 RC ?
Hi Farid, Subject: [m2] where is the Maven 2.0 RC ? http://people.apache.org/~brett/maven-2.0-RC/ Cheers, Vincent Hi everybody ! Sorry the for the question but where is the RC version everybody is talking about. On the main maven site http://maven.apache.org/maven2/ it is nowhere to be found. Thanks again, Farid - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Help! Getting started with plugins
Hi Vincent, OK, following the instructions I got it built and deployed to my local repository. However, the only way I could get it to run was to type: m2 sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi or m2 sample.plugin:maven-hello-plugin:sayhi I tried updating my settings.xml (~/.m2/settings.xml I presume) settings pluginGroups pluginGroupsample.plugin/pluginGroup /pluginGroups /settings but I could not get m2 hello:sayhi to work maven-hello-plugin m2 hello:sayhi [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hello'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-hello-plugin' does not exist or no valid version could be found [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 1 second [INFO] Finished at: Mon Oct 17 14:19:49 MEST 2005 [INFO] Final Memory: 1M/4M [INFO] Any help appreciated, Kevin PS. Is this the only way to write plugins? Is Marmalade dead? -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:01 To: 'Maven Users List' Subject: RE: [m2] Help! Getting started with plugins Hi Kevin, Have a look on this following: http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-deve lopment.html Thanks Jason to work on m2 documentation. HTH Cheers, Vincent -Original Message- From: Kevin McNamee [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 6:39 AM To: 'Maven Users List' Subject: [m2] Help! Getting started with plugins Hi, I have been trying to create a plugin for Maven 2 without much success. I have looked at the following links for help: http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html?page=1 (Maven 1) http://maven.apache.org/maven2/developers/plugin-development-guide.html (Maven 2 - empty) http://maven.apache.org/maven2/developers/developing-plugins-with- marmalade. html (Marmalade - doesn't seem to work) All I need is a working Hello World example that preferably does not involve writing Java. My goal is to encapsulate some of our Ant functionality with a plugin. Much appreciated, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Seperate list for M2?
+1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SNAPSHOT Dependency not working for me
Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] Multiple Project Layout and Eclipse
This is a frequently asked and answered question - you'll find plenty in the mail archives. Unfortunately I could not find the answers in the mail archive. That's why I have posted the questions. Any eclipse users volunteer to write a short howto/faq? If I' ll get some input, I could write the HOWTO/FAQ. Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Digester File DTD and Maven
Hi I got a ``special.dtd'' DTD file under say the Java Package ``com.csfb.goldeneye.app'' and I want the Apache Digester to read. How do I tell maven to copy the DTD file under ``com\csfb\goldeneye\app'' in the target folder ``project\target\classes'' ? So what I need is ``project\target\classes\com\csfb\goldeneye\app\special.dtd'' and then the whole thing should be jared up. tia -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Seperate list for M2?
call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Separate list for M2?
I take Peter's point (fnaa fnaa) but also agree there should be no need for an M3 or M4 for quite a while. Kind regards, Dave Sag Milos Kleint [EMAIL PROTECTED] wrote on 17/10/2005 03:46:55 PM: call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Suggestion: Seperate list for M2?
I doubt people will continue doing that for very long. In my opinion it makes no sense to have both in one list, since they are so different it would generate a large amount of noise for both groups of users. There is really not very much administrative overhead to creating an additional mailing list. /Casper -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 15:46 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Digester File DTD and Maven
From: Pilgrim, Peter [EMAIL PROTECTED] How do I tell maven to copy the DTD file under ``com\csfb\goldeneye\app'' in the target folder ``project\target\classes'' ? So what I need is ``project\target\classes\com\csfb\goldeneye\app\special.dtd'' and then the whole thing should be jared up. resource directorysrc/conf/directory targetPathorg/apache/shale/clay/config/targetPath includes include*.dtd/include /includes /resource Adjust as necessary. :) (You can leave out the targetPath in your case.) That's from m2 but the general idea hasn't changed. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Help! Getting started with plugins
Hi Kevin, OK, following the instructions I got it built and deployed to my local repository. However, the only way I could get it to run was to type: m2 sample.plugin:maven-hello-plugin:1.0-SNAPSHOT:sayhi or m2 sample.plugin:maven-hello-plugin:sayhi I tried updating my settings.xml (~/.m2/settings.xml I presume) You right. settings pluginGroups pluginGroupsample.plugin/pluginGroup /pluginGroups /settings but I could not get m2 hello:sayhi to work Works for me. Try the following: #m2 clean install hello:sayhi HTH Cheers, Vincent maven-hello-plugin m2 hello:sayhi [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'hello'. [INFO] -- -- [ERROR] BUILD ERROR [INFO] -- -- [INFO] The plugin 'org.apache.maven.plugins:maven-hello-plugin' does not exist or no valid version could be found [INFO] -- -- [INFO] For more information, run Maven with the -e switch [INFO] -- -- [INFO] Total time: 1 second [INFO] Finished at: Mon Oct 17 14:19:49 MEST 2005 [INFO] Final Memory: 1M/4M [INFO] -- -- Any help appreciated, Kevin PS. Is this the only way to write plugins? Is Marmalade dead? -Original Message- From: Vincent Siveton [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:01 To: 'Maven Users List' Subject: RE: [m2] Help! Getting started with plugins Hi Kevin, Have a look on this following: http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin- deve lopment.html Thanks Jason to work on m2 documentation. HTH Cheers, Vincent -Original Message- From: Kevin McNamee [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 6:39 AM To: 'Maven Users List' Subject: [m2] Help! Getting started with plugins Hi, I have been trying to create a plugin for Maven 2 without much success. I have looked at the following links for help: http://www.onjava.com/pub/a/onjava/2004/03/17/maven.html?page=1 (Maven 1) http://maven.apache.org/maven2/developers/plugin-development-guide.html (Maven 2 - empty) http://maven.apache.org/maven2/developers/developing-plugins-with- marmalade. html (Marmalade - doesn't seem to work) All I need is a working Hello World example that preferably does not involve writing Java. My goal is to encapsulate some of our Ant functionality with a plugin. Much appreciated, Kevin - 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]
Plugin development headaches
Hi all, I have high hopes for Maven and am looking forward deploying it here. I have been struggling to get Maven to create a plugin for me for about a week now. From the mails on this list I realise that documentation is lacking but that with the launch of Maven 2.0 nearing it will soon be fixed. However, I would have believed it possible to hack my way through some examples to get something (i.e. a plugin) up and running with Maven pretty quickly. Those of us who have worked with Makefiles and Ant also expect to be able to avoid the specifics of the programming environment being compiled when using Maven. In other words my first approach to Maven is to script something that compiles the product. In Maven 1.0 it was Jelly and in Maven 2.0 it is well ... what is it? Is it Marmalade? It exists but is lagging and now seems to out of the picture altogether. See: http://marc.theaimsgroup.com/?l=turbine-maven-devm=112735456701029w=2 Is it AntRun? Maybe here is where I will start my next attempt. http://maven.apache.org/maven2/plugins/maven-antrun-plugin/index.html Beanshells are written in Java http://blogs.codehaus.org/people/brett/archives/001090_writing_beanshell_plugins_for_maven_20.html Mojos are written in Java http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin-development.html To help find the right direction I began at: http://maven.apache.org/maven2/plugin-overview.html which only refers to Mojos and Beanshells. Is there to be no scripting language??? Then onto http://maven.apache.org/maven2/developers/plugin-development-guide.html Which is empty! So perhaps you understand my frustration. Where do I begin writing plugins without using a programming language? What is the Maven philosophy? Perhaps the introduction for the Plugin Development Guide could start by pointing out what plugin technologies are available. Any insights appreciated, Kevin Kevin McNamee Design Engineer Symsoft AB Kista Science Tower TEL FAX GSM +46 8 503 86 637 +46 8 566 166 01 +46 702 49 12 92 Färögatan 33,Box 1219 SE-164 28 Kista, Sweden [EMAIL PROTECTED] www.symsoft.se
M2: Install third party library
Hi folks, I try to install a third party jar into my local repository. Under M1 I was used to create a directory that contains the jar-file and a project.xml (now pom.xml) and run maven install. When I do this under M2 I just get this: [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! And the project that is dependent on this jar fails. How can I tell M2 to install that jar in my repo? I cannot find any hint on the M2 site nor the mail archives. Thank´s Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Maven release plugin and CVS: bug?
Hi Michael, I put my pom[1] at the end of the mail. I still can't manage to make it work, even when I embed my password in the URL. I still get: Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\fabPlateformeIntegration\cvsAppliExempleTest for user fabrice However, the username and the password are correct, and I can connect when I use the cvs command line... By the way, I use Maven 2.0-RC and version 2.0-beta-3 of the release plugin. And I have my password stored in the .cvspass of my user home... I'm really running out of ideas to make this work! Thanks in advance for your help :o) Fabrice. [1] : ?xml version=1.0 encoding=ISO-8859-1? project modelVersion4.0.0/modelVersion groupIdtest/groupId artifactIdtest-release/artifactId packagingjar/packaging nameTest/name version1.0.0-SNAPSHOT/version scm connection scm:cvs:pserver:[EMAIL PROTECTED]:/C//fabPlateformeIntegration/cvsAppliExempleTest:Test-Release /connection developerConnection scm:cvs:pserver:[EMAIL PROTECTED]:/C//fabPlateformeIntegration/cvsAppliExempleTest:Test-Release /developerConnection /scm build pluginManagement plugins plugin artifactIdmaven-release-plugin/artifactId version2.0-beta-3/version configuration usernamefabrice/username passwordXXX/password /configuration /plugin /plugins /pluginManagement /build /project Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Michael McCrann Michael.McCrann @macquarie.com Pour Maven Users List 17/10/2005 02:29 users@maven.apache.org cc VeuillezObjet répondre à RE: [m2] Maven release plugin and Maven Users List CVS: bug? [EMAIL PROTECTED] che.org Fabrice, What is the SCM/CVS URL you are using? I have embedded my password in the URL. My URL looks like this: scm:cvs:pserver:my username:my password@CVS server:path to CVS repository:cvs module Michael -Original Message- From: Yann Le Du [mailto:[EMAIL PROTECTED] Sent: Saturday, 15 October 2005 9:10 AM To: Maven Users List Subject: RE: [m2] Maven release plugin and CVS: bug? Hi Fabrice, I am using SVN, but had the same kind of problem (at first). In your release plugin configuration, did you also provide username, along password ? I provided both, and it worked. Now the odd part : I recently removed username and password and it's still working. I can't tell why... Michael McCrann was also trying the release plugin with CVS, and seemed to have come further than you. Maybe he'll be able to help you ? http://marc.theaimsgroup.com/?l=turbine-maven-userm=112925914521071w=2 Regards, Yann --- [EMAIL PROTECTED] a écrit : Hi guys, I'm trying to make the maven release plugin work, but I always get the same error when running m2 release:prepare -Dtag=...: [INFO] [release:prepare] [INFO] Verifying there are no local modifications ... Provider message: The cvs command failed. Command output: cvs update: Empty password used - try 'cvs login' with a real password cvs [update aborted]: authorization failed: server localhost rejected access to C:\cvsRepo for user e222731 This occurs although the .cvspass exists in my user home and it is valid with the right password (the changes plugin can connect to the CVS - even if it generates an empty report...). Is there something special to do to make this plugin work connect to CVS correctly? I tried the password config parameter for the release plugin, but this does not work... Am I
Re: M2: Install third party library
Hi Christian, It is very easy - see http://maven.apache.org/maven2/general.html#importing-jars for instructions. On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Hi folks, I try to install a third party jar into my local repository. Under M1 I was used to create a directory that contains the jar-file and a project.xml (now pom.xml) and run maven install. When I do this under M2 I just get this: [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! And the project that is dependent on this jar fails. How can I tell M2 to install that jar in my repo? I cannot find any hint on the M2 site nor the mail archives. Thank´s Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2: Install third party library
Thank you! I promise to take a closer look to FAQ next time ;-) Hi Christian, It is very easy - see http://maven.apache.org/maven2/general.html#importing-jars for instructions. On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Hi folks, I try to install a third party jar into my local repository. Under M1 I was used to create a directory that contains the jar-file and a project.xml (now pom.xml) and run maven install. When I do this under M2 I just get this: [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! And the project that is dependent on this jar fails. How can I tell M2 to install that jar in my repo? I cannot find any hint on the M2 site nor the mail archives. Thank´s Regards, Chris - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Seperate list for M2?
+1 m1 and m2 are inherently different. Such a massive rewrite is now something that happens everyday, and therefor a seperate list would not be required for m3, m4, etc. However - I think once m2 becomes final - the [EMAIL PROTECTED] should be focused on m2 - not m1. The m1 list should be named something like [EMAIL PROTECTED] or something similar. The main list should be focused on m2... cheers, Arik. On 10/17/05, Casper Thomsen [EMAIL PROTECTED] wrote: I doubt people will continue doing that for very long. In my opinion it makes no sense to have both in one list, since they are so different it would generate a large amount of noise for both groups of users. There is really not very much administrative overhead to creating an additional mailing list. /Casper -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 15:46 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2: Install third party library
no problem :D On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Thank you! I promise to take a closer look to FAQ next time ;-) Hi Christian, It is very easy - see http://maven.apache.org/maven2/general.html#importing-jars for instructions. On 10/17/05, Christian Schlaefcke [EMAIL PROTECTED] wrote: Hi folks, I try to install a third party jar into my local repository. Under M1 I was used to create a directory that contains the jar-file and a project.xml (now pom.xml) and run maven install. When I do this under M2 I just get this: [INFO] [jar:jar] [WARNING] JAR will be empty - no content was marked for inclusion! And the project that is dependent on this jar fails. How can I tell M2 to install that jar in my repo? I cannot find any hint on the M2 site nor the mail archives. Thank´s Regards, Chris - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Digester File DTD and Maven
-Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 15:01 To: Maven Users List Subject: Re: Digester File DTD and Maven From: Pilgrim, Peter [EMAIL PROTECTED] How do I tell maven to copy the DTD file under ``com\csfb\goldeneye\app'' in the target folder ``project\target\classes'' ? So what I need is ``project\target\classes\com\csfb\goldeneye\app\special.dtd'' and then the whole thing should be jared up. resource directorysrc/conf/directory targetPathorg/apache/shale/clay/config/targetPath includes include*.dtd/include /includes /resource Adjust as necessary. :) (You can leave out the targetPath in your case.) That's from m2 but the general idea hasn't changed. Ok suppose I hafe a file like src/conf/com/csfb/xrocket/trading/config.dtd I would expect this to be copied to the jar. And the unit test classpath will pick up the DTD file. The reason I ask is because I am trying to debug a DTD lookup failure. The digester fails to parse a config file I have, where as pre-Maven it did. Typically you do this will Digester to register DTDs. final static protected String registrations[] = { -//CSFB.com XRocket//DTD X Rocket TradeCapture Configuration//EN, /com/csfb/xrocket/trading/config-1.0.dtd, }; Digester digester = new Digester(); digester.setValidating( isValidating() ); digester.setValidating( isDebug() ); digester.setNamespaceAware( isNamespaceAware() ); try { for (int i = 0; i registrations.length; i += 2) { URL url = this.getClass().getResource(registrations[i+1]); if (url != null) { digester.register(registrations[i], url.toString()); } } } catch (Exception e) { throw new InfrastructureException( Boo hoo!!!, e ); } -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] is maven.xml still used
Hi Xavier, Are you looking at http://maven.apache.org; or http://maven.apache.org/maven2;? Moreover - m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. See http://maven.apache.org/maven2; for more information about that (see http://maven.apache.org/maven2/maven1.html for info about the changes from m1 to m2). Cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: I've jumped right in to m2 but most of the docs are for version 1. I've added a goal ( a simple echo ) to maven.xml that I created in the same directory as pom.xml but I don't see the message whem I run m2. Is maven.xmlthe proper place to put my goals? How do I execute my goals? Some simple m2 examples would be of great help to me right now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT Dependency not working for me
Could you post the dependency you're declaring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Maven Internal Repository Setup
Sampreet: Your settings look fine to me regarding Maven. I think you have a tomcat problem. Anyway, I would put the repository on web server like Apache. Andreas -Original Message- From: Sampreet Chawla [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 11:54 AM To: users@maven.apache.org Subject: Maven Internal Repository Setup Hi, I am new to Maven and am trying to setup an internal repository for my team for project dependency files in Maven. I have mapped the folder structure for the jar files as given in http://www.ibiblio.org/maven/ and haved placed them in ${TOMCAT_HOME}/webapps/repository folder. In project.properties file, Ihave referred it as- maven.repo.remote=http://localhost:8080/repository, http://www.ibiblio.org/maven When I try to access it using htp://localhost:8080/repository, it fails. Do i need to make some settings for accessing the same. Pls give your suggestions. Hoping for a reply, Thanks Best Regards, Sampreet - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] xdoclet help
Hi again, I am trying to get the xdoclet-plugin to work for Maven 2. Using the example from: http://mojo.codehaus.org/xdoclet-maven-plugin/usage.html I get the following m2 compile [INFO] Scanning for projects... [INFO] [INFO] Building Nobill Boot [INFO]task-segment: [compile] [INFO] [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [INFO] Trace java.lang.AbstractMethodError at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.c onfigure(ComponentValueSetter.java:247) at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFi eldsConverter.processConfiguration(ObjectWithFieldsConverter.java:137) at org.codehaus.plexus.component.configurator.BasicComponentConfigurator.config ureComponent(BasicComponentConfigurator.java:56) at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPlu ginManager.java:1038) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPlugin Manager.java:563) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage r.java:377) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife cycleExecutor.java:519) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:469) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec ycleExecutor.java:448) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail ures(DefaultLifecycleExecutor.java:301) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa ultLifecycleExecutor.java:268) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle Executor.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(DelegatingMethodAccessorImpl .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) [INFO] [INFO] Total time: 11 seconds [INFO] Finished at: Mon Oct 17 17:54:10 MEST 2005 [INFO] Final Memory: 2M/7M [INFO] My pom.xml looks like dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.8/version /dependency !-- dependency groupIdjboss/groupId artifactIdjboss/artifactId version4.0.2/version /dependency-- dependency groupIdjboss/groupId artifactIdjboss-j2ee/artifactId version4.0.2/version /dependency dependency groupIdjboss/groupId artifactIdjboss-system/artifactId version4.0.2/version /dependency dependency groupIdjboss/groupId artifactIdjboss-common-jdbc-wrapper/artifactId version4.0.2/version /dependency dependency groupIdoracle/groupId artifactIdoracle-jdbc/artifactId version1.4/version /dependency dependency groupIdxdoclet/groupId artifactIdxdoclet-jboss-module/artifactId version1.2/version /dependency dependency groupIdxdoclet/groupId artifactIdxjavadoc/artifactId version1.0.2/version /dependency build plugins plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId version1.0-alpha-1/version executions execution phasegenerate-sources/phase goals goalxdoclet/goal /goals configuration tasks !-- example : -- ejbdoclet
RE: Suggestion: Seperate list for M2?
On Mon, 2005-10-17 at 14:34 +0100, Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? One thing to consider here is that we knew full well that m1 and m2 would be vastly different. We don't expect this for future revisions and plan the m2 design to last for many years. As I said, just something to consider. -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
For critical project we use maven 1.0.2 or m2 ?
Hi, i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) thx in advance - 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]
Maven 2 questions
I'm a newbie to Maven 2 and Maven in general, please help: Q1. Where to find out what goals are bound to what lifecycle Q2. How to run individual tests? Q3. How to run JUnit GUI? Q4. Plugin documentation for various plugins provides information of different variables one can supply to a plugin, but I failed to find information on how to supply the parameters/variables to a plugin at runtime I think I'm having these problems due to scarcity of information on Maven 2 Any help is greatly appreciated! thanks, igor
[m2] NoSuchMethodError when running war plugin
Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT Dependency not working for me
Hello Arik, Thanks for your answer. Here is an example of dependency I want use, but I don't think it's related to the specific dependency because I have tried with many and got always same result. Maybe it's the way I use the SNAPSHOT keyword. dependencies dependency groupIdspringframework/groupId artifactIdspring-core/artifactId version1.1.4-SNAPSHOT/version typejar/type /dependency /dependencies Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 17:05:36 +0200 Could you post the dependency you're declaring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: For critical project we use maven 1.0.2 or m2 ?
Given that m2 is still in a beta release, I would advise m1.0.2 /casper -Original Message- From: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 18:07 To: Maven Users List Subject: For critical project we use maven 1.0.2 or m2 ? Hi, i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) thx in advance - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Plugin development headaches
On Mon, 2005-10-17 at 16:11 +0200, Kevin McNamee wrote: Hi all, I have high hopes for Maven and am looking forward deploying it here. I have been struggling to get Maven to create a plugin for me for about a week now. From the mails on this list I realise that documentation is lacking but that with the launch of Maven 2.0 nearing it will soon be fixed. http://www.codehaus.org/~jvanzyl/maven2/guides/plugin/guide-java-plugin- development.html However, I would have believed it possible to hack my way through some examples to get something (i.e. a plugin) up and running with Maven pretty quickly. Those of us who have worked with Makefiles and Ant also expect to be able to avoid the specifics of the programming environment being compiled when using Maven. In other words my first approach to Maven is to script something that compiles the product. In Maven 1.0 it was Jelly and in Maven 2.0 it is … well ... what is it? http://docs.codehaus.org/display/MAVEN/Maven+Plugin+Matrix The matrix now has references to the SVN repositories and there are no end of examples there. All the plug-ins thus far are written in Java. Is it Marmalade? It exists but is lagging and now seems to out of the picture altogether. See: http://marc.theaimsgroup.com/?l=turbine-maven- devm=112735456701029w=2 Marmalade won't be officially supported. Is it AntRun? Maybe here is where I will start my next attempt. http://maven.apache.org/maven2/plugins/maven-antrun-plugin/index.html It's an option for sure. Beanshells are written in Java http://blogs.codehaus.org/people/brett/archives/001090_writing_beanshell_plugins_for_maven_20.html Beanshell is a scripting language. To help find the right direction I began at: http://maven.apache.org/maven2/plugin-overview.html which only refers to Mojos and Beanshells. Is there to be no scripting language??? Beanshell _is_ a scripting language and we have noted on the mailing lists support for other languages like JRuby, Groovy and Jython. So perhaps you understand my frustration. Where do I begin writing plugins without using a programming language? What is the Maven philosophy? Java, beanshell and antrun options as you've noted are what you've got right now. Perhaps the introduction for the Plugin Development Guide could start by pointing out what plugin technologies are available. Noted, and I'll add that to make it more clear. The current guide strictly focuses on Java. Any insights appreciated, Kevin Kevin McNamee Design Engineer Symsoft AB Kista Science Tower TEL FAX GSM +46 8 503 86 637 +46 8 566 166 01 +46 702 49 12 92 Färögatan 33, Box 1219 SE-164 28 Kista, Sweden [EMAIL PROTECTED] www.symsoft.se -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org We know what we are, but know not what we may be. -- Shakespeare - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError when running war plugin
Hi, try upgrading to maven 2 rc, the problem should disappear. regards, mika Christian Schlaefcke wrote: Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: For critical project we use maven 1.0.2 or m2 ?
good, so if i use maven1.0.2, and the m2 is released in your opinion is necesary to migrate to m2 or not ? -Message d'origine- De : Casper Thomsen [mailto:[EMAIL PROTECTED] Envoyé : lundi 17 octobre 2005 16:17 À : Maven Users List Objet : RE: For critical project we use maven 1.0.2 or m2 ? Given that m2 is still in a beta release, I would advise m1.0.2 /casper -Original Message- From: Marouane Amraoui [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 18:07 To: Maven Users List Subject: For critical project we use maven 1.0.2 or m2 ? Hi, i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) thx in advance - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Local vs Remote Repository
On Mon, 2005-10-17 at 09:11 -0600, Russell, Mark wrote: I realize this is not would most would consider a normal usage scenario, and quite frankly I agree it's not. Unfortunately I happen to work for a company that wants to put the repository into ClearCase Fair enough and we are going to support that as there is an SCM Wagon provider but you will still have to move artifacts from the remote to local repositories. We're not going to be changing Maven internally where the remote repo is the local repo as well. I think you can do at least start trying to do what you need to do: http://blogs.codehaus.org/people/brett/archives/001066_storing_your_maven_repository_in_cvssubversion.html MAR -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 6:20 PM To: Maven Users List Subject: Re: [m2] Local vs Remote Repository Hi. A repository is a place for m2 to get artifacts. I doubt if that can be disabled though. There is, however, -o which will disable all remote activities in m2... yes, it disables the retrieval of artifacts from the repository, but also other offlince tasks like scm activities. The local repository is a cache of the remote repository for used artifacts. I haven't tried specifying the local repo as the remote repo in pom.xml (I'm don't recommend this btw), but I guess that should work if you're sure to have all your artifacts in that repo. Russell, Mark wrote: Is it possible to configure a project (pom.xml) to use a repository located on disk, without the build copying jars from that repository to the local repository in the users profile? Additionally, can this be done without pointing the pom.xml to the local repository in the users profile. MAR - 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] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org We all have problems. How we deal with them is a measure of our worth. -- Unknown - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: For critical project we use maven 1.0.2 or m2 ?
On Mon, 2005-10-17 at 16:07 +, Marouane Amraoui wrote: Hi, i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) The Maven 2.0 final will be release today/tomorrow and I think if you are starting a new project that m2 is the better choice now as 90% of the development resources we have are focused on m2. There is no doubt that m1 will be around for a while but the development team is heavily biased toward m2. thx in advance - 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] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven ant not finding settings.xml?
Hello, We have reproduced this problem on beta 3 and rc1: We are using an ant script to call maven deploy to auto deploy jar, pom and md5's and sh1's for 3rd party libraries to our remote repository. The maven deploy ant task isn't using the settings to find our mirrors or repositories for download. We have a parent pom that it should find, but it's not. The settings.xml is in maven/conf and in HOME/.m2/ Is this a bug, or do we need to do something else for it to find the settings?
anyone ever deployed and used a m2 plugin from non-default repository?
hello, i'm kind of frustrated here, sorry for harsh tone. i've developed a m2 plugin for creation of netbeans modules. it's a conversion of the m1's plugin (http://mevenide.codehaus.org/maven-nbm-plugin ). I don't have access to the default deployment repository, so I deployed to a place at mevenide website. http://mevenide.codehaus.org/m2-repository I even have an archetype template for creating sample preconfigured project. however I'm not capable of using either the plugin or the template. here's the settings file that I tried to write, but it seems to contact the default repository only all the time.. Thanks for any insight Milos Kleint settings localRepository/home/cenda/.m2_repository/localRepository profiles profile idmevenide/id repositories repository idmevenide1/id nameMevenide's M2 repo/name urlhttp://mevenide.codehaus.org/m2-repository/url /repository /repositories pluginRepositories pluginRepository idmevenide2/id nameMevenide's M2 plugins/name urlhttp://mevenide.codehaus.org/m2-repository/url /pluginRepository /pluginRepositories /profile /profiles activeProfiles activeProfilemevenide/activeProfile /activeProfiles pluginGroups pluginGrouporg.codehaus.mevenide.plugins/pluginGroup /pluginGroups /settings
Maven 2.0 and Eclipse
Hello, I just downloaded Maven 2.0 yesterday and am trying to work out the eclipse integration. Unfortunately when I try to run 'm2 eclipse:eclipse' I get the exception stack shown below. This is probably something obvious to the more experienced members on this list, but I am at a loss. Any idea what is going on? Thanks, John S. [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram ls pom.xml src/ [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram m2 eclipse:eclipse [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from central [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [eclipse:eclipse] [INFO] [INFO] Preparing eclipse:eclipse [INFO] [eclipse:eclipse] --- constituent[0]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-beta-3.jar constituent[1]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[2]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[3]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[4]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[5]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[6]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[7]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[9]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[10]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[11]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[12]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[13]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[14]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[15]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[16]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[17]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[18]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar constituent[19]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[20]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[21]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar --- Exception in thread main java.lang.NoClassDefFoundError: org/apache/maven/artifact/resolver/ArtifactNotFoundException at org.apache.maven.plugin.eclipse.EclipsePlugin.write(EclipsePlugin.java:347) at org.apache.maven.plugin.eclipse.EclipsePlugin.execute(EclipsePlugin.java:330) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:498) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) 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
Re: Maven 2.0 and Eclipse
Hi John maybe upgrading to maven 2 rc could resolve your problem. you can get m2 RC from here: http://people.apache.org/~brett/maven-2.0-RC/ Regards, mika John R. Storey wrote: Hello, I just downloaded Maven 2.0 yesterday and am trying to work out the eclipse integration. Unfortunately when I try to run 'm2 eclipse:eclipse' I get the exception stack shown below. This is probably something obvious to the more experienced members on this list, but I am at a loss. Any idea what is going on? Thanks, John S. [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram ls pom.xml src/ [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram m2 eclipse:eclipse [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from central [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [eclipse:eclipse] [INFO] [INFO] Preparing eclipse:eclipse [INFO] [eclipse:eclipse] --- constituent[0]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-beta-3.jar constituent[1]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[2]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[3]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[4]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[5]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[6]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[7]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[9]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[10]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[11]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[12]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[13]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[14]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[15]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[16]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[17]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[18]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar constituent[19]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[20]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[21]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar --- Exception in thread main java.lang.NoClassDefFoundError: org/apache/maven/artifact/resolver/ArtifactNotFoundException at org.apache.maven.plugin.eclipse.EclipsePlugin.write(EclipsePlugin.java:347) at org.apache.maven.plugin.eclipse.EclipsePlugin.execute(EclipsePlugin.java:330) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:498) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at
Re: For critical project we use maven 1.0.2 or m2 ?
Plugin support is still incomplete, but most of the things that people use are there. On 10/17/05, Marouane Amraoui [EMAIL PROTECTED] wrote: now arround m2 we can find all kind plug in used in maven 1.0.2 ? -Message d'origine- De : Jason van Zyl [mailto:[EMAIL PROTECTED] Envoyé : mardi 18 octobre 2005 01:12 À : Maven Users List Objet : Re: For critical project we use maven 1.0.2 or m2 ? On Mon, 2005-10-17 at 16:07 +, Marouane Amraoui wrote: Hi, i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) The Maven 2.0 final will be release today/tomorrow and I think if you are starting a new project that m2 is the better choice now as 90% of the development resources we have are focused on m2. There is no doubt that m1 will be around for a while but the development team is heavily biased toward m2. thx in advance - 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] -- jvz. Jason van Zyl jason at maven.org http://maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Suggestion: Seperate list for M2?
+1 When I want both, I subscribe to both. When I want one, I subscribe to one. Quoting Casper Thomsen [EMAIL PROTECTED]: I doubt people will continue doing that for very long. In my opinion it makes no sense to have both in one list, since they are so different it would generate a large amount of noise for both groups of users. There is really not very much administrative overhead to creating an additional mailing list. /Casper -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 15:46 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError when running war plugin
mika schrieb: Hi, try upgrading to maven 2 rc, the problem should disappear. Where do I get it? regards, mika Christian Schlaefcke wrote: Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[urgent]Maven1.0.2 build Failed
Hi Ive been trying to deploy maven in my GridPort3.5.1 Project for past 1 week on redhat Linux 9...im using command 'maven deploy' and following is the error that I get every time .Plz suggest sloution : maven deploy __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-artifact-plugin-1.5.2.jar. 27K downloaded Attempting to download maven-xdoc-plugin-1.9.1.jar. 1K downloaded Attempting to download maven-site-plugin-1.6.1.jar. 11K downloaded Attempting to download maven-scm-plugin-1.5-beta-3.jar. 98K downloaded Attempting to download gridport-core-4.0.jar. 59K downloaded Attempting to download hibernate-2.1.8.jar. 23K downloaded Attempting to download spring-1.1.jar. 164K downloaded Attempting to download aopalliance-1.0.jar. 4K downloaded Attempting to download jdom-1.0.jar. 138K downloaded Attempting to download axis-1.1.jar. 219K downloaded Attempting to download wsdl4j-1.4.jar. 110K downloaded Attempting to download servletapi-2.3.jar. 76K downloaded Attempting to download jaxrpc.jar. 34K downloaded Attempting to download postgresql-7.4.1-jdbc3.jar. 204K downloaded Attempting to download hsqldb-1.7.3.3.jar. 562K downloaded Attempting to download dom4j-1.4.jar. 475K downloaded Attempting to download odmg-3.0.jar. 13K downloaded Attempting to download ehcache-0.9.jar. 51K downloaded Attempting to download cglib-full-2.0.2.jar. 300K downloaded Attempting to download jta.jar. 8K downloaded Attempting to download saaj.jar. 18K downloaded Attempting to download jstl-1.0.6.jar. 20K downloaded Attempting to download commons-discovery-0.2.jar. 69K downloaded Attempting to download standard-1.0.6.jar. 496K downloaded Attempting to download c-1.0.6.tld. 11K downloaded Attempting to download fmt-1.0.6.tld. 12K downloaded org.apache.maven.MavenException: Unable to extract plugin: /root/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.1.jar at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1075) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) --- Nested Exception --- java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134) at java.util.zip.ZipInputStream.read(ZipInputStream.java:139) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.maven.util.Expand.extractFile(Expand.java:150) at org.apache.maven.util.Expand.expandFile(Expand.java:85) at org.apache.maven.util.Expand.execute(Expand.java:67) at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1071) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to correct this problem by following these simple steps: - read the Maven FAQ at http://maven.apache.org/faq.html
[urgent]Maven1.0.2 deploy Failed in GridPort3.5.1
Hi Ive been trying to deploy maven in my GridPort3.5.1 Project for past 1 week on redhat Linux 9...im using command 'maven deploy' and following is the error that I get every time .Plz suggest sloution : Also Plz subscribe me to : [EMAIL PROTECTED] already sent request to subscribe but no reply recieved yet. maven deploy __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-artifact-plugin-1.5.2.jar. 27K downloaded Attempting to download maven-xdoc-plugin-1.9.1.jar. 1K downloaded Attempting to download maven-site-plugin-1.6.1.jar. 11K downloaded Attempting to download maven-scm-plugin-1.5-beta-3.jar. 98K downloaded Attempting to download gridport-core-4.0.jar. 59K downloaded Attempting to download hibernate-2.1.8.jar. 23K downloaded Attempting to download spring-1.1.jar. 164K downloaded Attempting to download aopalliance-1.0.jar. 4K downloaded Attempting to download jdom-1.0.jar. 138K downloaded Attempting to download axis-1.1.jar. 219K downloaded Attempting to download wsdl4j-1.4.jar. 110K downloaded Attempting to download servletapi-2.3.jar. 76K downloaded Attempting to download jaxrpc.jar. 34K downloaded Attempting to download postgresql-7.4.1-jdbc3.jar. 204K downloaded Attempting to download hsqldb-1.7.3.3.jar. 562K downloaded Attempting to download dom4j-1.4.jar. 475K downloaded Attempting to download odmg-3.0.jar. 13K downloaded Attempting to download ehcache-0.9.jar. 51K downloaded Attempting to download cglib-full-2.0.2.jar. 300K downloaded Attempting to download jta.jar. 8K downloaded Attempting to download saaj.jar. 18K downloaded Attempting to download jstl-1.0.6.jar. 20K downloaded Attempting to download commons-discovery-0.2.jar. 69K downloaded Attempting to download standard-1.0.6.jar. 496K downloaded Attempting to download c-1.0.6.tld. 11K downloaded Attempting to download fmt-1.0.6.tld. 12K downloaded org.apache.maven.MavenException: Unable to extract plugin: /root/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.1.jar at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1075) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) --- Nested Exception --- java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134) at java.util.zip.ZipInputStream.read(ZipInputStream.java:139) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.maven.util.Expand.extractFile(Expand.java:150) at org.apache.maven.util.Expand.expandFile(Expand.java:85) at org.apache.maven.util.Expand.execute(Expand.java:67) at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1071) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) You have encountered an unknown error running Maven. Please help us to
Re: Maven 2.0 and Eclipse
Thank you Mika. Unfortunately I get the same error. Here are the steps I am following, on an SUSE Linux Professional 9.3 box. It should not be relevant, but Eclipse is 3.1.1. 1. Install Maven 2 (used the link you gave for the RC) 2. Go to an empty directory and execute 'm2 archetype:create -DgroupId=com.myfocusonfitness.TrainingApp -DartifactId=TrainingApp' 3. Execute 'cd TrainingApp' 4. Execute 'm2 eclipse:eclipse' Now I have never used Maven, and am approaching Eclipse reluctantly due to its functionality and popularity, so I may be missing something obvious. Do you see what it is though? I thought taking the skeleton application would work flawlessly and give me a base to operate from. Thanks, John S On Mon, 2005-10-17 at 19:01 +0200, mika wrote: Hi John maybe upgrading to maven 2 rc could resolve your problem. you can get m2 RC from here: http://people.apache.org/~brett/maven-2.0-RC/ Regards, mika John R. Storey wrote: Hello, I just downloaded Maven 2.0 yesterday and am trying to work out the eclipse integration. Unfortunately when I try to run 'm2 eclipse:eclipse' I get the exception stack shown below. This is probably something obvious to the more experienced members on this list, but I am at a loss. Any idea what is going on? Thanks, John S. [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram ls pom.xml src/ [EMAIL PROTECTED]:~/code/TrainingProgram/TrainingProgram m2 eclipse:eclipse [INFO] Searching repository for plugin with prefix: 'eclipse'. [INFO] org.apache.maven.plugins: checking for updates from central [INFO] org.codehaus.mojo: checking for updates from central [INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking for updates from central [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [eclipse:eclipse] [INFO] [INFO] Preparing eclipse:eclipse [INFO] [eclipse:eclipse] --- constituent[0]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-beta-3.jar constituent[1]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[2]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[3]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[4]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[5]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[6]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[7]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[9]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[10]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[11]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[12]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[13]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[14]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[15]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[16]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[17]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[18]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar constituent[19]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[20]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[21]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/home/jstorey/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar --- Exception in thread main java.lang.NoClassDefFoundError: org/apache/maven/artifact/resolver/ArtifactNotFoundException at org.apache.maven.plugin.eclipse.EclipsePlugin.write(EclipsePlugin.java:347) at org.apache.maven.plugin.eclipse.EclipsePlugin.execute(EclipsePlugin.java:330) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554)
Re: [urgent]Maven1.0.2 build Failed
Are you running maven as root or did you point your local repo to /root? (neither of which is a good idea). It looks like you don't have read access to your local repo (/root/.maven/...). -Lukas F-a-r-h-a-n-a wrote: Hi Ive been trying to deploy maven in my GridPort3.5.1 Project for past 1 week on redhat Linux 9...im using command 'maven deploy' and following is the error that I get every time .Plz suggest sloution : maven deploy __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~ |_| |_\__,_|\_/\___|_||_| v. 1.0.2 Attempting to download maven-artifact-plugin-1.5.2.jar. 27K downloaded Attempting to download maven-xdoc-plugin-1.9.1.jar. 1K downloaded Attempting to download maven-site-plugin-1.6.1.jar. 11K downloaded Attempting to download maven-scm-plugin-1.5-beta-3.jar. 98K downloaded Attempting to download gridport-core-4.0.jar. 59K downloaded Attempting to download hibernate-2.1.8.jar. 23K downloaded Attempting to download spring-1.1.jar. 164K downloaded Attempting to download aopalliance-1.0.jar. 4K downloaded Attempting to download jdom-1.0.jar. 138K downloaded Attempting to download axis-1.1.jar. 219K downloaded Attempting to download wsdl4j-1.4.jar. 110K downloaded Attempting to download servletapi-2.3.jar. 76K downloaded Attempting to download jaxrpc.jar. 34K downloaded Attempting to download postgresql-7.4.1-jdbc3.jar. 204K downloaded Attempting to download hsqldb-1.7.3.3.jar. 562K downloaded Attempting to download dom4j-1.4.jar. 475K downloaded Attempting to download odmg-3.0.jar. 13K downloaded Attempting to download ehcache-0.9.jar. 51K downloaded Attempting to download cglib-full-2.0.2.jar. 300K downloaded Attempting to download jta.jar. 8K downloaded Attempting to download saaj.jar. 18K downloaded Attempting to download jstl-1.0.6.jar. 20K downloaded Attempting to download commons-discovery-0.2.jar. 69K downloaded Attempting to download standard-1.0.6.jar. 496K downloaded Attempting to download c-1.0.6.tld. 11K downloaded Attempting to download fmt-1.0.6.tld. 12K downloaded org.apache.maven.MavenException: Unable to extract plugin: /root/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.1.jar at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1075) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at com.werken.forehead.Forehead.main(Forehead.java:581) --- Nested Exception --- java.io.EOFException: Unexpected end of ZLIB input stream at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:215) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134) at java.util.zip.ZipInputStream.read(ZipInputStream.java:139) at java.io.FilterInputStream.read(FilterInputStream.java:90) at org.apache.maven.util.Expand.extractFile(Expand.java:150) at org.apache.maven.util.Expand.expandFile(Expand.java:85) at org.apache.maven.util.Expand.execute(Expand.java:67) at org.apache.maven.plugin.PluginManager.unpackPlugin(PluginManager.java:1071) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:887) at org.apache.maven.plugin.PluginManager.installPlugin(PluginManager.java:862) at org.apache.maven.plugin.PluginManager.processDependencies(PluginManager.java:448) at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:642) at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263) at org.apache.maven.cli.App.doMain(App.java:488) at org.apache.maven.cli.App.main(App.java:1239) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.werken.forehead.Forehead.run(Forehead.java:551) at
Re: Maven 2.0 and Eclipse
Never mind, I forgot to reset my environment and was picking up the beta build. Everything works great in the RC. Thanks! John S - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT Dependency not working for me
When you specify that you depend on a snapshot version - those that publish the dependency must publish a snapshot version of it. So if I publish a project named arik, you will see several versions of my project at the repository: arik-0.1-SNAPSHOT.jar - published while I'm developing the 0.1 version arik-0.1.jar - published when I *finish* developing 0.1 and releasing it to the public arik-0.2-SNAPSHOT.jar - published when I work on the 0.2 version . . . Back to your question: if you look at the repository (http://www.ibiblio.org/maven2/springframework/spring-core/) you will see that the spring guys have not published snapshots of 1.1.4 - probably because 1.1.4 has been released and there's no point releasing a snapshot for it. There is also no general SNAPSHOT version there (spring-core-SNAPSHOT.jar) - simply because the Spring guys haven't published one. Check with the spring guys if they have setup a different repository for snapshot releases (Apache, for instance, have a seperate snapshots repository - not ibiblio). May I ask why you want to use the core-SNAPSHOT version of spring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello Arik, Thanks for your answer. Here is an example of dependency I want use, but I don't think it's related to the specific dependency because I have tried with many and got always same result. Maybe it's the way I use the SNAPSHOT keyword. dependencies dependency groupIdspringframework/groupId artifactIdspring-core/artifactId version1.1.4-SNAPSHOT/version typejar/type /dependency /dependencies Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 17:05:36 +0200 Could you post the dependency you're declaring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven Internal Repository Setup
Hi Sampreet - if you can't access the http://localhost:8080/maven; then it is not related to Maven - you probabaly forgot to configure your tomcat. If you are new to tomcat - I recommend you try the tomcat site or the tomcat mailing list for help. cheers, Arik. On 10/17/05, Andreas Guther [EMAIL PROTECTED] wrote: Sampreet: Your settings look fine to me regarding Maven. I think you have a tomcat problem. Anyway, I would put the repository on web server like Apache. Andreas -Original Message- From: Sampreet Chawla [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 11:54 AM To: users@maven.apache.org Subject: Maven Internal Repository Setup Hi, I am new to Maven and am trying to setup an internal repository for my team for project dependency files in Maven. I have mapped the folder structure for the jar files as given in http://www.ibiblio.org/maven/ and haved placed them in ${TOMCAT_HOME}/webapps/repository folder. In project.properties file, Ihave referred it as- maven.repo.remote=http://localhost:8080/repository, http://www.ibiblio.org/maven When I try to access it using htp://localhost:8080/repository, it fails. Do i need to make some settings for accessing the same. Pls give your suggestions. Hoping for a reply, Thanks Best Regards, Sampreet - Yahoo! Music Unlimited - Access over 1 million songs. Try it free. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError when running war plugin
it's currently available from: http://people.apache.org/~brett/maven-2.0-RC/ Cheers, mika Christian Schlaefcke wrote: mika schrieb: Hi, try upgrading to maven 2 rc, the problem should disappear. Where do I get it? regards, mika Christian Schlaefcke wrote: Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] ActiveProjectArtifact
Since I got now responses yet I'll try to clarify: A plugin that I wrote loops through the dependencies of an artifact trying to copy jars, wars and special archives into a distribution directory. The problem now is that since m2-b3 all artifacts beeing a part of the current multi-artifact build is found to be of the concrete type ActiveProjectArtifact. ActiveProjectArtifacts have no reference to the resulting file of that artifact (the resulting jar/war/etc...). The question is: How can a plugin in a multiproject build resolve an ActiveProjectArtifact resulting artifact file? Thanks, Ørjan Orjan Austvold wrote: I have created a plugin which creates a custom distribution of artifacts built within a multi-project. Since maven-2.0-beta-3 I've seen that the file property of an ActiveProjectArtifact has changed from a reference to a jar-file to a reference of the artifacts target/classes directory. How can I retreive a reference to the jar-file of an artifact built in the current project? Ørjan -- Ørjan Austvold - Senior Software Architect www.colibria.com - putting the presence into messaging - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Suggestion: Seperate list for M2?
This is a stage when you'd get a number of How do I do this m1.x function in m2? questions from m1.x users. For this reason - and considering that we could prefix the subject with m1 or m2 - it seems like having separate lists right now is a bad idea, unless people largely Cc such topics to both the lists. Thanks, Rk x77309 On Mon, 17 Oct 2005, Jeff Jensen wrote: +1 When I want both, I subscribe to both. When I want one, I subscribe to one. Quoting Casper Thomsen [EMAIL PROTECTED]: I doubt people will continue doing that for very long. In my opinion it makes no sense to have both in one list, since they are so different it would generate a large amount of noise for both groups of users. There is really not very much administrative overhead to creating an additional mailing list. /Casper -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 15:46 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] is maven.xml still used
Thanks that's what I was beginning to think after have looked thru the maven 2 site. Maybe I missed it but I didn't see anywhere on the site what you've said m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. This seem like such a fundamental thing that is would be in bold on the getting started page. Xavier On 10/17/05, Arik Kfir [EMAIL PROTECTED] wrote: Hi Xavier, Are you looking at http://maven.apache.org; or http://maven.apache.org/maven2;? Moreover - m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. See http://maven.apache.org/maven2; for more information about that (see http://maven.apache.org/maven2/maven1.html for info about the changes from m1 to m2). Cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: I've jumped right in to m2 but most of the docs are for version 1. I've added a goal ( a simple echo ) to maven.xml that I created in the same directory as pom.xml but I don't see the message whem I run m2. Is maven.xmlthe proper place to put my goals? How do I execute my goals? Some simple m2 examples would be of great help to me right now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError when running war plugin
cool! Thank you! Why isn´t it available from the official site? Chris it's currently available from: http://people.apache.org/~brett/maven-2.0-RC/ Cheers, mika Christian Schlaefcke wrote: mika schrieb: Hi, try upgrading to maven 2 rc, the problem should disappear. Where do I get it? regards, mika Christian Schlaefcke wrote: Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError when running war plugin
huh, don't know... AFAIK the 2.0 final is planned just for today or tomorrow. The RC has been announced on the list 2 days ago or so, suppose the final release will be available from the site then. mika Christian Schlaefcke wrote: cool! Thank you! Why isn´t it available from the official site? Chris it's currently available from: http://people.apache.org/~brett/maven-2.0-RC/ Cheers, mika Christian Schlaefcke wrote: mika schrieb: Hi, try upgrading to maven 2 rc, the problem should disappear. Where do I get it? regards, mika Christian Schlaefcke wrote: Hi folks, I´m not sure weather this is an m2 or continuum or a configuration issue. When running m2 install on my webapp project I get this error: [INFO] [war:war] [INFO] Exploding webapp... [INFO] Copy webapp resources to D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Assembling webapp JForum in D:\eclipse\workspace\MyProject\target\MyWebApp [INFO] Generating war D:\eclipse\workspace\MyProject\target\MyWebApp.war --- constituent[0]: file:/D:/tools/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[1]: file:/D:/tools/maven-2.0-beta-3/lib/doxia-sink-api-1.0-alpha-4.jar constituent[2]: file:/D:/tools/maven-2.0-beta-3/lib/jline-0.9.1.jar constituent[3]: file:/D:/tools/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[4]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-2.0-beta-3.jar constituent[5]: file:/D:/tools/maven-2.0-beta-3/lib/maven-artifact-manager-2.0-beta-3.jar constituent[6]: file:/D:/tools/maven-2.0-beta-3/lib/maven-core-2.0-beta-3.jar constituent[7]: file:/D:/tools/maven-2.0-beta-3/lib/maven-model-2.0-beta-3.jar constituent[8]: file:/D:/tools/maven-2.0-beta-3/lib/maven-monitor-2.0-beta-3.jar constituent[9]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-api-2.0-beta-3.jar constituent[10]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-descriptor-2.0-beta-3.jar constituent[11]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-parameter-documenter-2.0-be constituent[12]: file:/D:/tools/maven-2.0-beta-3/lib/maven-plugin-registry-2.0-beta-3.jar constituent[13]: file:/D:/tools/maven-2.0-beta-3/lib/maven-profile-2.0-beta-3.jar constituent[14]: file:/D:/tools/maven-2.0-beta-3/lib/maven-project-2.0-beta-3.jar constituent[15]: file:/D:/tools/maven-2.0-beta-3/lib/maven-reporting-api-2.0-beta-3.jar constituent[16]: file:/D:/tools/maven-2.0-beta-3/lib/maven-repository-metadata-2.0-beta-3.jar constituent[17]: file:/D:/tools/maven-2.0-beta-3/lib/maven-settings-2.0-beta-3.jar constituent[18]: file:/D:/tools/maven-2.0-beta-3/lib/plexus-input-handler-1.0-alpha-2.jar constituent[19]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-file-1.0-alpha-4.jar constituent[20]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-http-lightweight-1.0-alpha-4.jar constituent[21]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-provider-api-1.0-alpha-4.jar constituent[22]: file:/D:/tools/maven-2.0-beta-3/lib/wagon-ssh-1.0-alpha-4.jar Exception in thread main java.lang.NoSuchMethodError: org.codehaus.plexus.util.FileUtils.getDefaultExcludesAsList()Ljava/util/List; at org.apache.maven.plugin.war.AbstractWarMojo.getExcludes(AbstractWarMojo.java:157) at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:119) at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:86) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:417) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:554) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:508) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:494) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:307) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:217) at org.apache.maven.cli.MavenCli.main(MavenCli.java:247) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at 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) Any ideas on how to fix this? Thanks Regards, Chris
archetype xsd ?
Hi, Is there an xsd available for archetype.xml ? Thanks Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] NoSuchMethodError exception when executing site:site
Zheng, I got the same thing over the weekend and found that Maven was downloading the most recent plugins but I didn't have the most recent dist to go with them. To get things working (at least partway), I cleared out my maven plugings from the repo and installed M2 RC. This got me further, but I still had an issue. . .if I remember, it had something to do with trying to generate a site from a project without any source. If I create a main/java dir or generate the site from a project which contains source, it execs fine. David On 10/17/05, Zhong ZHENG [EMAIL PROTECTED] wrote: Hi, there, I am trying to use m2 to generate the project site. When executing site:site, i got the following NoSuchMethodError exception: [INFO] Searching repository for plugin with prefix: 'site'. [INFO] [INFO] Building Apache Pluto Site Chinese Translation [INFO] task-segment: [site:site] [INFO] [INFO] Setting property: classpath.resource.loader.class = ' org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] --- constituent[0]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- core-2.0-beta-3.jar constituent[1]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-manager-2.0-beta-3.jar constituent[2]: file:/D:/javasoft/maven-2.0-beta-3/lib/plexus- input-handler-1.0-alpha-2.jar constituent[3]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-api-2.0-beta-3.jar constituent[4]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-descriptor-2.0-beta-3.jar constituent[5]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-2.0-beta-3.jar constituent[6]: file:/D:/javasoft/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[7]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- model-2.0-beta-3.jar constituent[8]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- settings-2.0-beta-3.jar constituent[9]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- repository-metadata-2.0-beta-3.jar constituent[10]: file:/D:/javasoft/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[11]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- provider-api-1.0-alpha-4.jar constituent[12]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- monitor-2.0-beta-3.jar constituent[13]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- reporting-api-2.0-beta-3.jar constituent[14]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- profile-2.0-beta-3.jar constituent[15]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon- file-1.0-alpha-4.jar constituent[16]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- project-2.0-beta-3.jar constituent[17]:
Re: SNAPSHOT Dependency not working for me
Now all is clear, thank you very much. My understanding was that maven gets the latest version but I didn't realize that that version must contain the SNAPSHOT keyword in the artifactId name. I don't want to use spring-core SNAPSHOT, I am just learning maven going through the very good book A developer's Notebook. However that point should be better explained as you have just explained me. Thank again. Cheers, Gianfranco Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 20:11:06 +0200 When you specify that you depend on a snapshot version - those that publish the dependency must publish a snapshot version of it. So if I publish a project named arik, you will see several versions of my project at the repository: arik-0.1-SNAPSHOT.jar - published while I'm developing the 0.1 version arik-0.1.jar - published when I *finish* developing 0.1 and releasing it to the public arik-0.2-SNAPSHOT.jar - published when I work on the 0.2 version . . . Back to your question: if you look at the repository (http://www.ibiblio.org/maven2/springframework/spring-core/) you will see that the spring guys have not published snapshots of 1.1.4 - probably because 1.1.4 has been released and there's no point releasing a snapshot for it. There is also no general SNAPSHOT version there (spring-core-SNAPSHOT.jar) - simply because the Spring guys haven't published one. Check with the spring guys if they have setup a different repository for snapshot releases (Apache, for instance, have a seperate snapshots repository - not ibiblio). May I ask why you want to use the core-SNAPSHOT version of spring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello Arik, Thanks for your answer. Here is an example of dependency I want use, but I don't think it's related to the specific dependency because I have tried with many and got always same result. Maybe it's the way I use the SNAPSHOT keyword. dependencies dependency groupIdspringframework/groupId artifactIdspring-core/artifactId version1.1.4-SNAPSHOT/version typejar/type /dependency /dependencies Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 17:05:36 +0200 Could you post the dependency you're declaring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Mettez- vous à la recherche! Mais pas trop sérieusement quand même! http://search.fr.msn.ch/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] NoSuchMethodError exception when executing site:site
Brett Porter had this to say about the error There was a required update to the reporting API. Compatible plugins will be republished in the near future. If you are able to rebuild the plugin from SVN that should work as is. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David H. DeWolf Sent: Monday, October 17, 2005 8:19 AM To: Maven Users List Subject: Re: [m2] NoSuchMethodError exception when executing site:site Zheng, I got the same thing over the weekend and found that Maven was downloading the most recent plugins but I didn't have the most recent dist to go with them. To get things working (at least partway), I cleared out my maven plugings from the repo and installed M2 RC. This got me further, but I still had an issue. . .if I remember, it had something to do with trying to generate a site from a project without any source. If I create a main/java dir or generate the site from a project which contains source, it execs fine. David On 10/17/05, Zhong ZHENG [EMAIL PROTECTED] wrote: Hi, there, I am trying to use m2 to generate the project site. When executing site:site, i got the following NoSuchMethodError exception: [INFO] Searching repository for plugin with prefix: 'site'. [INFO] -- -- [INFO] Building Apache Pluto Site Chinese Translation [INFO] task-segment: [site:site] [INFO] -- -- [INFO] Setting property: classpath.resource.loader.class = ' org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] ** [INFO] Starting Jakarta Velocity v1.4 [INFO] RuntimeInstance initializing. [INFO] Default Properties File: org\apache\velocity\runtime\defaults\velocity.properties [INFO] Default ResourceManager initializing. (class org.apache.velocity.runtime.resource.ResourceManagerImpl) [INFO] Resource Loader Instantiated: org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader [INFO] ClasspathResourceLoader : initialization starting. [INFO] ClasspathResourceLoader : initialization complete. [INFO] ResourceCache : initialized. (class org.apache.velocity.runtime.resource.ResourceCacheImpl) [INFO] Default ResourceManager initialization complete. [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include [INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach [INFO] Created: 20 parsers. [INFO] Velocimacro : initialization starting. [INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'VM_global_library.vm' [INFO] Velocimacro : VM library template macro registration complete. [INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT replace previous VM definitions [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be global in scope if allowed. [INFO] Velocimacro : initialization complete. [INFO] Velocity successfully started. [INFO] [site:site] --- constituent[0]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- core-2.0-beta-3.jar constituent[1]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-manager-2.0-beta-3.jar constituent[2]: file:/D:/javasoft/maven-2.0-beta-3/lib/plexus- input-handler-1.0-alpha-2.jar constituent[3]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-api-2.0-beta-3.jar constituent[4]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- plugin-descriptor-2.0-beta-3.jar constituent[5]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- artifact-2.0-beta-3.jar constituent[6]: file:/D:/javasoft/maven-2.0-beta-3/lib/commons-cli-1.0.jar constituent[7]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- model-2.0-beta-3.jar constituent[8]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- settings-2.0-beta-3.jar constituent[9]: file:/D:/javasoft/maven-2.0-beta-3/lib/maven- repository-metadata-2.0-beta-3.jar constituent[10]: file:/D:/javasoft/maven-2.0-beta-3/lib/jsch-0.1.21.jar constituent[11]: file:/D:/javasoft/maven-2.0-beta-3/lib/wagon-
Re: archetype xsd ?
On Mon, 2005-10-17 at 21:05 +0200, Jorg Heymans wrote: Hi, Is there an xsd available for archetype.xml ? Not right now, but I'm going to start using modello at which point I can generate an XSD. Thanks Jorg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl jason at maven.org http://maven.apache.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Suggestion: Seperate list for M2?
-1 for me. I find it very comforting to have one list on which I can ask all questions maven. Be it working with 1.0.2, 1.1-beta2 or m2. I don't mind the high traffic, and I also don't mind when people don't put m2 or m1 in the header (it does help, though). And I agree with RKS that the migration questions will fall into a gap. Martijn On 10/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: This is a stage when you'd get a number of How do I do this m1.x function in m2? questions from m1.x users. For this reason - and considering that we could prefix the subject with m1 or m2 - it seems like having separate lists right now is a bad idea, unless people largely Cc such topics to both the lists. Thanks, Rk x77309 On Mon, 17 Oct 2005, Jeff Jensen wrote: +1 When I want both, I subscribe to both. When I want one, I subscribe to one. Quoting Casper Thomsen [EMAIL PROTECTED]: I doubt people will continue doing that for very long. In my opinion it makes no sense to have both in one list, since they are so different it would generate a large amount of noise for both groups of users. There is really not very much administrative overhead to creating an additional mailing list. /Casper -Original Message- From: Milos Kleint [mailto:[EMAIL PROTECTED] Sent: Mon 10/17/2005 15:46 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? call me grumpy, but I don't want m3 or m4 to arrive. complete rewrites shouldn't be a daily routine. on the other hand a separate mailing list for m1 and m2 doesn't sound like a good idea. As long as people mention the version in the subject, it's fine with me. Milos Pilgrim, Peter wrote: -1 What happens when M3 or M4 arrive? Do you really keep creating a maven list for each development release for now and forever? Not to mention the headache it would cause admins how would the mindgroup and knowledge for M1 users increase when suddenly M2 whizbang innovation or discovery is discussed. -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 -Original Message- From: Xavier Toth [mailto:[EMAIL PROTECTED] Sent: 17 October 2005 13:40 To: Maven Users List Subject: Re: Suggestion: Seperate list for M2? +1 On 10/17/05, Thomas Van de Velde [EMAIL PROTECTED] wrote: +1 On 10/17/05, David Sag [EMAIL PROTECTED] wrote: I second that - a separate m2 list would be welcome Kind regards, Dave Sag Siegfried Heintze [EMAIL PROTECTED] wrote on 17/10/2005 03:46:37 AM: Just a suggestion: should there not be a separate list for M2? Siegfried - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml == - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] ActiveProjectArtifact
The active project changes during the reactor build. At the compile stage, it refers to the target/classes directory. At the package stage, it points to the jar file. If you are implementing your own packaging goal, you need to call project.getArtifact().setFile( ... ) to ensure this is used. - Brett On 10/17/05, Orjan Austvold [EMAIL PROTECTED] wrote: Since I got now responses yet I'll try to clarify: A plugin that I wrote loops through the dependencies of an artifact trying to copy jars, wars and special archives into a distribution directory. The problem now is that since m2-b3 all artifacts beeing a part of the current multi-artifact build is found to be of the concrete type ActiveProjectArtifact. ActiveProjectArtifacts have no reference to the resulting file of that artifact (the resulting jar/war/etc...). The question is: How can a plugin in a multiproject build resolve an ActiveProjectArtifact resulting artifact file? Thanks, Ørjan Orjan Austvold wrote: I have created a plugin which creates a custom distribution of artifacts built within a multi-project. Since maven-2.0-beta-3 I've seen that the file property of an ActiveProjectArtifact has changed from a reference to a jar-file to a reference of the artifacts target/classes directory. How can I retreive a reference to the jar-file of an artifact built in the current project? Ørjan -- Ørjan Austvold - Senior Software Architect www.colibria.com - putting the presence into messaging - 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]
JXR in M2
I've done a lot of work with m1, and now I'm working on a small project with m2... Is there a way to pretty print sources, like m1 did? I believe it was the jxr plugin in m1. Also, do other people have an issue with javadocs being created, but not properly linked in. I am running the javadoc plugin as a report. Thanks for all the help, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: For critical project we use maven 1.0.2 or m2 ?
From: Marouane Amraoui [EMAIL PROTECTED] i m working on a critical j2ee project, i want an advise from you if i use a released version maven 1.0.2 or beta version of maven 2.0 (m2) I would not start any new projects in Maven 1. What's your timeline? Brett posted a Maven 2 release candidate (not a beta) on the 15th. So... if all you want is the final label on it, I would think that's coming soon. -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Digester File DTD and Maven
From: Pilgrim, Peter [EMAIL PROTECTED] Ok suppose I hafe a file like src/conf/com/csfb/xrocket/trading/config.dtd I would expect this to be copied to the jar. Is that happening? With the right resource tag, it should get copied to target/classes and end up in the .jar file. And the unit test classpath will pick up the DTD file. You'd need to do the same thing inside the testResources section so it will copy the dtd into target/test-classes. testResources testResource directorysrc/conf/directory includes include**/*.xml/include include**/*.dtd/include /includes /testResource /testResources (That one looks a little different in m1... what are you using?) -- Wendy Smoak - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [urgent]Maven1.0.2 deploy Failed in GridPort3.5.1
Hi Ive been trying to deploy maven in my GridPort3.5.1 Project for past 1 week on redhat Linux 9...im using command 'maven deploy' and following is the error that I get every time .Plz suggest sloution : [SNIP] It seems that this jar is invalid : /root/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.1.jar Can you try to test it : Jar -tvf /root/.maven/repository/maven/plugins/maven-xdoc-plugin-1.9.1.jar Arnaud - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SNAPSHOT Dependency not working for me
No problem :) Regarding the documentation regarding snapshots - you could take a look at http://maven.apache.org/using/managing-dependencies.html - which has a section called Using SNAPSHOT Dependencies (especially the last paragraph). Note that it refers mainly to Maven 1.0, and not 2.0, but the principal is the same (I assume the Maven 2.0 documentation will reflect this as well at some point). On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Now all is clear, thank you very much. My understanding was that maven gets the latest version but I didn't realize that that version must contain the SNAPSHOT keyword in the artifactId name. I don't want to use spring-core SNAPSHOT, I am just learning maven going through the very good book A developer's Notebook. However that point should be better explained as you have just explained me. Thank again. Cheers, Gianfranco Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 20:11:06 +0200 When you specify that you depend on a snapshot version - those that publish the dependency must publish a snapshot version of it. So if I publish a project named arik, you will see several versions of my project at the repository: arik-0.1-SNAPSHOT.jar - published while I'm developing the 0.1 version arik-0.1.jar - published when I *finish* developing 0.1 and releasing it to the public arik-0.2-SNAPSHOT.jar - published when I work on the 0.2 version . . . Back to your question: if you look at the repository (http://www.ibiblio.org/maven2/springframework/spring-core/) you will see that the spring guys have not published snapshots of 1.1.4 - probably because 1.1.4 has been released and there's no point releasing a snapshot for it. There is also no general SNAPSHOT version there (spring-core-SNAPSHOT.jar) - simply because the Spring guys haven't published one. Check with the spring guys if they have setup a different repository for snapshot releases (Apache, for instance, have a seperate snapshots repository - not ibiblio). May I ask why you want to use the core-SNAPSHOT version of spring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello Arik, Thanks for your answer. Here is an example of dependency I want use, but I don't think it's related to the specific dependency because I have tried with many and got always same result. Maybe it's the way I use the SNAPSHOT keyword. dependencies dependency groupIdspringframework/groupId artifactIdspring-core/artifactId version1.1.4-SNAPSHOT/version typejar/type /dependency /dependencies Original Message Follows From: Arik Kfir [EMAIL PROTECTED] Reply-To: Maven Users List users@maven.apache.org To: Maven Users List users@maven.apache.org Subject: Re: SNAPSHOT Dependency not working for me Date: Mon, 17 Oct 2005 17:05:36 +0200 Could you post the dependency you're declaring? On 10/17/05, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hello, I try to use the SNAPSHOT keyword in a dependeny but I get always an errop message. Maven try to search for an artifact with SNAPSHOT in the name e.g. artifactId-1.2.7-SNAPSHOT.jar and obviously cannot be found. I use maven 1.1-beta-2 Thanks for help Gianfranco _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Surlignez tout ce qui vous intéresse en surfant et visualisez vos recherches! http://toolbar.fr.msn.ch?DI=1057XAPID=2083 - 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] _ Mettez- vous à la recherche! Mais pas trop sérieusement quand même! http://search.fr.msn.ch/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] assembly:assembly broken for subproject modules in b3
Since installing maven2-beta3, I cannot get the assembly plugin to zip up all the dependencies for subprojects modules in a parent project pom. I can run the assembly:unpack target and find all dependencies to unpack, but the assembly:assembly no longer will do the reverse and package all into a single zip. My pom.xml and assembly xml did not change so apparently something new in the latest beta broke existing functionality. What do I do to get a parent project to create an assembly zip for subproject modules that have described their respective dependencies? Ron Yust VP of Technology Conversant, Inc. Cell: (417) 540-5003 Office: (417) 781-7994 ext. 201 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.conversantinc.com www.conversantinc.com _ This e-mail and any files transmitted with it are the property of Conversant, Inc., are confidential, and are intended solely for the use of the individual or entity to whom this email is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this message in error, please delete this message immediately from your computer and contact the sender by telephone at (417) 781-7994. Any other use, retention, dissemination, forwarding, printing or copying of this email is strictly prohibited.
Re: [m2] is maven.xml still used
Ok, so the Getting Started page should say Custom goals are written as plugins. since other like myself have no m1 experience ;). On 10/17/05, Arik Kfir [EMAIL PROTECTED] wrote: Hi Xavier! Actually it is written - see http://maven.apache.org/maven2/maven1.html, which summarizes the changes between m1 and m2. The the first section -What's Changed? - says: (quote) * No more maven.xml - Plugins are now easier to build and integrate, and are the only way to script your builds. (Note that additions may later be made to the POM to allow simple things that scripting was used for, such as goal aliasing). * No more Jelly - Plugins are primarily written in Java, though there are providers for other scripting languages. cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: Thanks that's what I was beginning to think after have looked thru the maven 2 site. Maybe I missed it but I didn't see anywhere on the site what you've said m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. This seem like such a fundamental thing that is would be in bold on the getting started page. Xavier On 10/17/05, Arik Kfir [EMAIL PROTECTED] wrote: Hi Xavier, Are you looking at http://maven.apache.org; or http://maven.apache.org/maven2;? Moreover - m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. See http://maven.apache.org/maven2; for more information about that (see http://maven.apache.org/maven2/maven1.html for info about the changes from m1 to m2). Cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: I've jumped right in to m2 but most of the docs are for version 1. I've added a goal ( a simple echo ) to maven.xml that I created in the same directory as pom.xml but I don't see the message whem I run m2. Is maven.xmlthe proper place to put my goals? How do I execute my goals? Some simple m2 examples would be of great help to me right now. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sun jars
Hi Xavier, These JARs are not in the repository because they can't be redistributed. You need to download them from Sun's site (at http://java.sun.com) and install them manually in your local repository. See http://maven.apache.org/maven2/general.html#importing-jars for manually installing JARs in your local repository. See http://maven.apache.org/reference/standard-sun-jar-names.html for more information regarding the appropriate group and artifact ID to use when installing them in your local repo. Cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: I'm sorry if this has already been addressed but my dependencies for things like activation and mail fail to download the jars because they aren't in the repositiory. Where are others getting these type of jars? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] is maven.xml still used
I see your point - perhaps someone in the maven team would pick it up and update the documentation. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: Ok, so the Getting Started page should say Custom goals are written as plugins. since other like myself have no m1 experience ;). On 10/17/05, Arik Kfir [EMAIL PROTECTED] wrote: Hi Xavier! Actually it is written - see http://maven.apache.org/maven2/maven1.html, which summarizes the changes between m1 and m2. The the first section -What's Changed? - says: (quote) * No more maven.xml - Plugins are now easier to build and integrate, and are the only way to script your builds. (Note that additions may later be made to the POM to allow simple things that scripting was used for, such as goal aliasing). * No more Jelly - Plugins are primarily written in Java, though there are providers for other scripting languages. cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: Thanks that's what I was beginning to think after have looked thru the maven 2 site. Maybe I missed it but I didn't see anywhere on the site what you've said m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. This seem like such a fundamental thing that is would be in bold on the getting started page. Xavier On 10/17/05, Arik Kfir [EMAIL PROTECTED] wrote: Hi Xavier, Are you looking at http://maven.apache.org; or http://maven.apache.org/maven2;? Moreover - m2 doesn't use maven.xml anymore. Custom goals should be written as plugins from now on. See http://maven.apache.org/maven2; for more information about that (see http://maven.apache.org/maven2/maven1.html for info about the changes from m1 to m2). Cheers, Arik. On 10/17/05, Xavier Toth [EMAIL PROTECTED] wrote: I've jumped right in to m2 but most of the docs are for version 1. I've added a goal ( a simple echo ) to maven.xml that I created in the same directory as pom.xml but I don't see the message whem I run m2. Is maven.xmlthe proper place to put my goals? How do I execute my goals? Some simple m2 examples would be of great help to me right now. - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sun jars
Due to licensing issues you have to copy these libs to your local repo (or an internal repo) manually. For m1 this page defined suggests the groupIds / artifactIds to use: http://maven.apache.org/reference/standard-sun-jar-names.html I think the suggested names stay the same with m2 though the actual location the artifacts are looked up in your local/internal repo changed somehow.. e.g. j2ee-1.4.jar: m1-repo: ~/.maven/repository/javax.j2ee/jars/j2ee-1.4.jar m2-repo: ~/.m2/repository/javax/j2ee/j2ee/1.4/j2ee-1.4.jar You can get the jars either from SUN or from a clean-room spec implementation (e.g. http://www.ibiblio.org/maven2/geronimo-spec) available thru the maven repo (you'll have to rename the jar-file). Regards, mika Xavier Toth wrote: I'm sorry if this has already been addressed but my dependencies for things like activation and mail fail to download the jars because they aren't in the repositiory. Where are others getting these type of jars? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sun jars
You have to download these jars yourself (due to license issues) and put them in your local repo by hand: http://maven.apache.org/reference/standard-sun-jar-names.html -Lukas Xavier Toth wrote: I'm sorry if this has already been addressed but my dependencies for things like activation and mail fail to download the jars because they aren't in the repositiory. Where are others getting these type of jars? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven2 unit test question
Folks, is there a way to run individual JUnit tests using Maven 2? help is appreciated thanks, Igor
[M2] Eclipse WTP Web app libraries
Hi, how does the m2 eclipse plugin determine the path where it looks for web app libraries when used for dynamic web projects? I have the problem that eclipse complains about a missing WEB-INF/classes classes folder, which seems to come from a Web app library [artifact] containing a my-webapp/WEB-INF/classes source path with a marker saying (missing). Usually the web app libraries are used to add jars to a deployment which are automatically used for building, as well. The web app libraries are manipulated by copying jars to WEB-INF/lib. The my-webapp/WEB-INF/classes source entry seems to make no sense here, I would expect src/main/webapp/WEB-INF/lib. Can anyone explain how m2 would insert jars into the web project so that they end up in the .deployables folder in such a way that they can be used for debugging right away? I would expect the eclipse plugin to add jars meant for deployment to WEB-INF/lib, and to create the appropriate classpath entry. In a war the jars should certainly be in ./lib, not in ./classes. I run m2 eclipse:eclipse with the following pom.xml project modelVersion4.0.0/modelVersion groupIdcom.mycompany.app/groupId artifactIdmy-webapp/artifactId packagingwar/packaging version1.0-SNAPSHOT/version nameMaven Webapp Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build finalNamemy-webapp/finalName plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration buildcommands java.lang.Stringorg.eclipse.wst.common.modulecore.ComponentStructuralBuilder/java.lang.String java.lang.Stringorg.eclipse.jdt.core.javabuilder/java.lang.String java.lang.Stringorg.eclipse.wst.validation.validationbuilder/java.lang.String java.lang.Stringorg.eclipse.wst.common.modulecore.ComponentStructuralBuilderDependencyResolver/java.lang.String java.lang.Stringorg.eclipse.wst.common.modulecore.DependencyGraphBuilder/java.lang.String /buildcommands classpathContainers java.lang.Stringorg.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.0/java.lang.String java.lang.Stringorg.eclipse.jst.j2ee.internal.web.container/artifact/java.lang.String /classpathContainers projectnatures java.lang.Stringorg.eclipse.jem.workbench.JavaEMFNature/java.lang.String java.lang.Stringorg.eclipse.jdt.core.javanature/java.lang.String java.lang.Stringorg.eclipse.wst.common.modulecore.ModuleCoreNature/java.lang.String /projectnatures /configuration /plugin /plugins /build /project What I get is: classpath classpathentry output=.deployables/my-webapp/WEB-INF/classes kind=src path=src/main/java/ classpathentry output=.deployables/my-webapp/WEB-INF/classes kind=src path=src/main/resources/ classpathentry sourcepath=JRE_SRC kind=var rootpath=JRE_SRCROOT path=JRE_LIB/ classpathentry kind=var path=M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar/ classpathentry kind=con path=org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache Tomcat v5.0/ classpathentry kind=con path=org.eclipse.jst.j2ee.internal.web.container/artifact/ classpathentry kind=output path=target/classes/ /classpath and the .wtpmodules project-modules id=moduleCoreId wb-module deploy-name=my-webapp module-type module-type-id=jst.web version2.4/version property name=context-root value=my-webapp/ /module-type wb-resource deploy-path=/ source-path=/src/main/webapp/ wb-resource deploy-path=/WEB-INF/classes source-path=src/main/java/ wb-resource deploy-path=/WEB-INF/classes source-path=src/main/resources/ /wb-module /project-modules Regards, Dietrich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] proxyactive
Greetings, Perhaps I don't understand the usage, but I assume that proxy activefalse/active should turn off the proxy. But in my case (beta3) it does not. I had to comment out the entire proxy element. Is this a bug or a misunderstanding?? Thanks, -- Chris
m2 stop surefire from launching junit
We are launching an ant taks to fire of testNG. How can I make the build stop calling surefire? I know how to bind plugins to phases, but I haven't seen how to UNbind a plugin.
Re: sun jars
I was thinking in terms of m1. :) Is there an equivalent of install:install-file in m1? -Lukas Arik Kfir wrote: I'd suggest not putting them in your local repo by hand, but use: m2 install:install-file -Dfile=path-to-file -DgroupId=group-id -DartifactId=artifact-id -Dversion=version -Dpackaging=packaging (all in one line of course) Where: path-to-file the path to the file to load group-id the group that the file should be registered under artifact-id the artifact name for the file version the version of the file packaging the packaging of the file e.g. jar See http://maven.apache.org/maven2/general.html#importing-jars for info. On 10/18/05, Lukas Theussl [EMAIL PROTECTED] wrote: You have to download these jars yourself (due to license issues) and put them in your local repo by hand: http://maven.apache.org/reference/standard-sun-jar-names.html -Lukas Xavier Toth wrote: I'm sorry if this has already been addressed but my dependencies for things like activation and mail fail to download the jars because they aren't in the repositiory. Where are others getting these type of jars? - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2 stop surefire from launching junit
adding something like this to your build-section should skip surefire-junit tests - if i remember well ;-): ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration skiptrue/skip /configuration /plugin /plugins /build ... regards, mika Brian E. Fox wrote: We are launching an ant taks to fire of testNG. How can I make the build stop calling surefire? I know how to bind plugins to phases, but I haven't seen how to UNbind a plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JXR in M2
http://mojo.codehaus.org/jxr-maven-plugin/ groupIdorg.codehaus.mojo/groupId artifactIdjxr-maven-plugin/artifactId Also, to get the reports linked in with the site (both jxr and javadoc): http://maven.apache.org/maven2/site.html#reports -Stephen On 10/17/05, Jim Dickinson [EMAIL PROTECTED] wrote: I've done a lot of work with m1, and now I'm working on a small project with m2... Is there a way to pretty print sources, like m1 did? I believe it was the jxr plugin in m1. Also, do other people have an issue with javadocs being created, but not properly linked in. I am running the javadoc plugin as a report. Thanks for all the help, Jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Stephen Duncan Jr www.stephenduncanjr.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: m2 stop surefire from launching junit
Thanks Mika, that has the desired effect. I still wonder if there is or could be a better way. Since we don't plan to use junit, it seems like a waste to go get the surefire plugin for nothing. -Original Message- From: mika [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 7:39 PM To: Maven Users List Subject: Re: m2 stop surefire from launching junit adding something like this to your build-section should skip surefire-junit tests - if i remember well ;-): ... build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId configuration skiptrue/skip /configuration /plugin /plugins /build ... regards, mika Brian E. Fox wrote: We are launching an ant taks to fire of testNG. How can I make the build stop calling surefire? I know how to bind plugins to phases, but I haven't seen how to UNbind a plugin. - 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]