notifier email address as property giving error
With Continuum 1.1, I have two build definitions for one project - one for hourly builds and the other for a daily full build. We want different email addresses for each build definition. We tried configuring the notifier address in the pom as a property ${smx.project.build.email} and then passing the value as an argument in the Continuum build definition. However, with no mail received we found the log indicates errors below. Is there a better way for Continuum to handle this? INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Sending message: From '[EMAIL PROTECTED]${smx.project.build.email}'. INFO | jvm 1| 2008/02/12 15:45:33 | 2008-02-12 15:45:33,265 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Recipient: To '${smx.project.build.email}'. INFO | jvm 1| 2008/02/12 15:45:33 | 2008-02-12 15:45:33,577 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error while trying to use the mail notifier. INFO | jvm 1| 2008/02/12 15:45:33 | org.codehaus.plexus.notification.NotificationException: Exception while sending message. INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:566) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:387) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.no tification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:254) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) INFO | jvm 1| 2008/02/12 15:45:33 | at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116) INFO | jvm 1| 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) INFO | jvm 1| 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) INFO | jvm 1| 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) INFO | jvm 1| 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) INFO | jvm 1| 2008/02/12 15:45:33 | at java.lang.Thread.run(Thread.java:619) INFO | jvm 1| 2008/02/12 15:45:33 | Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending the message. INFO | jvm 1| 2008/02/12 15:45:33 | at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:221) INFO | jvm 1| 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:562) INFO | jvm 1| 2008/02/12 15:45:33 | ... 14 more INFO | jvm 1| 2008/02/12 15:45:33 | Caused by: com.sun.mail.smtp.SMTPSendFailedException: 553 5.5.4 ${smx.project.build.email}... Domain name required for sender address ${smx.project.build.email} INFO | jvm 1| 2008/02/12 15:45:33 | INFO | jvm 1| 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388) INFO | jvm 1| 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959) INFO | jvm 1| 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583) INFO | jvm 1| 2008/02/12 15:45:33 | at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:214) -- View this message in context:
RE: changes to surefire output with testng
Jason Chaffee wrote: I am pretty familiar with testng code, so I would like to look into this further. Is it a correct statement to say that the output we are seeing on the console is coming directly from testng? No... Console output in Surefire is a bit strange. :-) By default, Surefire forks a single Java process to run all tests and begins gathering console output from that process. If you configure Surefire's output using redirectTestOutputToFile, we'll print it all out to a file, UNLESS the line begins with a special marker indicating that the console output is intended for Surefire, in which case we'll display it in the clear on the console. Hence, TestNG can print out foo and that will go to the file, but Surefire itself can print out Tests run: 1, Failures: 0, Errors: 0 [...]. If you don't redirectTestOutputToFile, console messages from the forked process appear directly on the console, but we also take extra steps to strip out the special markers. Currently, Surefire only knows to log when TestNG calls us back. We register as an org.testng.IResultListener, so we get notifications when the run starts and finishes, and when an individual method starts and finishes, but not when the entire class starts and finishes. If TestNG notified us at the right time, we could log the right stuff. But I think this won't be an easy fix on the TestNG side, because TestNG runs stuff in a crazy order, by design. -Dan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDE Plugin
Pardon me Dan, but I did not get it? IT tests? On Feb 13, 2008 1:27 PM, Dan Tran [EMAIL PROTECTED] wrote: are you able to try other IT tests? On Feb 12, 2008 11:17 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, No one has any idea of the problem? I am still awfully stuck with PDE plug in and not able to build eclipse plugin projects using it. Could someone please help? Any aware of any helpful content regarding the same? Please. Regards, Amit On Feb 12, 2008 11:09 AM, amit kumar [EMAIL PROTECTED] wrote: While following the tutorial at pde-maven-plugin page. When I tried to run mvn install I am getting the following errors: [ERROR] BUILD ERROR [INFO] [INFO] Compilation failure E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[3,34] package org.eclipse.jface.resource does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[4,29] package org.eclipse.ui.plugin does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[5,26] package org.osgi.framework does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[10,31] cannot find symbol symbol: class AbstractUIPlugin public class Activator extends AbstractUIPlugin { E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[28,26] cannot find symbol symbol : class BundleContext location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[37,25] cannot find symbol symbol : class BundleContext location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[58,22] cannot find symbol symbol : class ImageDescriptor location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[3,32] package org.eclipse.jface.action does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[4,33] package org.eclipse.jface.viewers does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[5,22] package org.eclipse.ui does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[6,22] package org.eclipse.ui does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[7,33] package org.eclipse.jface.dialogs does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[17,37] cannot find symbol symbol: class IWorkbenchWindowActionDelegate public class SampleAction implements IWorkbenchWindowActionDelegate { E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[18,16] cannot find symbol symbol : class IWorkbenchWindow location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[31,24] cannot find symbol symbol : class IAction location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,37] cannot find symbol symbol : class IAction location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,53] cannot find symbol symbol : class ISelection location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[61,25] cannot find symbol symbol : class IWorkbenchWindow location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[29,16] cannot find symbol symbol : variable super location: class
RE: dependency:unpack vs. eclipse:eclipse
Sure, here you go, I hope it somehow survives the transfer to the list. If it's completely garbled I can also send you the file directly as an attachment. Furthermore I'd like to add the error I'm getting when binding the dependendy-plugin unpack goal to a specific phase: ERROR - [INFO] One or more required plugin parameters are invalid/missing for 'dependency:unpack' [0] Inside the definition for plugin 'maven-dependency-plugin' specify the following: configuration ... artifactItemsVALUE/artifactItems /configuration. ERROR - But as you can see in the pom below, I do have the wanted configuration settings. Thanks for looking into this. bye, Michael ---pom starts here--- ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; parent artifactIdabc/artifactId groupIdde.customer/groupId version1.0.0-SNAPSHOT/version /parent modelVersion4.0.0/modelVersion groupIdde.customer.abc/groupId artifactIdproduct-config/artifactId packagingjar/packaging version${parent.version}/version nameproduct-config/name dependencies dependency groupIdde.customer.abc.common/groupId artifactIdabc-basis-config/artifactId version${abc.common.version}/version scopecompile/scope /dependency /dependencies profiles profile idlocal/id activation property namelocal/name /property /activation build / properties maven.test.skiptrue/maven.test.skip mvn.filter.file ${basedir}/src/main/filters/local.properties /mvn.filter.file /properties /profile !--other profiles here as well - intentionally left them out -- /profiles build filters filter${mvn.filter.file}/filter /filters resources resource directorysrc/main/resources/directory filteringtrue/filtering /resource resource directorytarget/work/conf/directory !-- copies the contents of conf to target/conf -- targetPath../conf/targetPath filteringtrue/filtering /resource /resources plugins !-- Java 1.5 -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-dependency-plugin/artifactId version2.0/version inheritedfalse/inherited configuration artifactItems artifactItem groupIdde.customer.abc.common/groupId artifactIdabc-basis-config/artifactId version${abc.common.version}/version typejar/type outputDirectory ${project.build.directory}/work /outputDirectory /artifactItem /artifactItems excludes excludeMETA-INF/**/exclude /excludes /configuration
Re: Setup Help - you have entered an incorrect username and/or password
Hi, i got the same problem, and it does not matter wether i use a legal password or not when creating the user. 'Resend Validation' is not possible to use for me because our smtp-server rejects the mail due to security-reasons, too. Every time i try to create an user the exception below is logged to the log-files. No matter wether using a correct pw or not. Am i doing something wrong or is this a known issue? Thanks Björn 89578 [http-8080-Processor25] INFO com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor initialized! 89906 [http-8080-Processor25] ERROR org.codehaus.plexus.velocity.VelocityComponent:default - ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. 9 [http-8080-Processor25] INFO com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor initialized! 90031 [http-8080-Processor25] INFO com.opensymphony.xwork.interceptor.Interceptor:redbackSecureActionInterceptor - org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor initialized! 91094 [http-8080-Processor25] INFO com.opensymphony.xwork.interceptor.Interceptor:redbackForceAdminUserInterceptor - Admin user found. No need to configure admin user. 91531 [http-8080-Processor25] INFO com.opensymphony.webwork.views.freemarker.FreemarkerManager - Instantiating Freemarker ConfigManager!, com.opensymphony.webwork.views.freemarker.FreemarkerManager 141437 [http-8080-Processor23] WARN com.opensymphony.xwork.util.OgnlUtil - Caught OgnlException while setting property 'principal' on type 'com.opensymphony.webwork.dispatcher.ServletActionRedirectResult'. ognl.NoSuchPropertyException: com.opensymphony.webwork.dispatcher.ServletActionRedirectResult.principal at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.setProperty(OgnlValueStack.java:67) at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656) at ognl.ASTProperty.setValueBody(ASTProperty.java:101) at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177) at ognl.SimpleNode.setValue(SimpleNode.java:246) at ognl.Ognl.setValue(Ognl.java:476) at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:188) at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(OgnlUtil.java:362) at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:78) at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:51) at com.opensymphony.xwork.ObjectFactory.buildResult(ObjectFactory.java:186) at org.codehaus.plexus.xwork.PlexusObjectFactory.buildResult(PlexusObjectFactory.java:166) at com.opensymphony.xwork.DefaultActionInvocation.createResult(DefaultActionInvocation.java:173) at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:310) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:208) at org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:159) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:149) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:156) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) at org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:76) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) -- View this message in context: http://www.nabble.com/Setup-Help---you-have-entered-an-incorrect-username-and-or-password-tp15428546p15450995.html Sent from the archiva-users mailing list archive at Nabble.com.
RE: wher do we define maven properties ?
Hello San, When you are new to maven, perhaps you start by using Maven 2.0.x (2.0.8 as the current latest release) Maven 2 has a lot of improvements over Maven 2 and the documentation on the maven site, which is quite good for getting started, is mainly about Maven 2 these days. Most of your configuration will be in the pom.xml for your projects. (http://maven.apache.org/guides/introduction/introduction-to-the-pom.htm l) Although a lot of things you will not need to specify if you use the standard directory layout. (http://maven.apache.org/guides/introduction/introduction-to-the-standar d-directory-layout.html) With kind regards, Marco Beelen -Original Message- From: san84 [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 8:07 AM To: users@maven.apache.org Subject: wher do we define maven properties ? hi, hello am beginner to maven tool am using maven 1.1 my q is . where these following properties hav been define. can we edit those? r they defind at respective plugin.properties maven.build.dest maven.build.dest maven.compile.log etc... wen i echoed all maven properties using echoproperties in my maven.xml file wil u please suggest me thanks -- View this message in context: http://www.nabble.com/wher--do-we-define--maven-properties---tp15450575s 177p15450575.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch Airlines) is registered in Amstelveen, The Netherlands, with registered number 33014286 ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PDE Plugin
IT = integration test try this http://mojo.codehaus.org/pde-maven-plugin/examples/m2eclipse.html On Feb 13, 2008 12:54 AM, amit kumar [EMAIL PROTECTED] wrote: Pardon me Dan, but I did not get it? IT tests? On Feb 13, 2008 1:27 PM, Dan Tran [EMAIL PROTECTED] wrote: are you able to try other IT tests? On Feb 12, 2008 11:17 PM, amit kumar [EMAIL PROTECTED] wrote: Hi, No one has any idea of the problem? I am still awfully stuck with PDE plug in and not able to build eclipse plugin projects using it. Could someone please help? Any aware of any helpful content regarding the same? Please. Regards, Amit On Feb 12, 2008 11:09 AM, amit kumar [EMAIL PROTECTED] wrote: While following the tutorial at pde-maven-plugin page. When I tried to run mvn install I am getting the following errors: [ERROR] BUILD ERROR [INFO] [INFO] Compilation failure E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[3,34] package org.eclipse.jface.resource does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[4,29] package org.eclipse.ui.plugin does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[5,26] package org.osgi.framework does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[10,31] cannot find symbol symbol: class AbstractUIPlugin public class Activator extends AbstractUIPlugin { E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[28,26] cannot find symbol symbol : class BundleContext location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[37,25] cannot find symbol symbol : class BundleContext location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\Activator.java:[58,22] cannot find symbol symbol : class ImageDescriptor location: class test.pde_maven_plugin.simple_plugin.Activator E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[3,32] package org.eclipse.jface.action does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[4,33] package org.eclipse.jface.viewers does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[5,22] package org.eclipse.ui does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[6,22] package org.eclipse.ui does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[7,33] package org.eclipse.jface.dialogs does not exist E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[17,37] cannot find symbol symbol: class IWorkbenchWindowActionDelegate public class SampleAction implements IWorkbenchWindowActionDelegate { E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[18,16] cannot find symbol symbol : class IWorkbenchWindow location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[31,24] cannot find symbol symbol : class IAction location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,37] cannot find symbol symbol : class IAction location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[45,53] cannot find symbol symbol : class ISelection location: class test.pde_maven_plugin.simple_plugin.actions.SampleAction E:\Eclipse\workspace\PDE_Plugin_Tutorial\plugins\src\test\pde_maven_plugin\simple_plugin\actions\SampleAction.java:[61,25] cannot find symbol symbol : class IWorkbenchWindow
error in checkstyle plugin in mvn site: Property ${user.home} is not set
Hi all, I'm running Maven 2.0.8 on Linux (Ubuntu 7.10), and I'm having the following error when i run mvn site on all of my projects: [INFO] Generating Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Property ${user.home} has not been set [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: Failed during checkstyle configuration at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle configuration at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:488) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:139) ... 22 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse /opt/SUI75/Workbench7.5/workspace/JMSConnector/target/checkstyle-checker.xml - Property ${user.home} has not been set at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration(ConfigurationLoader.java:319) at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration(ConfigurationLoader.java:267) at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:482) ... 24 more Caused by: org.xml.sax.SAXException: Property ${user.home} has not been set at com.puppycrawl.tools.checkstyle.ConfigurationLoader$InternalLoader.startElement(ConfigurationLoader.java:149) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:220) at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:819) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:322) at
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
I got the similar error this morning, after starting a normal clean install of my project. As I see from the error message the maven-compiler-plugin 2.1-SNAPSHOT tried to use the 1.6-SNAPSHOT of the plexus-compiler. I nailed the version of the maven-compiler-plugin to 2.0.2 and all works. Does the developer of the maven-compiler-plugin or plexus-compiler missed to deploy the neccessary snapshot to a public repository ;-) Regards Marco Wayne Fay wrote: The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. What exactly are you trying to do? Perhaps you can post your pom.xml somewhere so we can take a look and help you figure things out. Wayne On 2/12/08, krishnan.1000 [EMAIL PROTECTED] wrote: Hi , I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did not understand what was being discussed%-O Please help me. Thanks, Karthik 1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT -- View this message in context: http://www.nabble.com/Maven-does-not-compile%3Aorg.codehaus.plexus%3Aplexus-compiler-javac%3Ajar%3A1.6-SNAPSHOT-tp15447362s177p15447362.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: damage image files
Hi John, It's amazing that we had the same problem yesterday. It seems that it comes from filter but not sure for the moment. I will try to create a simple example project in order to can reproduce the problem. Rémy
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
Hi! We are experiencing the same problem. After adding the codehaus snapshot repository to our Artifactory server the plexus-compiler could be downloaded but we still get build errors. Caused by: java.lang.NullPointerException at org.codehaus.plexus.compiler.javac.JavacCompiler.compile(JavacCompiler.java:120) at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:500) Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. Regards, Hendrik Busch Am Mittwoch, den 13.02.2008, 10:39 +0100 schrieb Marco Huber: I got the similar error this morning, after starting a normal clean install of my project. As I see from the error message the maven-compiler-plugin 2.1-SNAPSHOT tried to use the 1.6-SNAPSHOT of the plexus-compiler. I nailed the version of the maven-compiler-plugin to 2.0.2 and all works. Does the developer of the maven-compiler-plugin or plexus-compiler missed to deploy the neccessary snapshot to a public repository ;-) Regards Marco Wayne Fay wrote: The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. What exactly are you trying to do? Perhaps you can post your pom.xml somewhere so we can take a look and help you figure things out. Wayne On 2/12/08, krishnan.1000 [EMAIL PROTECTED] wrote: Hi , I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did not understand what was being discussed%-O Please help me. Thanks, Karthik 1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT -- View this message in context: http://www.nabble.com/Maven-does-not-compile%3Aorg.codehaus.plexus%3Aplexus-compiler-javac%3Ajar%3A1.6-SNAPSHOT-tp15447362s177p15447362.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe,
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
On Wednesday 13 February 2008 wrote Hendrik Busch: Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. That's because you already have them in your local repo (~/.m2/repository/). Along with disabling the snapshot repo, you should remove the coresponding subtree from your local repo, e.g. ~/.m2/repository/org/codehaus/plexus/plexus-compiler. The even better solution would be to specify which version of a plugin you'd like to use in the pluginManagement-section. hth, - martin -- Martin Höller | [EMAIL PROTECTED] *x Software + Systeme | http://www.xss.co.at/ Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30 A-1100 Vienna, Austria | Fax: +43-1-6060114-71 signature.asc Description: This is a digitally signed message part.
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
I have the same problem as Hendrik but I really need to use maven-compiler-plugin 2.1-SNAPSHOT. Is there anything I can do to fix this problem? Regards David Martin Höller wrote: On Wednesday 13 February 2008 wrote Hendrik Busch: Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. That's because you already have them in your local repo (~/.m2/repository/). Along with disabling the snapshot repo, you should remove the coresponding subtree from your local repo, e.g. ~/.m2/repository/org/codehaus/plexus/plexus-compiler. The even better solution would be to specify which version of a plugin you'd like to use in the pluginManagement-section. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The PluginDescriptor for the plugin Plugin [...] was not found
Hi, I hope this is the right place to post this. I have been trying to configure a code-coverage plugin for my Maven project but keep getting the same error (I have tried using both Emma and Cobertura): [ERROR] FATAL ERROR [INFO] [INFO] The PluginDescriptor for the plugin Plugin [cobertura:cobertura] was not found. [INFO] [INFO] Trace java.lang.IllegalStateException: The PluginDescriptor for the plugin Plugin [cob ertura:cobertura] was not found. at org.apache.maven.plugin.DefaultPluginManager.addPlugin (DefaultPluginM anager.java:321) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(De faultPluginManager.java:208) at org.apache.maven.plugin.DefaultPluginManager.verifyReportPlugin (Defau ltPluginManager.java:526) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyReportPlugi n(DefaultLifecycleExecutor.java:1297) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports (Defaul tLifecycleExecutor.java:662) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports (Defaul tLifecycleExecutor.java:642) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (Defa ultLifecycleExecutor.java:517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fecycle(DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (Defau ltLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan dleFailures(DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen ts(DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (DefaultLi fecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [INFO] [INFO] Total time: 8 seconds [INFO] Finished at: Wed Feb 13 10:46:10 GMT 2008 [INFO] Final Memory: 9M/17M [INFO] No doubt this is a basic error on my part. If somebody could help me I would be very grateful. My POM file looks like this: ?xml version=1.0 encoding=UTF-8? project modelVersion4.0.0/modelVersion groupIdsearcher.connector/groupId artifactIdsearcher-connector/artifactId namesearcher-model/name version0.9/version urlhttp://maven.apache.org/url build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin /plugins /build reporting plugins plugin artifactIdcobertura/artifactId groupIdcobertura/groupId version1.8/version /plugin /plugins /reporting dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdjavax.xml/groupId artifactIdjaxb-impl/artifactId version2.0EA3/version /dependency dependency groupIdjavax.xml/groupId artifactIdjaxb-api/artifactId version2.1/version /dependency dependency groupIdorg.easymock/groupId artifactIdeasymock/artifactId version2.3/version /dependency /dependencies /project Thanks in advance, Simon
Eclipse project dependency no set up on WTP project
I am using Maven (2.0.7) to set up Eclipse with a multi-module project. Two of the seven modules are wars and using the following settings I am able to import into them both into Eclipse as WTP projects: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration wtpContextNamecart/wtpContextName wtpversion1.5/wtpversion /configuration /plugin When I come to run them (Run As/On a Server) I have classpath problems, i.e. class not found. If I change the J2EE Module Dependencies (in the properties for the project) by ticking the the projects that I have just imported then all will be fine. The question then is, how do I get the Eclipse plugin to select the peer projects in the same way that it is selecting all the dependent jars. Many thanks Robert Matthews -- View this message in context: http://www.nabble.com/Eclipse-project-dependency-no-set-up--on-WTP-project-tp15454841s177p15454841.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Dependencies in builds
I have an SOA project which is deployed in three chunks: * GUI * Services * BPEL's I therefore have three Continuum Shell projects, each of which uses a .BAT file to call an ANT build.xml file to build and deploy the relevant chunk. At present all my builds are manually triggered, on demand, but I would like to implement scheduled builds. However, if GUI fails, I don't want to deploy Services and/or BPEL's, and if Services fails, I don't want to deploy BPEL's. How do I control this dependency? -- View this message in context: http://www.nabble.com/Dependencies-in-builds-tp15455354p15455354.html Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: error in checkstyle plugin in mvn site: Property ${user.home} is not set
Hi Silvio, ${user.home} should be coming from the JVM. I have also tried to use this as a token in my site documentation, but the reference didn't stick. According to this: http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide Environment variables Environment variables can be referenced using the env prefix - ${env.M2_HOME} returns the Maven2 installation path. - ${java.home} specifies the path to the current JRE_HOME environment use with relative paths to get for example: jvm${java.home}../bin/java.exe/jvm Java system properties All Java System Properties defined by the JVM. Well, that sounds good. But this didnt work for me (site goal), and seems to not work for you. Perhaps this requires someone a little higher up to explain. To see a list of the JVM System.getProperties(); have a look at this: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getProperties() Hope this at least explained the situation a bit better On Feb 13, 2008 8:14 PM, Silvio Arcangeli [EMAIL PROTECTED] wrote: Hi all, I'm running Maven 2.0.8 on Linux (Ubuntu 7.10), and I'm having the following error when i run mvn site on all of my projects: [INFO] Generating Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Property ${user.home} has not been set [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java :101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: Failed during checkstyle configuration at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render( DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale( SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle configuration at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport( CheckstyleReport.java:488) at org.apache.maven.reporting.AbstractMavenReport.generate( AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:139) ... 22 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse /opt/SUI75/Workbench7.5/workspace/JMSConnector/target/checkstyle- checker.xml - Property ${user.home} has
Re: error in checkstyle plugin in mvn site: Property ${user.home} is not set
Unless it's a linux daemon running the maven process, I dont know what that would do to this property. On Feb 13, 2008 8:14 PM, Silvio Arcangeli [EMAIL PROTECTED] wrote: Hi all, I'm running Maven 2.0.8 on Linux (Ubuntu 7.10), and I'm having the following error when i run mvn site on all of my projects: [INFO] Generating Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Property ${user.home} has not been set [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java :101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: Failed during checkstyle configuration at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render( DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale( SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle configuration at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport( CheckstyleReport.java:488) at org.apache.maven.reporting.AbstractMavenReport.generate( AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:139) ... 22 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse /opt/SUI75/Workbench7.5/workspace/JMSConnector/target/checkstyle- checker.xml - Property ${user.home} has not been set at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration( ConfigurationLoader.java:319) at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration( ConfigurationLoader.java:267) at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport( CheckstyleReport.java:482) ... 24 more Caused by: org.xml.sax.SAXException: Property ${user.home} has not been set at com.puppycrawl.tools.checkstyle.ConfigurationLoader$InternalLoader.startElement (ConfigurationLoader.java:149) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement( AbstractSAXParser.java:533) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement (AbstractXMLDocumentParser.java:220) at
Re: Eclipse project dependency no set up on WTP project
rmatthews wrote: When I come to run them (Run As/On a Server) I have classpath problems, i.e. class not found. If I change the J2EE Module Dependencies (in the properties for the project) by ticking the the projects that I have just imported then all will be fine. check where your project is deployed to. (some hidden folder in the workspace or project I guess). I had a problem when two artifacts had the same name (common-SNAPSHOT-1.jar - stupid) Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: I know profiles are not inherited, but...
I know there are some sensible limitations to profiles... see http://maven.apache.org/guides/introduction/introduction-to-profiles.html applicable section : * Which areas of a POM can be customized by each type of profile? Why?* hope that helps a bit... On Feb 12, 2008 10:36 PM, Amshoff Christoph, Köln [EMAIL PROTECTED] wrote: Hi all. I am having troubles with profiles in a multi-module environment. Say there is a project father defining multiple modules in its POM like this: modules moduleson1/module moduleson2/module /modules Additionally, there is a section defining some profiles for different environments in the father's POM: profiles profile idenv-nb/id activation property nameenv/name valuenb/value /property /activation properties path.db2jarsomePath/path.db2jar /properties /profile profile iddb2/id activation property namepath.db2jar/name /property /activation dependencies dependency groupIddb2/groupId artifactIddb2/artifactId version8.2/version scopesystem/scope systemPath${path.db2jar}/systemPath /dependency /dependencies /profile /profiles The first profile (used for nightly builds) is triggered by specifying -Denv=nb on the command line; the second profile (adding a dependency to DB2 related JAR file) is activated when the variable path.db2jar is set. Now, when I look at the effective POM for father project with -Denv=nb command line option given, everything is fine: the property path.db2jar is defined and the additional dependency is added. I understand that profiles are not inherited from the parent, but only the effect they have on the POM. However, for all aggregated projects like son1, son2 etc., the property is set (inherited) correctly, but NOT the dependency! I would have expected to see both the property and the dependency active in effective POM of all childs... so... why isn't that the case? BTW, yes, the child POM do reference the father's POM as parent. Any ideas? Help is greatly appreciated! Thanks, Christoph.
RE: damage image files
When I switch filtering off it's fine. The filtering needs patching, I think this is in the JIRA already. I'm not sure how Maven should discern text and binary files though, you can't always depend on file extensions. I think the filter needs to have a file extension ignore element for starters though, that would fix our problem. John -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 10:07 To: Maven Users List Subject: Re: damage image files Hi John, It's amazing that we had the same problem yesterday. It seems that it comes from filter but not sure for the moment. I will try to create a simple example project in order to can reproduce the problem. Rémy Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: damage image files
I think we will try something like this resource directorysrc/main/resources/cfg/directory filteringtrue/filtering /resource resource directorysrc/main/resources/bin/directory /resource This separate our configurable text file resources from our binaries, should do the trick. -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 10:07 To: Maven Users List Subject: Re: damage image files Hi John, It's amazing that we had the same problem yesterday. It seems that it comes from filter but not sure for the moment. I will try to create a simple example project in order to can reproduce the problem. Rémy Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Dependencies in builds
it will be probably in a future version - can you be more specific? I don't think we'll can add it before the next major version 2.x. I don't have a date for the release. Emmanuel
Re: Dependencies in builds
Actually, it isn't possible to add some build rules, it will be probably in a future version. A workaround for your issue would be to create only one shell project that will run your 3 builds with a check of the result of each. Emmanuel On Feb 13, 2008 12:17 PM, Ken Turner [EMAIL PROTECTED] wrote: I have an SOA project which is deployed in three chunks: * GUI * Services * BPEL's I therefore have three Continuum Shell projects, each of which uses a .BAT file to call an ANT build.xml file to build and deploy the relevant chunk. At present all my builds are manually triggered, on demand, but I would like to implement scheduled builds. However, if GUI fails, I don't want to deploy Services and/or BPEL's, and if Services fails, I don't want to deploy BPEL's. How do I control this dependency? -- View this message in context: http://www.nabble.com/Dependencies-in-builds-tp15455354p15455354.html Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Dependencies in builds
Thanks, Emmanuel, I kind of guessed this was the case. it will be probably in a future version - can you be more specific? -- View this message in context: http://www.nabble.com/Dependencies-in-builds-tp15455354p15456465.html Sent from the Continuum - Users mailing list archive at Nabble.com.
NullPointerException in maven
Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData( LightweightHttpWagon.java:95) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum( DefaultWagonManager.java:520) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile( DefaultWagonManager.java:380) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata( DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways (DefaultRepositoryMetadataManager.java:356) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve (DefaultRepositoryMetadataManager.java:91) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:98) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:82) at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix( DefaultPluginMappingManager.java:56) at org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix( DefaultPluginManager.java:143) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor( DefaultLifecycleExecutor.java:1446) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds (DefaultLifecycleExecutor.java:381) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:135) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:256) 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
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
Solved it by setting plugin artifactIdmaven-compiler-plugin/artifactId version2.1-20080129.223043-7/version and cleaning my repository from maven-compiler-plugin 2.1-SNAPSHOT /Dave David Larsson wrote: I have the same problem as Hendrik but I really need to use maven-compiler-plugin 2.1-SNAPSHOT. Is there anything I can do to fix this problem? Regards David Martin Höller wrote: On Wednesday 13 February 2008 wrote Hendrik Busch: Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. That's because you already have them in your local repo (~/.m2/repository/). Along with disabling the snapshot repo, you should remove the coresponding subtree from your local repo, e.g. ~/.m2/repository/org/codehaus/plexus/plexus-compiler. The even better solution would be to specify which version of a plugin you'd like to use in the pluginManagement-section. hth, - martin - 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: Eclipse project dependency no set up on WTP project
Hi Robert, I had this problem as well, but I think this is more eclipse's fault. Right know as far as I know this currently is possible in two ways: 1. Use Milestone Build of Eclipse 3.4 / WTP 3.0 - is has the ability to do this via the expected masks. 2. (and probably more likely in your case) - in Eclipse 3.3 you should check for project warnings. It will say something like this library won't be exported to dependent projects. If you right click this warning and choose Quick Fix you will get a (hidden?) dialog, which allows to declare the lib for export. Unfortunately right now this is the only way I know to set this up in 3.3 Hope this helps. bye, Michael rmatthews schrieb: I am using Maven (2.0.7) to set up Eclipse with a multi-module project. Two of the seven modules are wars and using the following settings I am able to import into them both into Eclipse as WTP projects: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration wtpContextNamecart/wtpContextName wtpversion1.5/wtpversion /configuration /plugin When I come to run them (Run As/On a Server) I have classpath problems, i.e. class not found. If I change the J2EE Module Dependencies (in the properties for the project) by ticking the the projects that I have just imported then all will be fine. The question then is, how do I get the Eclipse plugin to select the peer projects in the same way that it is selecting all the dependent jars. Many thanks Robert Matthews -- View this message in context: http://www.nabble.com/Eclipse-project-dependency-no-set-up--on-WTP-project-tp15454841s177p15454841.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Heß Consultant ORDIX AG Westernmauer 12-16 33098 Paderborn http://www.ordix.de Tel.: 05251 / 10 63 0 Fax : 05251 / 10 63 99 Mob : 0163 /673 49 43 ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung und Systemintegration Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph Lafeld, Axel Röber Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0, Fax: 0180 / 1 67 34 90 Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: 339/5866/0142 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException in maven
We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData( LightweightHttpWagon.java:95) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum( DefaultWagonManager.java:520) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile( DefaultWagonManager.java:380) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata( DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways (DefaultRepositoryMetadataManager.java:356) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve (DefaultRepositoryMetadataManager.java:91) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:98) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:82) at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix( DefaultPluginMappingManager.java:56) at org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPrefix( DefaultPluginManager.java:143) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor( DefaultLifecycleExecutor.java:1446) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds (DefaultLifecycleExecutor.java:381) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
archiva proxy [Virus checked]
Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. While downloading I can see in the apache-archiva-1.0.1 \data\repositories\internal\... the jar appearing, and then it is gone. Also I have had it, that the the checksum from our internal repository was not there or not correct. Any ideas ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received this e-mail by accident, we would appreciate it if you could contact the sender and delete all copies stored on your computer. Please be aware that the security and confidentiality of electronic data transmitted by e-mail is not completely guaranteed and that data may be seen, copied, downloaded or changed by third persons during transmission. Atos Origin accepts no liability for the security and confidentiality of data and documents sent by e-mail. Please make sure that all important messages will be confirmed in writing by means of a telefax or a letter. * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * *
Re: Junit report and surefire plugin
* maven-surefire-report-plugin * dashboard-maven-plugin Stefan Bala Rajamani wrote: Currently generating junit reports (*.txt and *.xml files) using maven-surefire-plugin. wondering is there way to display these reports in HTML format and a dash report within Maven? Thanks in advance, Bala. -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse project dependency no set up on WTP project
Sorry Robert, I misunderstood your problem. Just ignore my posting. bye, Michael Michael Heß schrieb: Hi Robert, I had this problem as well, but I think this is more eclipse's fault. Right know as far as I know this currently is possible in two ways: 1. Use Milestone Build of Eclipse 3.4 / WTP 3.0 - is has the ability to do this via the expected masks. 2. (and probably more likely in your case) - in Eclipse 3.3 you should check for project warnings. It will say something like this library won't be exported to dependent projects. If you right click this warning and choose Quick Fix you will get a (hidden?) dialog, which allows to declare the lib for export. Unfortunately right now this is the only way I know to set this up in 3.3 Hope this helps. bye, Michael rmatthews schrieb: I am using Maven (2.0.7) to set up Eclipse with a multi-module project. Two of the seven modules are wars and using the following settings I am able to import into them both into Eclipse as WTP projects: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration wtpContextNamecart/wtpContextName wtpversion1.5/wtpversion /configuration /plugin When I come to run them (Run As/On a Server) I have classpath problems, i.e. class not found. If I change the J2EE Module Dependencies (in the properties for the project) by ticking the the projects that I have just imported then all will be fine. The question then is, how do I get the Eclipse plugin to select the peer projects in the same way that it is selecting all the dependent jars. Many thanks Robert Matthews -- View this message in context: http://www.nabble.com/Eclipse-project-dependency-no-set-up--on-WTP-project-tp15454841s177p15454841.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Heß Consultant ORDIX AG Westernmauer 12-16 33098 Paderborn http://www.ordix.de Tel.: 05251 / 10 63 0 Fax : 05251 / 10 63 99 Mob : 0163 /673 49 43 ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung und Systemintegration Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph Lafeld, Axel Röber Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0, Fax: 0180 / 1 67 34 90 Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: 339/5866/0142 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Michael Heß Consultant ORDIX AG Westernmauer 12-16 33098 Paderborn http://www.ordix.de Tel.: 05251 / 10 63 0 Fax : 05251 / 10 63 99 Mob : 0163 /673 49 43 ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung und Systemintegration Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph Lafeld, Axel Röber Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0, Fax: 0180 / 1 67 34 90 Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: 339/5866/0142 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: archiva proxy [Virus checked]
have you configured the repository-purge consumer? It should only affect snapshots, but it might do something like that if misconfigured. On 13/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. While downloading I can see in the apache-archiva-1.0.1 \data\repositories\internal\... the jar appearing, and then it is gone. Also I have had it, that the the checksum from our internal repository was not there or not correct. Any ideas ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received this e-mail by accident, we would appreciate it if you could contact the sender and delete all copies stored on your computer. Please be aware that the security and confidentiality of electronic data transmitted by e-mail is not completely guaranteed and that data may be seen, copied, downloaded or changed by third persons during transmission. Atos Origin accepts no liability for the security and confidentiality of data and documents sent by e-mail. Please make sure that all important messages will be confirmed in writing by means of a telefax or a letter. * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * -- Brett Porter Blog: http://blogs.exist.com/bporter/
Antwort: Re: archiva proxy [Virus checked]
No. What is a repository-purge consumer and how do I best configure that guy ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Brett Porter [EMAIL PROTECTED] il.comAn [EMAIL PROTECTED] 13.02.2008 14:00Kopie Thema Bitte antworten Re: archiva proxy [Virus checked] an [EMAIL PROTECTED] en.apache.org have you configured the repository-purge consumer? It should only affect snapshots, but it might do something like that if misconfigured. On 13/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. While downloading I can see in the apache-archiva-1.0.1 \data\repositories\internal\... the jar appearing, and then it is gone. Also I have had it, that the the checksum from our internal repository was not there or not correct. Any ideas ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received this e-mail by accident, we would appreciate it if you could contact the sender and delete all copies stored on your computer. Please be aware that the security and confidentiality of electronic data transmitted by e-mail is not completely guaranteed and that data may be seen, copied, downloaded or changed by third persons during transmission. Atos Origin accepts no liability for the security and confidentiality of data and documents sent by e-mail. Please make sure that all important messages will be confirmed in writing by means of a telefax or a letter. * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * -- Brett Porter Blog: http://blogs.exist.com/bporter/ PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com
Re: Re: archiva proxy [Virus checked]
No worries, it's off by default - so if you haven't turned it on (details of which are on the website), it's probably not at fault. I should have read it in more detail - it appears this is probably because the checksums are not matching. Check the prox settings - if the checksum is set to fail it will fail if the one on the remote repository is missing or wrong. You can change it to fix (it will generate them in Archiva) or ignore (it will not check the checksum). - Brett On 14/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No. What is a repository-purge consumer and how do I best configure that guy ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Brett Porter [EMAIL PROTECTED] il.comAn [EMAIL PROTECTED] 13.02.2008 14:00Kopie Thema Bitte antworten Re: archiva proxy [Virus checked] an [EMAIL PROTECTED] en.apache.org have you configured the repository-purge consumer? It should only affect snapshots, but it might do something like that if misconfigured. On 13/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. While downloading I can see in the apache-archiva-1.0.1 \data\repositories\internal\... the jar appearing, and then it is gone. Also I have had it, that the the checksum from our internal repository was not there or not correct. Any ideas ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * This e-mail is destined for the above mentioned recipient. In case you received this e-mail by accident, we would appreciate it if you could contact the sender and delete all copies stored on your computer. Please be aware that the security and confidentiality of electronic data transmitted by e-mail is not completely guaranteed and that data may be seen, copied, downloaded or changed by third persons during transmission. Atos Origin accepts no liability for the security and confidentiality of data and documents sent by e-mail. Please make sure that all important messages will be confirmed in writing by means of a telefax or a letter. * * * * * * * * L E G A LD I S C L A I M E R * * * * * * * * -- Brett Porter Blog: http://blogs.exist.com/bporter/ PS: Besuchen Sie am 21.02.2008 das Achte Kartenforum von Atos Worldline und B+S Card Service. Infos und Anmeldung unter http://www.kartenforum.de -- Atos Worldline Processing GmbH Hahnstraße 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 Fax : mailto: [EMAIL PROTECTED]
Re: NullPointerException in maven
Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData( LightweightHttpWagon.java:95) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum( DefaultWagonManager.java:520) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile( DefaultWagonManager.java:380) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata( DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways (DefaultRepositoryMetadataManager.java:356) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolve (DefaultRepositoryMetadataManager.java:91) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:98) at org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMappings( DefaultPluginMappingManager.java:82) at org.apache.maven.plugin.DefaultPluginMappingManager.getByPrefix( DefaultPluginMappingManager.java:56) at
RE: NullPointerException in maven
It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 from a browser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData( LightweightHttpWagon.java:95) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum( DefaultWagonManager.java:520) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile( DefaultWagonManager.java:380) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata( DefaultWagonManager.java:295) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.resolveAlways (DefaultRepositoryMetadataManager.java:356) at
Antwort: Re: Re: archiva proxy [Virus checked]
Thanks Brett! It did the trick. mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Brett Porter [EMAIL PROTECTED] il.comAn [EMAIL PROTECTED] 13.02.2008 14:10Kopie Thema Bitte antworten Re: Re: archiva proxy [Virus an checked] [EMAIL PROTECTED] en.apache.org No worries, it's off by default - so if you haven't turned it on (details of which are on the website), it's probably not at fault. I should have read it in more detail - it appears this is probably because the checksums are not matching. Check the prox settings - if the checksum is set to fail it will fail if the one on the remote repository is missing or wrong. You can change it to fix (it will generate them in Archiva) or ignore (it will not check the checksum). - Brett On 14/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: No. What is a repository-purge consumer and how do I best configure that guy ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 Brett Porter [EMAIL PROTECTED] il.com An [EMAIL PROTECTED] 13.02.2008 14:00 Kopie Thema Bitte antworten Re: archiva proxy [Virus checked] an [EMAIL PROTECTED] en.apache.org have you configured the repository-purge consumer? It should only affect snapshots, but it might do something like that if misconfigured. On 13/02/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, having configured an company specific remote repository, I can not download any artifact from there. I can connect from a brower and inspect the repository. The only obvious difference is, there are just the pom and the jar, no metadata. While downloading I can see in the apache-archiva-1.0.1 \data\repositories\internal\... the jar appearing, and then it is gone. Also I have had it, that the the checksum from our internal repository was not there or not correct. Any ideas ? mit freundlichen Grüßen/best regards Wolfgang Schrecker MODEL-DRIVEN DESIGN demands that the model stay in lockstep with the implementation, but it allows freedom to choose any implementation that faithfully captures the meaning of the model from Eric Evans: Domain-Driven Design p. 230 -- -- Atos Worldline Processing GmbH Hahnstrasse 25 60528 Frankfurt/Main Germany Phone: +49 69/6657-1176 mailto:[EMAIL PROTECTED] http://www.atosworldline.com Geschäftsführer: Erik Munk Koefoed Aufsichtsratsvorsitzender: Didier Dhennin Sitz der Gesellschaft: Frankfurt/Main Handelsregister: Frankfurt/Main HRB 40 417 PS:
Re: NullPointerException in maven
Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1from a browser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData ( LightweightHttpWagon.java:95) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.verifyChecksum( DefaultWagonManager.java:520) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile( DefaultWagonManager.java:380) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMetadata(
RE: NullPointerException in maven
First, I see I forgot a space, so my url was bogus, it should be: http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 Second, do you use any repository software, like archiva or proximity, or is it just a remote filesystem? With regards, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:24 To: Maven Users List Subject: Re: NullPointerException in maven Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1from a browser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [DEBUG] SHA1 not found, trying MD5 org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository at
Re: damage image files
I use resource directorysrc/main/resources/filtered/directory filteringtrue/filtering /resource resource directorysrc/main/resources/verbatim/directory filteringfalse/filtering /resource As it describes exactly what happens to it's contained resources On Feb 13, 2008 11:56 AM, John Coleman [EMAIL PROTECTED] wrote: I think we will try something like this resource directorysrc/main/resources/cfg/directory filteringtrue/filtering /resource resource directorysrc/main/resources/bin/directory /resource This separate our configurable text file resources from our binaries, should do the trick. -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 10:07 To: Maven Users List Subject: Re: damage image files Hi John, It's amazing that we had the same problem yesterday. It seems that it comes from filter but not sure for the moment. I will try to create a simple example project in order to can reproduce the problem. Rémy Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: not able to deploy using webdav
It's not possible to use webdav by default. There's some useful information on how to enable it in this link: http://docs.codehaus.org/display/MAVENUSER/Deploying+3rd+Party+Jars+With +WebDAV -Original Message- From: Savita_p_m [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 06:54 To: users@maven.apache.org Subject: not able to deploy using webdav Hi, I am getting following error while trying for site-deploy, I have configured job using hudson to run maven goals. Build extensions are mentioned in pom.xml and the repository has the wagon-webdav jars. However from command line it works properly where as it fails with the following error when configured through hudson. [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav. Kindly help me if some one know the solution to this. -- View this message in context: http://www.nabble.com/not-able-to-deploy-using-webdav-tp15450557s177p154 50557.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: damage image files
It proved to be a little troublesome to tease out the different resource types, so I had to compromise with... resources resource directorysrc/main/resources/directory filteringtrue/filtering excludes exclude**/*.gif/exclude exclude**/*.jpg/exclude /excludes /resource resource directorysrc/main/resources/directory includes include**/*.gif/include include**/*.jpg/include /includes /resource And this works, but there is of course a risk with relying on the file extensions. Does anyone have some dependable code to sniff at the files to see if they are text or binary? -Original Message- From: Stephen Connolly [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 13:38 To: Maven Users List Subject: Re: damage image files I use resource directorysrc/main/resources/filtered/directory filteringtrue/filtering /resource resource directorysrc/main/resources/verbatim/directory filteringfalse/filtering /resource As it describes exactly what happens to it's contained resources On Feb 13, 2008 11:56 AM, John Coleman [EMAIL PROTECTED] wrote: I think we will try something like this resource directorysrc/main/resources/cfg/directory filteringtrue/filtering /resource resource directorysrc/main/resources/bin/directory /resource This separate our configurable text file resources from our binaries, should do the trick. -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 10:07 To: Maven Users List Subject: Re: damage image files Hi John, It's amazing that we had the same problem yesterday. It seems that it comes from filter but not sure for the moment. I will try to create a simple example project in order to can reproduce the problem. Rémy Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - 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: NullPointerException in maven
I understood what you wanted and I modified the url accordingly.. No, it's not there. Our repository software is a simple remote filesystem.. we don't use either archiva or proximity. On Feb 13, 2008 3:27 PM, [EMAIL PROTECTED] wrote: First, I see I forgot a space, so my url was bogus, it should be: http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 Second, do you use any repository software, like archiva or proximity, or is it just a remote filesystem? With regards, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:24 To: Maven Users List Subject: Re: NullPointerException in maven Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1froma browser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO]
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
You will find it if you add: repository idcodehausSnapshots/id nameCodehaus Snapshots/name releases enabledfalse/enabled updatePolicyalways/updatePolicy checksumPolicywarn/checksumPolicy /releases snapshots enabledtrue/enabled updatePolicynever/updatePolicy checksumPolicyfail/checksumPolicy /snapshots urlhttp://snapshots.maven.codehaus.org/maven2/url layoutdefault/layout /repository but the snapshot doesn't work anyway. I get NullPointerException /Dave Tobias Gierke wrote: Hi, The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. No, I just ran across the same error when trying to compile one of our projects. It's the typical yesterday everything worked, today it's broken problem caused by not specifying Maven core plugin versions in the (super) POM... :( Obviously, a new maven-compiler-plugin snapshot was released that requires snapshot versions of plexus-compiler-* jars. -- [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.1-SNAPSHOT: checking for updates from central Downloading: http://XX1/artifactory/repo/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-20080212.213249-8.pom Downloading: http:///artifactory/repo/org/codehaus/plexus/plexus-compiler-javac/1.6-SNAPSHOT/plexus-compiler-javac-1.6-SNAPSHOT.pom Downloading: http:///repo/m2-snapshot-repository/org/codehaus/plexus/plexus-compiler-api/1.6-SNAPSHOT/plexus-compiler-api-1.6-SNAPSHOT.pom Downloading: http:///artifactory/repo/org/codehaus/plexus/plexus-compiler-manager/1.6-SNAPSHOT/plexus-compiler-manager-1.6-SNAPSHOT.jar . . . 1) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT - I can't seem to find these jars on repo1.maven.org / snapshots.repository.codehaus.org ...does anyone know where to get them ? Regards, Tobias P.S. After locking down the maven-compiler plugin version to 2.0.2 things are working again... - 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: NullPointerException in maven
So you think this is the problem ? How come other mvn commands are working ? Shouldn't they have the same problem ? On Feb 13, 2008 4:00 PM, [EMAIL PROTECTED] wrote: I know that central is also just a filesystem, and I once saw a few shell scripts to repair metadata and checksums, IIRC. I don't know who had them or if they still exist. Some of maven 2 developers are often on IRC, maybe you could ask them if they still have those scripts. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:33 To: Maven Users List Subject: Re: NullPointerException in maven I understood what you wanted and I modified the url accordingly.. No, it's not there. Our repository software is a simple remote filesystem.. we don't use either archiva or proximity. On Feb 13, 2008 3:27 PM, [EMAIL PROTECTED] wrote: First, I see I forgot a space, so my url was bogus, it should be: http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 Second, do you use any repository software, like archiva or proximity, or is it just a remote filesystem? With regards, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:24 To: Maven Users List Subject: Re: NullPointerException in maven Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1fromabrowser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules
RE: NullPointerException in maven
I've looked at the metadata file and it is to map prefixes, like release, eclipse, all the shorthand forms, to plugins. Could you compare http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml with http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml And perhaps replace your files (the xml, the sha1 and the md5) with the files from repo1. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 15:05 To: Maven Users List Subject: Re: NullPointerException in maven So you think this is the problem ? How come other mvn commands are working ? Shouldn't they have the same problem ? On Feb 13, 2008 4:00 PM, [EMAIL PROTECTED] wrote: I know that central is also just a filesystem, and I once saw a few shell scripts to repair metadata and checksums, IIRC. I don't know who had them or if they still exist. Some of maven 2 developers are often on IRC, maybe you could ask them if they still have those scripts. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:33 To: Maven Users List Subject: Re: NullPointerException in maven I understood what you wanted and I modified the url accordingly.. No, it's not there. Our repository software is a simple remote filesystem.. we don't use either archiva or proximity. On Feb 13, 2008 3:27 PM, [EMAIL PROTECTED] wrote: First, I see I forgot a space, so my url was bogus, it should be: http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 Second, do you use any repository software, like archiva or proximity, or is it just a remote filesystem? With regards, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:24 To: Maven Users List Subject: Re: NullPointerException in maven Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1fromabrowser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO]
Re: error in checkstyle plugin in mvn site: Property ${user.home} is not set
Thanks a lot Andrew, that gave me some more idea. In my case i'm running maven manually, no daemon. I tested my JVM (Sun 1.5.0_13) with a very simple Java class that prints all the system properties, and user.home is indeed there: user.home = /home/silvio So the JVM system property is present and correct. I have no clue why checkstyle doesn't see it, seems like it gets overridden somewhere, or maybe the plugin looks for the property somewhere else than System? ciao, Silvio On Wed, Feb 13, 2008 at 12:20 PM, Andrew Hughes [EMAIL PROTECTED] wrote: Unless it's a linux daemon running the maven process, I dont know what that would do to this property. On Feb 13, 2008 8:14 PM, Silvio Arcangeli [EMAIL PROTECTED] wrote: Hi all, I'm running Maven 2.0.8 on Linux (Ubuntu 7.10), and I'm having the following error when i run mvn site on all of my projects: [INFO] Generating Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Property ${user.home} has not been set [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java :101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: Failed during checkstyle configuration at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render( DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale( SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle configuration at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport( CheckstyleReport.java:488) at org.apache.maven.reporting.AbstractMavenReport.generate( AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:139) ... 22 more Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: unable to parse /opt/SUI75/Workbench7.5/workspace/JMSConnector/target/checkstyle- checker.xml - Property ${user.home} has not been set at com.puppycrawl.tools.checkstyle.ConfigurationLoader.loadConfiguration( ConfigurationLoader.java:319)
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
Hi, The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. No, I just ran across the same error when trying to compile one of our projects. It's the typical yesterday everything worked, today it's broken problem caused by not specifying Maven core plugin versions in the (super) POM... :( Obviously, a new maven-compiler-plugin snapshot was released that requires snapshot versions of plexus-compiler-* jars. -- [INFO] snapshot org.apache.maven.plugins:maven-compiler-plugin:2.1-SNAPSHOT: checking for updates from central Downloading: http://XX1/artifactory/repo/org/apache/maven/plugins/maven-compiler-plugin/2.1-SNAPSHOT/maven-compiler-plugin-2.1-20080212.213249-8.pom Downloading: http:///artifactory/repo/org/codehaus/plexus/plexus-compiler-javac/1.6-SNAPSHOT/plexus-compiler-javac-1.6-SNAPSHOT.pom Downloading: http:///repo/m2-snapshot-repository/org/codehaus/plexus/plexus-compiler-api/1.6-SNAPSHOT/plexus-compiler-api-1.6-SNAPSHOT.pom Downloading: http:///artifactory/repo/org/codehaus/plexus/plexus-compiler-manager/1.6-SNAPSHOT/plexus-compiler-manager-1.6-SNAPSHOT.jar . . . 1) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT - I can't seem to find these jars on repo1.maven.org / snapshots.repository.codehaus.org ...does anyone know where to get them ? Regards, Tobias P.S. After locking down the maven-compiler plugin version to 2.0.2 things are working again... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: NullPointerException in maven
I know that central is also just a filesystem, and I once saw a few shell scripts to repair metadata and checksums, IIRC. I don't know who had them or if they still exist. Some of maven 2 developers are often on IRC, maybe you could ask them if they still have those scripts. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:33 To: Maven Users List Subject: Re: NullPointerException in maven I understood what you wanted and I modified the url accordingly.. No, it's not there. Our repository software is a simple remote filesystem.. we don't use either archiva or proximity. On Feb 13, 2008 3:27 PM, [EMAIL PROTECTED] wrote: First, I see I forgot a space, so my url was bogus, it should be: http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1 Second, do you use any repository software, like archiva or proximity, or is it just a remote filesystem? With regards, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:24 To: Maven Users List Subject: Re: NullPointerException in maven Nope, it doesn't. On Feb 13, 2008 3:16 PM, [EMAIL PROTECTED] wrote: It was more a been there, done that story. Whenever I see someone talking about we are using a local repository or such, horrid images from the past gets in my head. ;) If you try to get http://ecm-maven-repo.itcnetworks:8081/maven_repo/org/apache/maven/plugins/maven-metadata.xml.sha1froma browser or wget, does that succeed? Hth, Nick S. -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 14:11 To: Maven Users List Subject: Re: NullPointerException in maven Sorry, I wasn't clear enough.. It's an internal remote repository on a server. I uploaded the artifacts using the deploy plugin. (we did that for all our artifacts and it's working just fine..) The only problem was with this specific plugin. On Feb 13, 2008 2:26 PM, [EMAIL PROTECTED] wrote: We have a local repository where we put all the artifacts that we need in our project. Do you mean the local repository each developer has? Normally user_home/.m2/repository . Or do you mean an internal remote repository on a server? With what command did you install the artifacts into your repository? Take a look at the local and remote repository principle. You can't copy files into a remote repository and you can't use a local repository (ie. from your build server account) as remote repository for other developers. Don't mess with these, or you can get weird effects. Hth, Nick Stolwijk -Original Message- From: Ionut Scutaru [mailto:[EMAIL PROTECTED] Sent: Wed 2/13/2008 13:00 To: users@maven.apache.org Subject: NullPointerException in maven Guys, We have a local repository where we put all the artifacts that we need in our project. Recently though I added a new version of the maven-release plugin and, when I try to use it, I'm getting a NullPointerException as follows: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules
Re: damage image files
Your solution seems to be good. But with war overlays mechanism (cf [1] and [2]) it's not possible to specify the path of the directory resources because it is generated at runtime. I don't know for the moment how to solve this case. Rémy 1. http://maven.apache.org/plugins/maven-war-plugin/examples/war-overlay.html 2. http://jira.codehaus.org/browse/MWAR-143
RE: damage image files
Oh that's a shame. I'm keen to put a change into the resource plugin so that it can optionally try and only filter text files. I have an idea to do this, how can I contribute to the project? Regards, John -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 14:10 To: Maven Users List Subject: Re: damage image files Your solution seems to be good. But with war overlays mechanism (cf [1] and [2]) it's not possible to specify the path of the directory resources because it is generated at runtime. I don't know for the moment how to solve this case. Rémy 1. http://maven.apache.org/plugins/maven-war-plugin/examples/war- overlay.html 2. http://jira.codehaus.org/browse/MWAR-143 Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: generate e-mailaddresses from SVN?
How are the e-mail addresses of the latest committers determined? Emmanuel Venisse wrote: Actually, continuum can send mail only to notifiers defined on the project. In 1.1, you can choose if you want to use the actual mode or send mail to latest committers Emmanuel [EMAIL PROTECTED] a écrit : hi using cruisecontrol it was possible to generate the e-mailaddresses to which notifications on failed builds should be sent. that was typically done by combining the SVN username of the person that checking in something that did not compile, with a suffix, say @ourcompany.com. but i don't know how this is done in continuum? does anyone know if it is possible? mvh, markus -- View this message in context: http://www.nabble.com/generate-e-mailaddresses-from-SVN--tp5812065p15459588.html Sent from the Continuum - Users mailing list archive at Nabble.com.
RE: Nexus repository manager
I did not know Nexus was going to be commercial. Thanks for the info. Pete -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 5:30 PM To: Maven Users List Subject: Re: Nexus repository manager Nexus is a commercial product from Sonatype, so you should probably contact them via their website for more information. If you are interested in snapshot cleanup that works today, you might try Archiva: http://maven.apache.org/archiva/ :) Cheers, Brett On 13/02/2008, Hayes, Peter [EMAIL PROTECTED] wrote: Is there any update on the Nexus repository manager? I am interested in snapshot cleanup. Thanks, Peter Hayes Architecture Shared Technology Services | Fidelity Investments Management Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brett Porter Blog: http://blogs.exist.com/bporter/ - 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: NullPointerException in maven
Well.. we don't have either a .sha nor an .md5 file on the internal maven repository. So I copied all 3 files there and tried again. Now I got rid of the first error message but the one with NullPointerException still remains. Here's the new exception that I'm getting: [EMAIL PROTECTED] trunk]$ mvn -X release:branch -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false -DautoVersionSubmodules=true -DbranchName=EMP-2.0.0/ -DdryRun=true -U + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: '/home/scutaru/.m2/plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: '/home/scutaru/opt/maven-2.0.4/conf/plugin-registry.xml' [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Enterprise Management Platform [INFO] Common [INFO] Tools [INFO] Maven Plugins [INFO] Portlet Archetype [INFO] Service Archetype [INFO] Installer Maven Plugin [INFO] Runtime Maven Plugin [INFO] Buildinfo Maven Plugin [INFO] Modify Maven Values Maven Plugin [INFO] Shrinkjs Maven Plugin [INFO] Eclipse Plugins [INFO] Sample Eclipse Plugin [INFO] JIRA Plugins [INFO] Agile JIRA Plugin [INFO] Clarify JIRA Plugin [INFO] InstallAnywhere Plugins [INFO] Test SAM Connection InstallAnywhere Plugin [INFO] FQDN InstallAnywhere Plugin [INFO] Port Check InstallAnywhere Plugin [INFO] Modules [INFO] Backup [INFO] Common Module [INFO] Portal Extensions [INFO] Connector Modules [INFO] Common Connector Module [INFO] Sample Connector Module [INFO] Service Modules [INFO] Registry Service [INFO] Filter Service [INFO] Licensing Service [INFO] Log Service [INFO] Security Service [INFO] Web Remoting Service [INFO] Inventory Service [INFO] Workflow Management Service [INFO] Scheduler Service [INFO] Discovery Service [INFO] Web Modules [INFO] Common Web Module [INFO] Inventory Web Module [INFO] Portal Server Web Module [INFO] Webstart Web Module [INFO] Portal Web Module [INFO] Scheduler Web Module [INFO] Security Web Module [INFO] Registry Web Module [INFO] Web Remoting Web Module [INFO] Help Web Module [INFO] Filter Web Module [INFO] Workflow Portlet Web Module [INFO] Log Web Module [INFO] Credential Web Module [INFO] Applications [INFO] Common Application [INFO] Enterprise Management Platform [INFO] Searching repository for plugin with prefix: 'release'. [INFO] org.apache.maven.plugins: checking for updates from central [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 'b4e8a2c33504dd278837a63daf4999cc9a081772'; remote = '42c39828ebae5b12524cf1d335be1d2ccd1a05f2' - RETRYING [INFO] org.apache.maven.plugins: checking for updates from snapshots [DEBUG] repository metadata for: 'org.apache.maven.plugins' could not be found on repository: snapshots [DEBUG] Skipping disabled repository apache.snapshots [INFO] org.codehaus.mojo: checking for updates from central [DEBUG] repository metadata for: 'org.codehaus.mojo' could not be found on repository: central [INFO] org.codehaus.mojo: checking for updates from snapshots [DEBUG] repository metadata for: 'org.codehaus.mojo' could not be found on repository: snapshots [DEBUG] Skipping disabled repository apache.snapshots [DEBUG] Retrieving parent-POM: org.apache.maven.release:maven-release::4 for project: org.apache.maven.plugins:maven-release-plugin:maven-plugin:2.0-beta-7 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for project: org.apache.maven.release:maven-release:pom:4 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project: org.apache.maven:maven-parent:pom:5 from the repository. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] null [INFO] [DEBUG] Trace java.lang.NullPointerException at org.apache.maven.plugin.DefaultPluginManager.addPlugin( DefaultPluginManager.java:292) at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin( DefaultPluginManager.java:198) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin( DefaultPluginManager.java:163) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin( DefaultLifecycleExecutor.java:1252) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor( DefaultLifecycleExecutor.java:1517) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListByAggregationNeeds (DefaultLifecycleExecutor.java:381) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:135) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at
Reset continuum admin password
We have lost continuum admin id password? Is there a way to reset the password to new value? We are running continuum-1.0.3. Thanks in advance
Working around MNG-2261 (How can I manually download and install artifact)
MNG-2261 is making creating projects using an archetype difficult. I have an archetype I created. I want the archetype:create command to download my archetype from an internal repository. The internal repository is specified in my settings.xml file. Due to MNG-2261, the settings.xml repositories are not respected unless there is a pom in the current directory. Is there a maven plug-in that will let me download my artifact from an internal repository and install it to the local repository manually? If I can find a way to do this then archetype:create will find the artifact it needs locally and it won't matter that I can't go out to a remote repository. If there is not a way to do this does anyone have a compiled jar with the MNG-2261 patch applied they could post somewhere? Thanks, -Ken If not -- View this message in context: http://www.nabble.com/Working-around-MNG-2261-%28How-can-I-manually-download-and-install-artifact%29-tp15459817s177p15459817.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: damage image files
Hi John I'm keen to put a change into the resource plugin so that it can optionally try and only filter text files. I have an idea to do this, how can I contribute to the project? (Even if I am not a commiter) Your help and contribution is welcome . You can get the source code of the plugin (cf. [1]) and proposed a patch via JIRA (cf. [2]). If you have a solution, I will be happy to test your improvement Rémy 1. http://maven.apache.org/plugins/maven-resources-plugin/source-repository.html 2. http://maven.apache.org/plugins/maven-resources-plugin/issue-tracking.html
multi-module bootstrap/release in a flat directory hierarchy (using ClearCase)
Hi, I have a flat directory hierarchy like: my-module-parent my-module-A my-module-B my-module-parent defines ... modules modulemy-module-Amodule modulemy-module-Bmodule /modules ... With ClearCase, the scm section of the 3 modules looks like: scm connectionscm:clearcase:load /my_vob/myDir/my-module-parent/connection developerConnectionscm:clearcase:load /my_vob/myDir/my-module-parent/developerConnection /scm scm connectionscm:clearcase:load /my_vob/myDir/my-module-A/connection developerConnectionscm:clearcase:load /my_vob/myDir/my-module-A/developerConnection /scm scm connectionscm:clearcase:load /my_vob/myDir/my-module-B/connection developerConnectionscm:clearcase:load /my_vob/myDir/my-module-B/developerConnection /scm Now, the scm:bootstrap in my-module-parent doesn´t work, because only the parent is being bootstrapped, but not the child modules. I think a similar problem will occur if i try to release this multi-module build. Here´s the log: [INFO] Scanning for projects... [INFO] [ERROR] FATAL ERROR [INFO] [INFO] Error building POM (may not be this project's POM). Project ID: unknown Reason: Could not find the model file 'C:\LocalViewsMaven\my-module-parent-3.0.0-SNAPSHOT\my_vob\myDir\my-module-A\pom.xml'. for project unknown [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Could not find the model file 'C:\LocalViewsMaven\my-module-parent-3.0.0-SNAPSHOT\my_vob\myDir\my-module-A\pom.xml'. for project unknown at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Could not find the model file 'C:\LocalViewsMaven\my-module-parent-3.0.0-SNAPSHOT\my_vob\myDir\my-module-A\pom.xml'. for project unknown at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1381) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:474) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:524) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362) ... 11 more Caused by: java.io.FileNotFoundException: C:\LocalViewsMaven\my-module-parent-3.0.0-SNAPSHOT\my_vob\myDir\my-module-A\pom.xml (Das System kann den angegebenen Pfad nicht finden) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at hidden.org.codehaus.plexus.util.xml.XmlReader.init(XmlReader.java:123) at hidden.org.codehaus.plexus.util.xml.XmlStreamReader.init(XmlStreamReader.java:67) at hidden.org.codehaus.plexus.util.ReaderFactory.newXmlReader(ReaderFactory.java:113) at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1376) ... 17 more [INFO] = How can I solve this problem, when I don´t want to change the flat hierarchy into a directory tree like my-module-parent |_ my-module-A |__ ___my-module-B ? In the scm section I only can define one loadRule, or a complete configSpec.txt.. Thanx, Torsten
Re: Surefire plugin 2.3 - 2.4.1 not working.
The root cause of the problem seems to be: Bad version number in .class file; nested exception is java.lang.UnsupportedClassVersionError This usually happens when you're running an older JVM with a Jar file that was compiled with/against a much newer one. But you claim that you're running JDK 1.6, so I have no idea what's going on. Are you sure you're running 1.6? Wayne On 2/13/08, Toni Heimala [EMAIL PROTECTED] wrote: I have tried defining versions 2.3, 2.4 and 2.4.1. They all give the same output. If I don't define a version for the surefire plugin, then it uses some old version which is not compliant with JUnit 4.x, which causes the tests to fail (because @Before is not run). Maven version: 2.0.8 Surefire Plugin Version: 2.3 - 2.4.1 JUnit version: 4.0 - 4.4 JDK Version: 1.5 - 1.6 -- MavenSurefireProblemTest.java -- package maven; import static org.junit.Assert.*; import org.junit.Before; import org.junit.Test; public class MavenSurefireProblemTest { private String foo; @Before public void setUp() throws Exception { foo = new String(FOO!); } @Test public void testFoo() { System.out.println(Result: + foo); assertNotNull(foo); } } -- /MavenSurefireProblemTest.java -- -- pom.xml -- ?xml version=1.0 encoding=UTF-8? project modelVersion4.0.0/modelVersion groupIdJavaProblems/groupId artifactIdJavaProblems/artifactId version0.0.1/version build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin plugin artifactIdmaven-surefire-plugin/artifactId groupIdorg.apache.maven.plugins/groupId version2.4.1/version/plugin /plugins /build dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.4/version scopetest/scope /dependency /dependencies /project -- /pom.xml -- -- mvn test -- [INFO] Scanning for projects... [INFO] [INFO] Building Unnamed - JavaProblems:JavaProblems:jar:0.0.1 [INFO]task-segment: [test] [INFO] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Nothing to compile - all classes are up to date [INFO] [surefire:test] [INFO] Surefire report directory: C:\toni\work\projects\JavaProblems\target\surefire-reports org.apache.maven.surefire.booter.SurefireExecutionException: Bad version number in .class file; nested exception is java.lang.UnsupportedClassVersionError: Bad version number in .class file java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:209) at org.apache.maven.surefire.Surefire.run(Surefire.java:156) 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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. Please refer
Re: damage image files
On 13/02/2008, John Coleman [EMAIL PROTECTED] wrote: Oh that's a shame. I'm keen to put a change into the resource plugin so that it can optionally try and only filter text files. I have an idea to do this, how can I contribute to the project? raise an issue at jira.codehaus.org/browse/MRESOURCES and attach a patch ( you could try taking some bytes from the file, turn them into a string and see if getBytes() matches the original bytes - but I don't know if that's foolproof... ) Regards, John -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 14:10 To: Maven Users List Subject: Re: damage image files Your solution seems to be good. But with war overlays mechanism (cf [1] and [2]) it's not possible to specify the path of the directory resources because it is generated at runtime. I don't know for the moment how to solve this case. Rémy 1. http://maven.apache.org/plugins/maven-war-plugin/examples/war- overlay.html 2. http://jira.codehaus.org/browse/MWAR-143 Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cheers, Stuart
Re: generate e-mailaddresses from SVN?
On Feb 13, 2008 8:22 AM, Doug Knesek [EMAIL PROTECTED] wrote: How are the e-mail addresses of the latest committers determined? I'm going to guess it's from the list of developers in the pom. The id there will need to match the svn id on the commit. -- Wendy
Re: generate e-mailaddresses from SVN?
If the latest commiter is defined in the pom as a developer, we take his email address in the pom; Emmanuel On Feb 13, 2008 4:22 PM, Doug Knesek [EMAIL PROTECTED] wrote: How are the e-mail addresses of the latest committers determined? Emmanuel Venisse wrote: Actually, continuum can send mail only to notifiers defined on the project. In 1.1, you can choose if you want to use the actual mode or send mail to latest committers Emmanuel [EMAIL PROTECTED] a écrit : hi using cruisecontrol it was possible to generate the e-mailaddresses to which notifications on failed builds should be sent. that was typically done by combining the SVN username of the person that checking in something that did not compile, with a suffix, say @ourcompany.com. but i don't know how this is done in continuum? does anyone know if it is possible? mvh, markus -- View this message in context: http://www.nabble.com/generate-e-mailaddresses-from-SVN--tp5812065p15459588.html Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: Nexus repository manager
Neither me but I hope that Proximity 2.0 will be release soon. Rémy
NoSuchMethod analysis
Does anyone know of a maven plugin that will analyze dependencies and verify that all jars are compatible? This would catch NoSuchMethod errors from being thrown later...the best case is that all of these will be caught in junit...but not always since the unit tests will only cover the top level project, and not the nested libraries. For example, imagine you have a Project, call it A. A depends on X and Y libraries directly. X also depends on Y directly. A depends on X 2.0 and Y2.0. However, if X 2.0 was released while depending on Y 1.0, and some method in Y changed its signature between 1.0 and 2.0, then when A runs, and some class in X tries to call the changed signature in Y, it will get NoSuchMethod -- only at runtime. Without requiring that we always release Y, then X, then A, we would like to be able to catch these runtime errors at compile time...It should be a fairly simple check of all the class files against the current classpath, and I'm hoping that something has already been written to do this...perhaps even built in to javac somewhere, or some other JDK tool? Or some existing maven plugin. Thanks for reading and trying to understand this hard-to-explain, yet fairly obvious problem. -Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: damage image files
Hi, What about a configuration parameter in the mojo (maven-resources-plugin) like : filteringIgnoreExtensionsjpg,jpeg,pdf/filteringIgnoreExtensions Currently adding this in the resource configuration in the pom needs some core changes. Remy, I'm sure you can load an issue in MWAR concerning overlays ;-). Thanks, -- Olivier 2008/2/13, Stuart McCulloch [EMAIL PROTECTED]: On 13/02/2008, John Coleman [EMAIL PROTECTED] wrote: Oh that's a shame. I'm keen to put a change into the resource plugin so that it can optionally try and only filter text files. I have an idea to do this, how can I contribute to the project? raise an issue at jira.codehaus.org/browse/MRESOURCES and attach a patch ( you could try taking some bytes from the file, turn them into a string and see if getBytes() matches the original bytes - but I don't know if that's foolproof... ) Regards, John -Original Message- From: Rémy Sanlaville [mailto:[EMAIL PROTECTED] Sent: 13 February 2008 14:10 To: Maven Users List Subject: Re: damage image files Your solution seems to be good. But with war overlays mechanism (cf [1] and [2]) it's not possible to specify the path of the directory resources because it is generated at runtime. I don't know for the moment how to solve this case. Rémy 1. http://maven.apache.org/plugins/maven-war-plugin/examples/war- overlay.html 2. http://jira.codehaus.org/browse/MWAR-143 Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail. Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail. Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments. Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Cheers, Stuart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nexus repository manager
We're using archiva now. It's much easier to set up than proximity, but awfully slow (similar to continuum). So we only use it for repo cleanup, but for repo cacheproxy we stick with maven-proxy 0.2 - it has never let us down ;) With nexus, it seems, the situation is similar to HURD - it's coming _next week_: http://blogs.sonatype.com/jvanzyl/2007/11/21.html *SCNR* Stefan Hayes, Peter wrote: Is there any update on the Nexus repository manager? I am interested in snapshot cleanup. Thanks, Peter Hayes Architecture Shared Technology Services | Fidelity Investments Management Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- best regards, Stefan Seidel software developer VUB Printmedia GmbH Chopinstraße 4 D-04103 Leipzig Germany tel.+49 (341) 9 60 50 07 fax.+49 (341) 9 60 50 92 mail. [EMAIL PROTECTED] web.www.vub.de HRB Köln 24015 UStID DE 122 649 251 GF Dr. Achim Preuss Neudorf, Dr. Christian Preuss Neudorf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reset continuum admin password
You can follow this manual process: - shutdown Continuum - connect a SQL client like SquirrelSQL on the db - change the password (can't remember the table name, probably users or something like that), the password is encrypted with sha1 if I remember it correctly Emmanuel On Feb 13, 2008 4:34 PM, Bala Rajamani [EMAIL PROTECTED] wrote: We have lost continuum admin id password? Is there a way to reset the password to new value? We are running continuum-1.0.3. Thanks in advance
Re: Working around MNG-2261 (How can I manually download and install artifact)
One easy method is to simply make a pom, specify your artifact as a dependency, and run mvn dependency:go-offline. IIRC, someone wrote a little shell script to create a pom.xml and then run go-offline against it, then delete it for this exact purpose and sent it to the list, but I don't remember details so it will be hard to find and easier to just re-write if you want that functionality. If you do this, please contribute it back via the Wiki. ;-) Wayne On 2/13/08, kroe [EMAIL PROTECTED] wrote: MNG-2261 is making creating projects using an archetype difficult. I have an archetype I created. I want the archetype:create command to download my archetype from an internal repository. The internal repository is specified in my settings.xml file. Due to MNG-2261, the settings.xml repositories are not respected unless there is a pom in the current directory. Is there a maven plug-in that will let me download my artifact from an internal repository and install it to the local repository manually? If I can find a way to do this then archetype:create will find the artifact it needs locally and it won't matter that I can't go out to a remote repository. If there is not a way to do this does anyone have a compiled jar with the MNG-2261 patch applied they could post somewhere? Thanks, -Ken -- View this message in context: http://www.nabble.com/Working-around-MNG-2261-%28How-can-I-manually-download-and-install-artifact%29-tp15459817s177p15459817.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Archiva and Oracle App Server
Does anyone have experience deploying Archiva to Oracle? If so, can you please provide instructionss? Thanks! Schevus W Osborne, SrA, USAF Application Development Programmer 375 CSPTS/SCEA
RE: multi-module bootstrap/release in a flat directory hierarchy (using ClearCase)
Torsten: You said : = How can I solve this problem, when I don´t want to change the flat hierarchy into a directory tree Much to my dismay, you can't. http://jira.codehaus.org/browse/MRELEASE-261 http://jira.codehaus.org/browse/MRELEASE-261 http://jira.codehaus.org/browse/MRELEASE-225 http://jira.codehaus.org/browse/MRELEASE-225 Barrett Barrett Nuzum Sr. Consultant [EMAIL PROTECTED] Mobile: 918-640-4414 Valtech 5080 Spectrum Drive, Ste 700W Addison, TX 75001 USA Tel: 972-789-1200 Fax: 972-789-1340 www.valtech.us - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
Nope, they're both on public repositories, but the compiler plugin may not have a repository entry pointing where the plexus-compiler- javac snapshot was deployed. I'll fix that and redeploy. -john On Feb 13, 2008, at 4:39 AM, Marco Huber wrote: I got the similar error this morning, after starting a normal clean install of my project. As I see from the error message the maven-compiler-plugin 2.1- SNAPSHOT tried to use the 1.6-SNAPSHOT of the plexus-compiler. I nailed the version of the maven-compiler-plugin to 2.0.2 and all works. Does the developer of the maven-compiler-plugin or plexus-compiler missed to deploy the neccessary snapshot to a public repository ;-) Regards Marco Wayne Fay wrote: The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. What exactly are you trying to do? Perhaps you can post your pom.xml somewhere so we can take a look and help you figure things out. Wayne On 2/12/08, krishnan.1000 [EMAIL PROTECTED] wrote: Hi , I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did not understand what was being discussed%-O Please help me. Thanks, Karthik 1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-javac:jar:1.6- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6- SNAPSHOT -- View this message in context: http://www.nabble.com/Maven-does-not-compile%3Aorg.codehaus.plexus %3Aplexus-compiler-javac%3Ajar%3A1.6-SNAPSHOT- tp15447362s177p15447362.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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] --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john rss: http://feeds.feedburner.com/ejlife/john
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
If you have a test project I can use to verify, debug, and fix the error, that would help immensely. I tested the plugin before I deployed it yesterday, but apparently didn't have the configuration needed to express this problem. Thanks, -john On Feb 13, 2008, at 5:48 AM, David Larsson wrote: I have the same problem as Hendrik but I really need to use maven- compiler-plugin 2.1-SNAPSHOT. Is there anything I can do to fix this problem? Regards David Martin Höller wrote: On Wednesday 13 February 2008 wrote Hendrik Busch: Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. That's because you already have them in your local repo (~/.m2/ repository/). Along with disabling the snapshot repo, you should remove the coresponding subtree from your local repo, e.g. ~/.m2/ repository/org/codehaus/plexus/plexus-compiler. The even better solution would be to specify which version of a plugin you'd like to use in the pluginManagement-section. hth, - martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john rss: http://feeds.feedburner.com/ejlife/john
Re: Maven does not compile:org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT
It's a good practice to pin down the specific version of a plugin you want to use. In this case, specifying version2.0.2/version for the compiler plugin would avoid the issue for you. I'm looking into the NPE, but if you had a test project that displayed the error, it would help me a lot to debug and fix the problem. -john On Feb 13, 2008, at 5:10 AM, Hendrik Busch wrote: Hi! We are experiencing the same problem. After adding the codehaus snapshot repository to our Artifactory server the plexus-compiler could be downloaded but we still get build errors. Caused by: java.lang.NullPointerException at org.codehaus.plexus.compiler.javac.JavacCompiler.compile (JavacCompiler.java:120) at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:500) Is there any way to prevent Maven from using snapshot versions of plugins? Just disabling the repos does not seem to suffice. Regards, Hendrik Busch Am Mittwoch, den 13.02.2008, 10:39 +0100 schrieb Marco Huber: I got the similar error this morning, after starting a normal clean install of my project. As I see from the error message the maven-compiler-plugin 2.1- SNAPSHOT tried to use the 1.6-SNAPSHOT of the plexus-compiler. I nailed the version of the maven-compiler-plugin to 2.0.2 and all works. Does the developer of the maven-compiler-plugin or plexus-compiler missed to deploy the neccessary snapshot to a public repository ;-) Regards Marco Wayne Fay wrote: The reason it is failing is because you are trying to utilize SNAPSHOT artifacts and yet you have not configured a Snapshot repository in your pom.xml. It looks like you're trying to compile Maven itself, or something along those lines? Why are you doing this? This is generally something that rookies should avoid doing. What exactly are you trying to do? Perhaps you can post your pom.xml somewhere so we can take a look and help you figure things out. Wayne On 2/12/08, krishnan.1000 [EMAIL PROTECTED] wrote: Hi , I am a rookie using Maven. I have got this error. I have created this pom and I dont know what is causing this error. I looked at the forum but I did not understand what was being discussed%-O Please help me. Thanks, Karthik 1) org.codehaus.plexus:plexus-compiler-javac:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-javac -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-javac:jar:1.6- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-api -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-api:jar:1.6-SNAPSHOT 3) org.codehaus.plexus:plexus-compiler-manager:jar:1.6-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.codehaus.plexus -DartifactId=plexus-compiler-manager -Dversion=1.6-SNAPSHOT - Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] Path to dependency: 1) org.apache.maven.plugins:maven-compiler-plugin:maven-plugin:2.1- SNAPSHOT 2) org.codehaus.plexus:plexus-compiler-manager:jar:1.6- SNAPSHOT -- View this message in context: http://www.nabble.com/Maven-does-not-compile% 3Aorg.codehaus.plexus%3Aplexus-compiler-javac%3Ajar%3A1.6- SNAPSHOT-tp15447362s177p15447362.html Sent from the Maven - Users mailing list archive at Nabble.com. --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL
regenerate directory structure
hello, I currently have a project that is of packagingjar/packaging .. however NOW i need this project to be web enabled and hence need the directory structure to reflect a web application. So I thought that if I change to packagingwar/packaging and from the command line do 'mvn eclipse:eclipse' would generated the desired directory structure for a web application. But obviously it did not work! Is there a way to do this? I don't really want to create a separate project. Hope someone can help... regards gautam -- View this message in context: http://www.nabble.com/regenerate-directory-structure-tp15460862s177p15460862.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sample usage of RPM plugin
What is the status of RPM plugin? I followed the sample usage in http://mojo.codehaus.org/rpm-maven-plugin/usage.html and found that it does not work. Does anyone have a working example of RPM plugin usage? Thanks /U -- View this message in context: http://www.nabble.com/Sample-usage-of-RPM-plugin-tp15462443s177p15462443.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is there an XDoclet Plugin which uses XJavadoc 1.5 (Generics) ?
Anyone can point to to a Version which allows to use Generics with XDoclet ? regards, Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: regenerate directory structure
Two options off the top of my head: 1. Set packaging to war and add the src/main/webapp directory etc yourself. 2. Create a new project with the proper archetype, then paste your src/ directory over and let it overwrite stuff. Wayne On 2/13/08, gmehta [EMAIL PROTECTED] wrote: hello, I currently have a project that is of packagingjar/packaging .. however NOW i need this project to be web enabled and hence need the directory structure to reflect a web application. So I thought that if I change to packagingwar/packaging and from the command line do 'mvn eclipse:eclipse' would generated the desired directory structure for a web application. But obviously it did not work! Is there a way to do this? I don't really want to create a separate project. Hope someone can help... regards gautam -- View this message in context: http://www.nabble.com/regenerate-directory-structure-tp15460862s177p15460862.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: not able to deploy using webdav
Hi, Thanks for the pointer... However my issues was related to hudson configuration as it was working fine with command line. Hudson job configuration using Build a maven2 project (beta) doesn't work with webdav where as same thing worked for me when I configured the job using Build a free-style software project and selected maven-2.0.6 for maven builds. May help to someone who is facing the similar issue. Regards Savita Savita_p_m wrote: Hi, I am getting following error while trying for site-deploy, I have configured job using hudson to run maven goals. Build extensions are mentioned in pom.xml and the repository has the wagon-webdav jars. However from command line it works properly where as it fails with the following error when configured through hudson. [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav. Kindly help me if some one know the solution to this. -- View this message in context: http://www.nabble.com/not-able-to-deploy-using-webdav-tp15450557s177p15467004.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Nexus repository manager
You might also want to try out Artifactory. It has auto snapshots cleanup + a range of other advanced features. See: http://www.jfrog.org/confluence/display/RTF/Welcome+to+Artifactory%21 (as the project lead I am of course biased ;) Hayes, Peter wrote: I did not know Nexus was going to be commercial. Thanks for the info. Pete -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 5:30 PM To: Maven Users List Subject: Re: Nexus repository manager Nexus is a commercial product from Sonatype, so you should probably contact them via their website for more information. If you are interested in snapshot cleanup that works today, you might try Archiva: http://maven.apache.org/archiva/ :) Cheers, Brett On 13/02/2008, Hayes, Peter [EMAIL PROTECTED] wrote: Is there any update on the Nexus repository manager? I am interested in snapshot cleanup. Thanks, Peter Hayes Architecture Shared Technology Services | Fidelity Investments Management Technology - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Brett Porter Blog: http://blogs.exist.com/bporter/ - 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] -- View this message in context: http://www.nabble.com/Nexus-repository-manager-tp15442472s177p15467151.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: generate e-mailaddresses from SVN?
Do you have any guidance for projects that don't have a POM? I am building some .NET code via the shell script approach... Is there a way for me to create a POM? Or some sort of rule that appends something to SVN id's for sending email? Eric On Feb 13, 2008, at 10:31 AM, Wendy Smoak wrote: On Feb 13, 2008 8:22 AM, Doug Knesek [EMAIL PROTECTED] wrote: How are the e-mail addresses of the latest committers determined? I'm going to guess it's from the list of developers in the pom. The id there will need to match the svn id on the commit. -- Wendy - Eric Pugh | Principal | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com
Re: cannot use -Darchetype(GroupId/ArtifactId) with maven-archetype-plugin 2.0-alpha-1
Hi Stuart, On 13/02/2008, Stuart McCulloch [EMAIL PROTECTED] wrote: I think you've picked up the new release of the archetype plugin which by default runs in interactive mode, with choices from an internal catalog (even when the archetype groupId and artifactId are already selected) Thats the behaviour I'm seeing, yes this has been raised and discussed on the developer list: http://www.nabble.com/New-archetype-plugin-issues-questions-td15435079s177.html and a fix is in progress, until a new release is made you can use: OK, fine mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create ...etc... to force Maven to use the old version :( That's OK for the hopefully shorter period of time -Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: damage image files
Hi Olivier, What about a configuration parameter in the mojo (maven-resources-plugin) like : filteringIgnoreExtensionsjpg,jpeg,pdf/filteringIgnoreExtensions good idea. Currently adding this in the resource configuration in the pom needs some core changes. Remy, I'm sure you can load an issue in MWAR concerning overlays ;-). One more, are you sure :-) I can do it but I am not sure that it's absolutely necessary. It depends on how it will be manage in the maven-resources-plugin. But if you think that it's better, just tell me. We can imagine this configuration for the maven-war-plugin for instance plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.1-alpha-2-SNAPSHOT/version configuration overlays overlay groupIddebug.war/groupId artifactIdcommon-overlay/artifactId filteredtrue/filtered filteringExclusions filteringExclusion**/*.gif/filteringExclusion filteringExclusion**/*.jpg/filteringExclusion /filteringExclusions /overlay /overlays /configuration /plugin Rémy
RE: not able to deploy using webdav
I haven't had much luck with the build in maven support, but you can set it up very easily as a freestyle project. Hudson is rock solid and the only thing I use. -Original Message- From: Savita_p_m [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 12:22 PM To: users@maven.apache.org Subject: Re: not able to deploy using webdav Hi, Thanks for the pointer... However my issues was related to hudson configuration as it was working fine with command line. Hudson job configuration using Build a maven2 project (beta) doesn't work with webdav where as same thing worked for me when I configured the job using Build a free-style software project and selected maven-2.0.6 for maven builds. May help to someone who is facing the similar issue. Regards Savita Savita_p_m wrote: Hi, I am getting following error while trying for site-deploy, I have configured job using hudson to run maven goals. Build extensions are mentioned in pom.xml and the repository has the wagon-webdav jars. However from command line it works properly where as it fails with the following error when configured through hudson. [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav. Kindly help me if some one know the solution to this. -- View this message in context: http://www.nabble.com/not-able-to-deploy-using-webdav-tp15450557s177p154 67004.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[IMPORTANT] For users of maven-compiler-plugin 2.1-SNAPSHOT
Hi, As I'm sure you've noticed, I broke the deployed version of maven- compiler-plugin 2.1-SNAPSHOT yesterday. For those of you who use this plugin, I've since re-deployed a fixed version, complete with its own reference to the Plexus snapshot repository to help resolve the plexus-compiler-* snapshot dependencies. Please execute Maven with the -U flag to get this updated version. Thanks, -john --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john rss: http://feeds.feedburner.com/ejlife/john
Re: Site Plugin 2.0-beta-6 site.xml Relative/Absolute URL's Disappearing href's
Further more I have tested a non staging deploy, and this works perfect. This problem seems to be limited to the stage-deploy. On Feb 13, 2008 5:26 PM, Andrew Hughes [EMAIL PROTECTED] wrote: Hi Gang, Im trialing the 2.0-beta-6 site plugin. The problem I am having is with the site.xml generated html during the stage-deploy goal. It does a few unexpected things: - href's for menu items are stripped, e.g. href=index.html just goes to the web root of the site (which is also wrong see below) - the absolute paths contain the domain in the url twice - absolute paths contain release NOT staging file system path information - the site root seems to be composed of an absolute url, made up from the siteurl*/... which is an scp url - using stagingSiteURLscp://192.168.10.56/var/www/maven/sites/staging/${ project.groupId}/${project.version}/${project.artifactId }/stagingSiteURL The result is absolute menu items links like: http://maven.mycompany.com/maven.mycompany.com/var/www/maven/sites/releases/myproject/1.2.1-SNAPSHOT/parent My site.xml ?xml version=1.0 encoding=ISO-8859-1? project body menu name=Overview item name=Introduction href=index.html/ /menu /body /project Any ideas?
Re: error in checkstyle plugin in mvn site: Property ${user.home} is not set
This is purely speculation, but the properties that *made* are available to the checkstyle plugin are most likely limited. So checkstyle is handed only selected properties and not all (including the system properties). I can't say anymore than this being speculation, but it would explain the situation. Either checkout the src, or wait for someone who can more than speculate. On Feb 14, 2008 12:38 AM, Silvio Arcangeli [EMAIL PROTECTED] wrote: Thanks a lot Andrew, that gave me some more idea. In my case i'm running maven manually, no daemon. I tested my JVM (Sun 1.5.0_13) with a very simple Java class that prints all the system properties, and user.home is indeed there: user.home = /home/silvio So the JVM system property is present and correct. I have no clue why checkstyle doesn't see it, seems like it gets overridden somewhere, or maybe the plugin looks for the property somewhere else than System? ciao, Silvio On Wed, Feb 13, 2008 at 12:20 PM, Andrew Hughes [EMAIL PROTECTED] wrote: Unless it's a linux daemon running the maven process, I dont know what that would do to this property. On Feb 13, 2008 8:14 PM, Silvio Arcangeli [EMAIL PROTECTED] wrote: Hi all, I'm running Maven 2.0.8 on Linux (Ubuntu 7.10), and I'm having the following error when i run mvn site on all of my projects: [INFO] Generating Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Property ${user.home} has not been set [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error during page generation at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:564) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle (DefaultLifecycleExecutor.java:480) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( DefaultLifecycleExecutor.java:459) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures (DefaultLifecycleExecutor.java:311) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( DefaultLifecycleExecutor.java:278) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute ( DefaultLifecycleExecutor.java:143) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java :333) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java :126) at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke( DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.codehaus.classworlds.Launcher.launchEnhanced( Launcher.java :315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode( Launcher.java :430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error during page generation at org.apache.maven.plugins.site.SiteMojo.execute( SiteMojo.java :101) at org.apache.maven.plugin.DefaultPluginManager.executeMojo( DefaultPluginManager.java:447) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:539) ... 16 more Caused by: org.apache.maven.doxia.siterenderer.RendererException: Error rendering Maven report: Failed during checkstyle configuration at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument( ReportDocumentRenderer.java:149) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule( DefaultSiteRenderer.java:269) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render( DefaultSiteRenderer.java:101) at org.apache.maven.plugins.site.SiteMojo.renderLocale( SiteMojo.java:129) at org.apache.maven.plugins.site.SiteMojo.execute( SiteMojo.java:96) ... 18 more Caused by: org.apache.maven.reporting.MavenReportException: Failed during checkstyle configuration at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport( CheckstyleReport.java:488)
Re: [IMPORTANT] For users of maven-compiler-plugin 2.1-SNAPSHOT
This actually forced me to close access (should have done it long time ago) to plugin snapshot repo in artifactory and deploy really needed plugin snapshots (maven-eclipse-plugin-2.5-SNAPSHOT) to a separate and more controllable repository, which is a good thing. Siarhei On Feb 13, 2008 11:15 PM, John Casey [EMAIL PROTECTED] wrote: Hi, As I'm sure you've noticed, I broke the deployed version of maven- compiler-plugin 2.1-SNAPSHOT yesterday. For those of you who use this plugin, I've since re-deployed a fixed version, complete with its own reference to the Plexus snapshot repository to help resolve the plexus-compiler-* snapshot dependencies. Please execute Maven with the -U flag to get this updated version. Thanks, -john --- John Casey Committer and PMC Member, Apache Maven mail: jdcasey at commonjava dot org blog: http://www.ejlife.net/blogs/john rss: http://feeds.feedburner.com/ejlife/john
Re: not able to deploy using webdav
I keep on telling everyone to use freestyle. It's a running joke between myself and Peter Reilly (of ANT fame) that 90% of the issues with Hudson are the Maven project type! On a side note I have a plan for giving people what they like of the Maven project type (i.e. modularised sub-reports) with the stability of the freestyle project type, but I have not had the chance to roll it out yet -Stephen On Feb 13, 2008 10:14 PM, Brian E. Fox [EMAIL PROTECTED] wrote: I haven't had much luck with the build in maven support, but you can set it up very easily as a freestyle project. Hudson is rock solid and the only thing I use. -Original Message- From: Savita_p_m [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 13, 2008 12:22 PM To: users@maven.apache.org Subject: Re: not able to deploy using webdav Hi, Thanks for the pointer... However my issues was related to hudson configuration as it was working fine with command line. Hudson job configuration using Build a maven2 project (beta) doesn't work with webdav where as same thing worked for me when I configured the job using Build a free-style software project and selected maven-2.0.6 for maven builds. May help to someone who is facing the similar issue. Regards Savita Savita_p_m wrote: Hi, I am getting following error while trying for site-deploy, I have configured job using hudson to run maven goals. Build extensions are mentioned in pom.xml and the repository has the wagon-webdav jars. However from command line it works properly where as it fails with the following error when configured through hudson. [INFO] Error deploying artifact: Unsupported Protocol: 'dav': Cannot find wagon which supports the requested protocol: dav Component descriptor cannot be found in the component repository: org.apache.maven.wagon.Wagondav. Kindly help me if some one know the solution to this. -- View this message in context: http://www.nabble.com/not-able-to-deploy-using-webdav-tp15450557s177p154 67004.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
eclipse source export order
Hi Guys, Is there a way to set the export order of the source folders within a project in eclipse? I thought there may be a way to do it with the maven eclipse plugin, but have had no luck. At the moment I have to go in manually via the project/properties/build path menu option and manually move them up or down. Cheers, Matt. This email and associated attachments may contain confidential and privileged CITEC information that is provided solely for the use of the intended addressee. Views and opinions expressed in this email are those of the individual sender and are not necessarily the views and opinions of CITEC unless the sender expressly states that such views and opinions are those of CITEC. The privilege and confidentiality associated with this email and attachments will not be waived, lost or rescinded by reason of mistaken delivery. Should you receive this email by mistake, please notify the sender by return email then delete the email from your computer system. You must not use, copy, modify, print, or distribute the email or the information and attachments contained within same to any third party. CITEC does not accept any liability in respect of viruses or computer problems experienced by the recipient through access gained to this email and its attachments.
Re: Working around MNG-2261 (How can I manually download and install artifact)
That'll work, but with the added complexity of a hack like is less than appealing. It would not take much more effort to write a script or some java code to create template projects without the archetype plugin. Anyone willing to apply the patch and post a jar with the patch applied? Thanks, -Ken Wayne Fay wrote: One easy method is to simply make a pom, specify your artifact as a dependency, and run mvn dependency:go-offline. IIRC, someone wrote a little shell script to create a pom.xml and then run go-offline against it, then delete it for this exact purpose and sent it to the list, but I don't remember details so it will be hard to find and easier to just re-write if you want that functionality. If you do this, please contribute it back via the Wiki. ;-) Wayne On 2/13/08, kroe [EMAIL PROTECTED] wrote: MNG-2261 is making creating projects using an archetype difficult. I have an archetype I created. I want the archetype:create command to download my archetype from an internal repository. The internal repository is specified in my settings.xml file. Due to MNG-2261, the settings.xml repositories are not respected unless there is a pom in the current directory. Is there a maven plug-in that will let me download my artifact from an internal repository and install it to the local repository manually? If I can find a way to do this then archetype:create will find the artifact it needs locally and it won't matter that I can't go out to a remote repository. If there is not a way to do this does anyone have a compiled jar with the MNG-2261 patch applied they could post somewhere? Thanks, -Ken -- View this message in context: http://www.nabble.com/Working-around-MNG-2261-%28How-can-I-manually-download-and-install-artifact%29-tp15459817s177p15459817.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Working-around-MNG-2261-%28How-can-I-manually-download-and-install-artifact%29-tp15459817s177p15470784.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java - java2wsdl - wsdl2java
I have a multi-module project that begins with java, needs to generate a wsdl, and then from that wsdl needs to generate more java. The plugin I'm using for this is the axistools-maven-plugin. Unfortunately this approach does not play well with the release plugin. It works fine until it comes time for a release. The problem appears to be that I need to have the jar created from the original java in the _plugin_ dependencies, and that somehow causes the following error during release:deploy that the jar (in a the first sibling module) has not yet been uploaded to our archiva instance. Anyone know how I can work around this? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Working around MNG-2261 (How can I manually download and install artifact)
On Feb 13, 2008 9:00 AM, kroe [EMAIL PROTECTED] wrote: MNG-2261 is making creating projects using an archetype difficult. I have an archetype I created. I want the archetype:create command to download my archetype from an internal repository. The internal repository is specified in my settings.xml file. Due to MNG-2261, the settings.xml repositories are not respected unless there is a pom in the current directory. The archetype plugin just had a new release, but I suspect you're using the older one. With that one, you can use -DremoteRepositories=... on the command line. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
The list of maven plug-ins that are used by maven during the build
Hello Folks, A quick question: is there a way to get the list of ALL maven plug-ins and their versions that are used by maven build life cycle? Maven uses tons of standard plug-ins explicitly and inexplicitly. Is there a way to get the whole list of it for a given build? Thanks Ryan
RE: java - java2wsdl - wsdl2java
We've had a similar problem with some of our multimodule projects. We found adding this additional configuration for the release plugin helped resolve the issue: plugin artifactIdmaven-release-plugin/artifactId configuration preparationGoalsinstall/preparationGoals /configuration /plugin -joe Joseph Heck Walt Disney Internet Group -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deckrider Sent: Wednesday, February 13, 2008 3:44 PM To: Maven Users List Subject: java - java2wsdl - wsdl2java I have a multi-module project that begins with java, needs to generate a wsdl, and then from that wsdl needs to generate more java. The plugin I'm using for this is the axistools-maven-plugin. Unfortunately this approach does not play well with the release plugin. It works fine until it comes time for a release. The problem appears to be that I need to have the jar created from the original java in the _plugin_ dependencies, and that somehow causes the following error during release:deploy that the jar (in a the first sibling module) has not yet been uploaded to our archiva instance. Anyone know how I can work around this? - 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: java - java2wsdl - wsdl2java
This doesn't seem to have any effect in my case. On Feb 13, 2008 4:57 PM, Heck, Joe [EMAIL PROTECTED] wrote: We've had a similar problem with some of our multimodule projects. We found adding this additional configuration for the release plugin helped resolve the issue: plugin artifactIdmaven-release-plugin/artifactId configuration preparationGoalsinstall/preparationGoals /configuration /plugin -joe Joseph Heck Walt Disney Internet Group -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deckrider Sent: Wednesday, February 13, 2008 3:44 PM To: Maven Users List Subject: java - java2wsdl - wsdl2java I have a multi-module project that begins with java, needs to generate a wsdl, and then from that wsdl needs to generate more java. The plugin I'm using for this is the axistools-maven-plugin. Unfortunately this approach does not play well with the release plugin. It works fine until it comes time for a release. The problem appears to be that I need to have the jar created from the original java in the _plugin_ dependencies, and that somehow causes the following error during release:deploy that the jar (in a the first sibling module) has not yet been uploaded to our archiva instance. Anyone know how I can work around this? - 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] -- ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: java - java2wsdl - wsdl2java
My apologies, I was looking at the wrong build output. This does appear to work around my problem. However, I can't help but wonder if it is a bug that this must be done, but perhaps I just don't understand yet. Anyway, thanks much for the help! On Feb 13, 2008 5:50 PM, deckrider [EMAIL PROTECTED] wrote: This doesn't seem to have any effect in my case. On Feb 13, 2008 4:57 PM, Heck, Joe [EMAIL PROTECTED] wrote: We've had a similar problem with some of our multimodule projects. We found adding this additional configuration for the release plugin helped resolve the issue: plugin artifactIdmaven-release-plugin/artifactId configuration preparationGoalsinstall/preparationGoals /configuration /plugin -joe Joseph Heck Walt Disney Internet Group -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of deckrider Sent: Wednesday, February 13, 2008 3:44 PM To: Maven Users List Subject: java - java2wsdl - wsdl2java I have a multi-module project that begins with java, needs to generate a wsdl, and then from that wsdl needs to generate more java. The plugin I'm using for this is the axistools-maven-plugin. Unfortunately this approach does not play well with the release plugin. It works fine until it comes time for a release. The problem appears to be that I need to have the jar created from the original java in the _plugin_ dependencies, and that somehow causes the following error during release:deploy that the jar (in a the first sibling module) has not yet been uploaded to our archiva instance. Anyone know how I can work around this? - 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] -- ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html -- ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: The list of maven plug-ins that are used by maven during the build
You could run maven with the -X parameter and scan all the debug messages and look for the names of all the plugins used. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan H. Sent: Wednesday, February 13, 2008 3:58 PM To: Maven Users List Subject: The list of maven plug-ins that are used by maven during the build Hello Folks, A quick question: is there a way to get the list of ALL maven plug-ins and their versions that are used by maven build life cycle? Maven uses tons of standard plug-ins explicitly and inexplicitly. Is there a way to get the whole list of it for a given build? Thanks Ryan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: double build
how do you do this if you need both? do you have to run maven twice, once for each profile? Thanks On Jan 29, 2008 8:24 AM, Erez Nahir [EMAIL PROTECTED] wrote: Hi supareno, Maven profile is your friend in this case, see http://maven.apache.org/guides/introduction/introduction-to-profiles.html search for jdk to see how you can activate a profile based on JDK version. Erez. On Jan 29, 2008 1:50 PM, supareno [EMAIL PROTECTED] wrote: hello, i need to do a double compilation - one for java 6 - one for java 5 (with specifics jars) for the moment, i have two projects with differents POMs. is it possible to do this with single POM file? can i merge them with two 'build' tag?? is anybody has ever done this? regards supareno - 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: surefire-report-plugin running tests of all dependent modules again?
I would like to second this sentiment. Is there a plugin that can add the current plugin version information to the pom? I also definately think this information should be added to poms processed with the release plugin (if it isn't already). Thanks On Jan 29, 2008 5:49 PM, Joerg Hohwiller [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 | Hi Jörg, Hi Stefan, | | this is also what I see here (see my post about M2 multi-project site | build is broken). | All tests are run for each project in the reactor. I think we could file | an issue for each of the affected plugins, but this seems more like a | maven generic issue. Something was fixed with devastating effects for | a lot of plugins. What maven version are you using? I am using maven 2.0.8 Everything works fine if I explicitly set the version of the surefire-report-plugin to 2.3 and goes wrong if I use 2.4 I did not have the same problem with other plugins. Could you track this down? Though I know that the latest site-plugin is buggy as well as the latest javadoc-plugin. But this are other problems. If you want freedom with maven you need to define the versions of all plugins explicitly in your toplevel pom. That is what I learned in a bloody bad lessen with maven. The plugin developers often do not know the impact of releasing buggy plugins. There are thousands of maven users that suddenly have a broken build and no idea what is wrong. I am using maven from the early days now and switched to maven2 over 2,5 years ago. With maven2 I want to build my code and the project website. The site of a multi-project build was a problem for years and even though patches are attached to jira for fixing related plugins such as cobertura it is still not fixed. Sometimes you need to be patient. However maven2 is excellent already and I have big hopes for maven 2.1 all that is going on with mojo, etc. After a lot of pain with maven1 I am happy to see a product with a design and a concept. Thanks to all the great workers of the maven team! | | Stefan Regards Jörg -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHn62GmPuec2Dcv/8RAtzeAJ92rvs3JmZmkseghuWYW1/N+GsDRQCfXSxI 8P1+VCIkc4HEJIKxZjXnZZs= =SZo2 -END PGP SIGNATURE- - 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]