Re: using apt (annotation processing) with maven 2
Just for the record, if someone else needs to use maven 2 and APT, the tobago apt-maven-plugin works fine. The only problem I have met so far, is to pass in ann env options to the processor. Seems like there is a bug here in the plugin. Example of usage: plugin groupIdorg.apache.myfaces.tobago/groupId artifactIdmaven-apt-plugin/artifactId executions execution phasegenerate-sources/phase configuration generated.apt_generated/generated aptOptionsx=3/aptOptions target1.5/target nocompiletrue/nocompile showWarningstrue/showWarnings /configuration goals goalexecute/goal /goals /execution /executions /plugin Rohnny Rohnny Moland wrote: Chris Hilton wrote: There is a source jar for an apt plugin at: http://www.mvnrepository.com/artifact/org.apache.myfaces.tobago/maven-ap t-plugin/1.0.7 Thanks, I'll try that. Couldnt find how to add classpath and such things then, but I may ask more on the myfaces mailinglist. No idea if that works, but might be worth investigating. As far as the antrun option goes, you'll need to specify the ant-apt.jar as a dependency within the antrun execution, something like: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId execution phaseprocess-classes/phase configuration tasks apt .../apt /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdant/groupId artifactIdant-apt/artifactId versionSOME_VERSION/version /dependency /dependencies /plugin Unfortunately, it doesn't appear that the ant-apt jar has been loaded into the main repository, so you can either (1) go through the process to add it to the main repository, (2) do an install:install-file to install it in your local repository, (3) do a deploy:deploy-file to deploy it your company repository (you do have one, right?), or (4) make your dependency a system dependency and specify a local path. (1) would be nice so everyone else can use it but might take a while, so you'll probably need to do (2) or (3) short-term. (4) should generally be avoided, but is mentioned for completeness. Tried this one (3) but ran into class loader problems. More exact: Caused by: Error starting apt compiler at org.apache.tools.ant.taskdefs.compilers.AptCompilerAdapter.execute(Unknown Source) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757) at org.apache.tools.ant.taskdefs.Apt.execute(Unknown Source) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractAntMojo.java:108) ... 19 more Caused by: java.lang.NoSuchMethodException: com.sun.tools.apt.Main.compile([Ljava.lang.String;) at java.lang.Class.getMethod(Class.java:1581) Any good ideas here are welcome. Rohnny - 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]
embed html in apt
Hi, is it possible to embed some pure html code in apt pages? Andreas Ebbert-Karroum Senior Software Design Engineer - Nokia Networks Services / Middleware phone: +49-211-94123928, fax: +49-211-94123838 Heltorfer Straße 1, 40472 Düsseldorf, Germany This message is confidential. If you have received this message in error, please delete it from your system. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and therefore Nokia GmbH does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. Thank you. Nokia GmbH, Nokia Networks is a German Company. Further information about the Company is available from its principal offices at Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the website at http://www.nokia.com/
[m2] mvn --batch-mode release:prepare
Hi all, I think I missunderstood the following description: Sometimes it is desirable to do the commit/tag process on a regular interval (eg, to produce nightly or integration builds through a build server). To use the default inputs for the versions and tag information and not prompt for any values, use Maven's --batch-mode setting: If I execute the perform command in batch, the following error occurs! Where are the default inputs for the versions and tag ?? Thanks Fredy C:\Temp\kdg_commonmvn --batch-mode release:prepare [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'release'. [INFO] [INFO] Building kdg_common [INFO]task-segment: [release:prepare] (aggregator-style) [INFO] [WARNING] Artifact junit:junit:jar:3.8.1:test retains local scope 'test' overriding broader scope 'compile' given by a dependency. If this is not intended, modify or remove the local scope. [INFO] [release:prepare] [INFO] [ERROR] BUILD ERROR [INFO] [INFO] A tag must be specified [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 2 seconds [INFO] Finished at: Fri Aug 04 08:47:48 CEST 2006 [INFO] Final Memory: 4M/7M [INFO] Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] acessing the release date
Hi, is there a way to acess the release date? In the manifest folder there is the following information: #Generated by Maven #Fri Aug 04 09:07:10 CEST 2006 version=1.00.00.34-SNAPSHOT groupId=webcsc artifactId=kdg_common but I need #Fri Aug 04 09:07:10 CEST 2006 as a property. releaseDate=Fri Aug 04 09:07:10 CEST 2006 would be nice ,-) Fredy Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse Plugins
Barrie Treloar a écrit : On 7/18/06, Scott Goldstein [EMAIL PROTECTED] wrote: 1. How do you write a pom to build and release an Eclipse RCP application, including using an Eclipse Product Configuration to build the final package? 2. How do you then create the Eclipse project from the pom? As Fabrizio has indicated, PDE support is limited at best. Here are some other links I have found. http://m2eclipse.codehaus.org/ The M2 Eclipse Plugin might have some stuff in it of use. I've yet to check. (The website is out of date and the source repository is not where the link indicates) http://cwiki.apache.org/confluence/display/FELIX/OSGi+plugin+for+maven+2 An OSGi plugin which is not quite the same but probably close enough. http://cwiki.apache.org/GMOxDOC11/geronimo-eclipse-plugin-faq.html Some stuff in Geronimo for building their Eclipse plugin. http://vyzivus.host.sk/maven2-build-plugin-howto.html http://euromath2.sourceforge.net/eplugin/team-list.html http://dev.eclipse.org/mhonarc/lists/pde-build-dev/msg00075.html http://mavenosgiplugin.berlios.de/ - A Maven 1.0 plugin http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ Looks like a Maven 1.0 plugin http://jira.codehaus.org/browse/MECLIPSE-92 And maybe support for basic stuff in the eclipse plugin. I've seen a number of requests for this functionality fly past on the list. If effort is going to be spent addding these features then it would be good to pool the effort. The maven eclipse plugin feels like the correct spot. Hi, The current maven-eclipse-plugin is definitively the more accurate plugin to begin with. The current SNAPSHOT could generate the MANIFEST.MF file needed by any eclipse plugin, but it would not generate plugin.xml. there is some work in progress by somebody here in the list to make an archetype for eclipse plugin. So for compiling eclipse plugin, the work is almost done ( for me, it is working ) . What is missing today is : - packaging eclipse plugin ( could be done with assembly ) - support for RCP packaging ( currently you cannot build eclipse RCP app like eclipse does with its own process ) - a plugin to test eclipse plugin the two last thing are done with eclipse's own stuff ( ant + headless eclipse). Stéphane. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can not generate changelog report, and cruisecontrol email notifi cation list failed
We use Maven with Cruisecontrol to drive project build. It was all fine, until one day... About several weeks ago, we suddenly have problem about this CVSROOT/users; using empty email map in both maven and cruisecontrol logs. The problems are: 1. Email could not be sent after cruisecontrol build failed. 2. CVS file change log report can not be generated. (The report is all empty) [java] cvs server: cannot find module `CVSROOT/users' - ignored [java] [cc]May-26 11:30:35 CVS - problem getting CVSROOT/users; using empty email map It may have something to do with problem getting CVSROOT/users; using empty email map. But I do not have a clue how it happened. I wonder the problem is cvs server related. Anyone had similar problems? Any hint? Or what is an intelligent question to ask? Thanks in advance manoj kaushik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Modify the generated report site in Maven 2
Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per
AW: Modify the generated report site in Maven 2
src/site/site.xml: body ... ... menu name=kdg_common item name=FAQ href=faq.html/ item name=Features href=features.html/ /menu -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 11:19 An: users@maven.apache.org Betreff: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse Plugins
I don't completely get the use the maven-eclipse-plugin to build eclipse plugins in maven. that raises a few questions. 1. you cannot develop the plugin in any other IDE, only in eclipse itself? 2. why even bother having it as maven project? do I miss something obvious? Milos On 8/4/06, Stéphane Bouchet [EMAIL PROTECTED] wrote: Barrie Treloar a écrit : On 7/18/06, Scott Goldstein [EMAIL PROTECTED] wrote: 1. How do you write a pom to build and release an Eclipse RCP application, including using an Eclipse Product Configuration to build the final package? 2. How do you then create the Eclipse project from the pom? As Fabrizio has indicated, PDE support is limited at best. Here are some other links I have found. http://m2eclipse.codehaus.org/ The M2 Eclipse Plugin might have some stuff in it of use. I've yet to check. (The website is out of date and the source repository is not where the link indicates) http://cwiki.apache.org/confluence/display/FELIX/OSGi+plugin+for+maven+2 An OSGi plugin which is not quite the same but probably close enough. http://cwiki.apache.org/GMOxDOC11/geronimo-eclipse-plugin-faq.html Some stuff in Geronimo for building their Eclipse plugin. http://vyzivus.host.sk/maven2-build-plugin-howto.html http://euromath2.sourceforge.net/eplugin/team-list.html http://dev.eclipse.org/mhonarc/lists/pde-build-dev/msg00075.html http://mavenosgiplugin.berlios.de/ - A Maven 1.0 plugin http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ Looks like a Maven 1.0 plugin http://jira.codehaus.org/browse/MECLIPSE-92 And maybe support for basic stuff in the eclipse plugin. I've seen a number of requests for this functionality fly past on the list. If effort is going to be spent addding these features then it would be good to pool the effort. The maven eclipse plugin feels like the correct spot. Hi, The current maven-eclipse-plugin is definitively the more accurate plugin to begin with. The current SNAPSHOT could generate the MANIFEST.MF file needed by any eclipse plugin, but it would not generate plugin.xml. there is some work in progress by somebody here in the list to make an archetype for eclipse plugin. So for compiling eclipse plugin, the work is almost done ( for me, it is working ) . What is missing today is : - packaging eclipse plugin ( could be done with assembly ) - support for RCP packaging ( currently you cannot build eclipse RCP app like eclipse does with its own process ) - a plugin to test eclipse plugin the two last thing are done with eclipse's own stuff ( ant + headless eclipse). Stéphane. - 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]
Weird error
Hello, When trying to generate site, I get the following strange error: [EMAIL PROTECTED]:~/oqube/site$ mvn -e -cpu site + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building OQube Site Francais [INFO]task-segment: [site] [INFO] [INFO] Setting property: classpath.resource.loader.class = 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on = 'false'. [INFO] Setting property: resource.loader = 'classpath'. [INFO] Setting property: resource.manager.logwhenfound = 'false'. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error getting reports from the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin': Unable to find the mojo 'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' in the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin' [INFO] [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error getting reports from the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin': Unable to find the mojo 'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' in the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin' at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:689) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:637) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:512) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140) 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 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mojo 'org.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim' in the plugin 'org.apache.maven.plugins:maven-project-info-reports-plugin' at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:533) at org.apache.maven.plugin.DefaultPluginManager.getReport(DefaultPluginManager.java:462) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getReports(DefaultLifecycleExecutor.java:678) ... 18 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.apache.maven.plugin.Mojoorg.apache.maven.plugins:maven-project-info-reports-plugin:2.0.1:cim', it could not be started at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:339) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440) at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:524) ... 20 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:109) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95) at
Cant send emails
Hello, I can't send emails because of a missing resource. Here is the version of continuum i use : jvm 1| 2006-08-04 11:49:08,094 [WrapperSimpleAppMain] INFO Continuum - Continuum 1.0.3-maestro-1.0.1 started! And here is the needed resource : jvm 1| 2006-08-04 11:50:23,153 [Thread-2] INFO Notifier:mail - No such template: '/org/apache/maven/continuum/notification/mail/templates/ant/BuildComplete.vm'. What have i to change to have the emails sent ? Thanks in advance for any help Raphaël
[m1] Maven WebTest Plugin 1.5 released
The maven-plugins team is pleased to announce the Maven WebTest Plug-in 1.5 release! http://maven-plugins.sourceforge.net/maven-webtest-plugin Maven Plugin for Canoo WebTest Changes in this version include: Changes: o Updated to WebTest 2.0, build number = R_1304 To automatically install the plugin, type the following on a single line: maven plugin:download -DgroupId=maven-plugins -DartifactId=maven-webtest-plugin -Dversion=1.5 For a manual installation, you can download the plugin here: http://maven-plugins.sourceforge.net/repository/maven-plugins/plugins/maven-webtest-plugin-1.5.jar Have fun! -The maven-plugins team - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse Plugins
1. You can always develop with IDE other than Eclipse, notepad for example ! But for plugins, Eclipse provide some very useful editors and tools. With maven-eclipse-plugin, you can mix maven's concept of dependency managment and eclipse tools without effort. You could create an eclipse plugin without eclipse using maven assembly. 2. the main interrest to have it as maven project is continious integration and nightly builds. the eclipse'w way is complex and you can just build plugins, and tests them. you cannot generate site like maven does. Stéphane. Milos Kleint a écrit : I don't completely get the use the maven-eclipse-plugin to build eclipse plugins in maven. that raises a few questions. 1. you cannot develop the plugin in any other IDE, only in eclipse itself? 2. why even bother having it as maven project? do I miss something obvious? Milos On 8/4/06, Stéphane Bouchet [EMAIL PROTECTED] wrote: Barrie Treloar a écrit : On 7/18/06, Scott Goldstein [EMAIL PROTECTED] wrote: 1. How do you write a pom to build and release an Eclipse RCP application, including using an Eclipse Product Configuration to build the final package? 2. How do you then create the Eclipse project from the pom? As Fabrizio has indicated, PDE support is limited at best. Here are some other links I have found. http://m2eclipse.codehaus.org/ The M2 Eclipse Plugin might have some stuff in it of use. I've yet to check. (The website is out of date and the source repository is not where the link indicates) http://cwiki.apache.org/confluence/display/FELIX/OSGi+plugin+for+maven+2 An OSGi plugin which is not quite the same but probably close enough. http://cwiki.apache.org/GMOxDOC11/geronimo-eclipse-plugin-faq.html Some stuff in Geronimo for building their Eclipse plugin. http://vyzivus.host.sk/maven2-build-plugin-howto.html http://euromath2.sourceforge.net/eplugin/team-list.html http://dev.eclipse.org/mhonarc/lists/pde-build-dev/msg00075.html http://mavenosgiplugin.berlios.de/ - A Maven 1.0 plugin http://mevenide.codehaus.org/maven-eclipse-plugin-plugin/ Looks like a Maven 1.0 plugin http://jira.codehaus.org/browse/MECLIPSE-92 And maybe support for basic stuff in the eclipse plugin. I've seen a number of requests for this functionality fly past on the list. If effort is going to be spent addding these features then it would be good to pool the effort. The maven eclipse plugin feels like the correct spot. Hi, The current maven-eclipse-plugin is definitively the more accurate plugin to begin with. The current SNAPSHOT could generate the MANIFEST.MF file needed by any eclipse plugin, but it would not generate plugin.xml. there is some work in progress by somebody here in the list to make an archetype for eclipse plugin. So for compiling eclipse plugin, the work is almost done ( for me, it is working ) . What is missing today is : - packaging eclipse plugin ( could be done with assembly ) - support for RCP packaging ( currently you cannot build eclipse RCP app like eclipse does with its own process ) - a plugin to test eclipse plugin the two last thing are done with eclipse's own stuff ( ant + headless eclipse). Stéphane. - 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]
Known incompatibilities between wagon/jsch and openssh 3.8.1?
Hi, After upgrading the server hosting my internal sftp repository from openssh 3.4 to 3.8.1, m2 hangs when trying to access the repository: [DEBUG] Trying repository internal ... hangs forever ... Are there any known incompatibilities between wagon/jsch and current versions of openssh? Thanks, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting the ear plugin to recognise har files
Hi, On 8/3/06, Graham Leggett [EMAIL PROTECTED] wrote: On Thu, August 3, 2006 9:55 am, Stephane Nicoll wrote: This option won't work for us, as the project that creates the har file, already creates an ejb mapped to a jar file, which creates a filename clash. ? The mapping is for the type, not the extension. You .har file will still be packaged as an .har file! Have you tried it in a first place? Have I tried creating a har artifact called alchemy-trader-1.1.0.jar, and then deploying it to a repository already containing an ejb artifact called alchemy-trader-1.1.0.jar? No, I haven't tried that. Well. No of course. Try creating an har artifact called alchemy-trader-1.1.0.har. With the mapping I gave you above, the EAR plugin will handle your 'har' dependency the same way a classical 'jar' dependency (dependency TYPE not extension). s/ Anyway, it's handled now and I am busy working on jboss-app.xml auto-generation. Will try this out once you're done with this, and let you know if it works. Regards, Graham -- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- .::You're welcome ::. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
profile activation deactivation
I have the following profiles [1] in my settings.xml, in order that the 'developer' profile will filter out the integration tests via a profile section in one project's pom, while the normal profile (for continuous integration on another machine without my settings.xml) will not see the filter and will therefore run them. However occasionally I do want to run the integration tests but I can't deactivate my 'developer' profile. Yet from the mailing archives [2] I understand that the activeByDefault profile should automatically DE-activate when I execute: mvn -Pnormal test Yet this doesn't happen. Is my understanding incorrect? [1] profiles profile iddeveloper/id activationactiveByDefaulttrue/activeByDefault/activation repositories ... etc /profile profile idnormal/id repositories etc /profile /profiles [2] http://marc.theaimsgroup.com/?l=turbine-maven-userm=114014964303554w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
jabber not working
I am trying to use jabber notifier . for that I have added the notofieer property in pom.xml , as well as in application.xml , which is notifiers notifier addressBuild Notification/address configuration from-addresscruise/from-address from-passwordniobium/from-password host10.4.22.22/host port5222/port sslConnectionfalse/sslConnection isGrouptrue/isGroup /configuration /notifier /notifiers but continuum is giving error , the stack trace is - javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:501) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:343) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1038) at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:950) at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:309) at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:42) at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:62) 2006-08-03 17:07:03,622 [Thread-2] ERROR ContinuumNotificationDispatcher - Error while trying to use the jabbernotifier. org.codehaus.plexus.notification.NotificationException: Exception while sending message. at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendMessage(JabberContinuumNotifier.java:241) at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendNotification(JabberContinuumNotifier.java:139) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173) at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96) at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378) at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) at java.lang.Thread.run(Thread.java:595) Caused by: org.codehaus.plexus.jabber.JabberClientException: Can't connect to jabber:5223 at org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberClient.java:51) at org.apache.maven.continuum.notification.jabber.JabberContinuumNotifier.sendMessage(JabberContinuumNotifier.java:221) ... 7 more Caused by: Connection failed. No response from server.: at org.jivesoftware.smack.PacketReader.startup(PacketReader.java:170) at org.jivesoftware.smack.XMPPConnection.init(XMPPConnection.java:766) at org.jivesoftware.smack.XMPPConnection.init(XMPPConnection.java:222) at org.jivesoftware.smack.SSLXMPPConnection.init(SSLXMPPConnection.java:87) at org.codehaus.plexus.jabber.DefaultJabberClient.connect(DefaultJabberClient.java:46) I telnet and jabber is accpeting both port 5222 and port 5223 and it is working fine on cruisecontrol -- View this message in context: http://www.nabble.com/jabber-not-working-tf2050465.html#a5648154 Sent from the Continuum - Users forum at Nabble.com.
Execution of plugin depending on the activation of specific profile
Use-case: I have a multilevel project where the top level POM defines a number of different profiles. In some (i.e. not all) of the sublevel projetcs I need to execute a plugin only if a certain profile, say X, defined within top level POM is activated by the user. Also the configuration of the plugin is not shared among the sublevel modules that actually requires execution of the plugin. What I need is a simple construction like this: IfActive profile=X plugin ... /plugin /IfActive Considerations: I cannot just define the plugin within the profile X in the top level POM since then every subproject would then execute the plugin once the X profile was activated which is not ok since the execution of the plugin only applies to some of the subprojetcs and the configuration of the plugin is project specific. Of course I could define a new profile within the relevant submodules that takes care of the execution of the plugin however the number of profiles required this way would be unmanagble. Any suggestions on how to solve this issue ? Best regards Jorgen -- View this message in context: http://www.nabble.com/Execution-of-plugin-depending-on-the-activation-of-specific-profile-tf2050639.html#a5648574 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Modify the generated report site in Maven 2
Thank you. This works when you do the site from scratch. Can you append stuff like this from the default generated site with all the reports and all? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 4 augusti 2006 11:22 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 src/site/site.xml: body ... ... menu name=kdg_common item name=FAQ href=faq.html/ item name=Features href=features.html/ /menu -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 11:19 An: users@maven.apache.org Betreff: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - 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]
AW: Modify the generated report site in Maven 2
Can you send us your site.xml? -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 13:22 An: Maven Users List Betreff: RE: Modify the generated report site in Maven 2 Thank you. This works when you do the site from scratch. Can you append stuff like this from the default generated site with all the reports and all? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 4 augusti 2006 11:22 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 src/site/site.xml: body ... ... menu name=kdg_common item name=FAQ href=faq.html/ item name=Features href=features.html/ /menu -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 11:19 An: users@maven.apache.org Betreff: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - 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] Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Modify the generated report site in Maven 2
This site.xml works fine, but when I don't use a site.xml a default site.xml is used and all the reports is shown on the site(really nice). Can I still have that and just add some links to it in the menu to the left? Thanks! ?xml version=1.0 encoding=ISO-8859-1? project name=Maven bannerLeft nameMaven/name src http://maven.apache.org/images/apache-maven-project.png /src hrefhttp://maven.apache.org//href /bannerLeft bannerRight srchttp://maven.apache.org/images/maven-small.gif/src /bannerRight body links item name=Apache href=http://www.apache.org/; / item name=Maven 1.0 href=http://maven.apache.org/; / item name=Maven 2 href=http://maven.apache.org/maven2/; / /links menu name=Maven 2.0 item name=Introduction href=index.html / item name=Download href=download.html / item name=Release Notes href=release-notes.html / item name=General Information href=about.html / item name=For Maven 1.0 Users href=maven1.html / item name=Road Map href=roadmap.html / /menu menu name=testing item name=FAQtest href=faq.html / item name=FeaturesTest href=features.html / /menu /body /project -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 4 augusti 2006 13:37 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 Can you send us your site.xml? -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 13:22 An: Maven Users List Betreff: RE: Modify the generated report site in Maven 2 Thank you. This works when you do the site from scratch. Can you append stuff like this from the default generated site with all the reports and all? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: den 4 augusti 2006 11:22 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 src/site/site.xml: body ... ... menu name=kdg_common item name=FAQ href=faq.html/ item name=Features href=features.html/ /menu -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 11:19 An: users@maven.apache.org Betreff: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - 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] Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen. - 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: Assembly including binaries: Bug on a n depth hierarchy
Hello, This problem has already been reported : http://jira.codehaus.org/browse/MASSEMBLY-117 Vote for it :) Unfortunately this always fails into an exception: pom:pom1.1 does not have an artifact with a file. Please ensure the package phase (...) You can avoid this problem by excluding theses modules with 'pom' packaging. Thanks in advance if you have any workaround. For the recursion problem, I made my own assembly plugin release (with the patch provided in the bug report). Damien - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] DBunit test work in eclipse not with maven
Hi i have a project with some Junit tests, when i run these in eclipse (clicking on them -- run as -- Junittest) thing work fine. No failed tests. When i run mvn test, all my DBunit tests fail (the junit tests that are not dbunit test work fine) i see the following error in my log: --- Test set: be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest --- Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.1 sec FAILURE! testGetAccountString(be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest) Time elapsed: 0.01 sec ERROR! org.dbunit.dataset.DataSetException: java.net.MalformedURLException at org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:169) at org.dbunit.dataset.CachedDataSet.init(CachedDataSet.java:71) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:200) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:187) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.getDataSet(SqlMapAccountDaoTest.java:45) at org.dbunit.DatabaseTestCase.executeOperation(DatabaseTestCase.java:87) at org.dbunit.DatabaseTestCase.setUp(DatabaseTestCase.java:104) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.setUp(SqlMapAccountDaoTest.java:24) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) at org.apache.maven.surefire.Surefire.run(Surefire.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) java.net.MalformedURLException at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:796) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:741) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:260) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:498) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169) at org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:145) at org.dbunit.dataset.CachedDataSet.init(CachedDataSet.java:71) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:200) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:187) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.getDataSet(SqlMapAccountDaoTest.java:45) at org.dbunit.DatabaseTestCase.executeOperation(DatabaseTestCase.java:87) at org.dbunit.DatabaseTestCase.setUp(DatabaseTestCase.java:104) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.setUp(SqlMapAccountDaoTest.java:24) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208)
Re: RE: Modify the generated report site in Maven 2
try adding ${reports} to your site.xml: ?xml version=1.0 encoding=ISO-8859-1? project name=Maven bannerLeft nameMaven/name src http://maven.apache.org/images/apache-maven-project.png /src hrefhttp://maven.apache.org//href /bannerLeft bannerRight srchttp://maven.apache.org/images/maven-small.gif/src /bannerRight body links item name=Apache href=http://www.apache.org/; / item name=Maven 1.0 href=http://maven.apache.org/; / item name=Maven 2 href=http://maven.apache.org/maven2/; / /links menu name=Maven 2.0 item name=Introduction href=index.html / item name=Download href=download.html / item name=Release Notes href=release-notes.html / item name=General Information href=about.html / item name=For Maven 1.0 Users href=maven1.html / item name=Road Map href=roadmap.html / /menu menu name=testing item name=FAQtest href=faq.html / item name=FeaturesTest href=features.html / /menu ${reports} /body /project Per Bondesson (KA/EAB) [EMAIL PROTECTED] skrev 04.08.2006 13:44:17: This site.xml works fine, but when I don't use a site.xml a default site.xml is used and all the reports is shown on the site(really nice). Can I still have that and just add some links to it in the menu to the left? Thanks! ?xml version=1.0 encoding=ISO-8859-1? project name=Maven bannerLeft nameMaven/name src http://maven.apache.org/images/apache-maven-project.png /src hrefhttp://maven.apache.org//href /bannerLeft bannerRight srchttp://maven.apache.org/images/maven-small.gif/src /bannerRight body links item name=Apache href=http://www.apache.org/; / item name=Maven 1.0 href=http://maven.apache.org/; / item name=Maven 2 href=http://maven.apache.org/maven2/; / /links menu name=Maven 2.0 item name=Introduction href=index.html / item name=Download href=download.html / item name=Release Notes href=release-notes.html / item name=General Information href=about.html / item name=For Maven 1.0 Users href=maven1.html / item name=Road Map href=roadmap.html / /menu menu name=testing item name=FAQtest href=faq.html / item name=FeaturesTest href=features.html / /menu /body /project -Original Message- From: [EMAIL PROTECTED] [mailto:Fred. [EMAIL PROTECTED] Sent: den 4 augusti 2006 13:37 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 Can you send us your site.xml? -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 13:22 An: Maven Users List Betreff: RE: Modify the generated report site in Maven 2 Thank you. This works when you do the site from scratch. Can you append stuff like this from the default generated site with all the reports and all? -Original Message- From: [EMAIL PROTECTED] [mailto:Fred. [EMAIL PROTECTED] Sent: den 4 augusti 2006 11:22 To: users@maven.apache.org Subject: AW: Modify the generated report site in Maven 2 src/site/site.xml: body ... ... menu name=kdg_common item name=FAQ href=faq.html/ item name=Features href=features.html/ /menu -Ursprüngliche Nachricht- Von: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. August 2006 11:19 An: users@maven.apache.org Betreff: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter www.kabeldeutschland.de Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich
Re: [m2]Anyoen using maven-doccheck-plugin?
Hi Mick, On 4/12/06, Mick Knutson [EMAIL PROTECTED] wrote: I am trying to use this, and get this error: snip / The doccheck plugin currently only supports m1. I'm working on a m2 solution right now, so please stay tuned. :) I'm thinking we can piggy-back on the javadoc plugin, but there are still some issues [1] I need to resolve. Once I get it to work, I'll publish is on the website [2]. Thanks, [1] http://jira.codehaus.org/browse/MJAVADOC-81 [2] http://maven-doccheck.sourceforge.net/ Best regards, -- Shinobu -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: RE: Modify the generated report site in Maven 2
Works perfectly! Thansk a lot! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2]Anyoen using maven-doccheck-plugin?
Good day to you, Mick Knutson, If you're trying to check the documentation of a plugin, you might want to try maven-docck-plugin. - Franz -- View this message in context: http://www.nabble.com/-m2-Anyoen-using--maven-doccheck-plugin--tf1439893.html#a5649238 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: M2 J2EE Project Just Execute this folder and not the sub modules
Have you tried the maven CLI switch -N,--non-recursive ?? i.e. execute c:\.\rootproject\mvn -N install in your top level project. Regards Jorgen -- View this message in context: http://www.nabble.com/M2-J2EE-Project-Just-Execute-this-folder-and-not-the-sub-modules-tf2046719.html#a5649330 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cant send emails
Fixed w/ the dirty way (So for the record) I unzipped the continuum-core-1.0.3-maestro-1.0.1.jar file into ${maestro_home}\project-server\apps\continuum\webapp\templates and removed the .class files. It now works... Should i fill a Jira for velocity not finding the template in the classpath but only in the directories ? Raphaël 2006/8/4, Raphaël Piéroni [EMAIL PROTECTED]: Hello, I can't send emails because of a missing resource. Here is the version of continuum i use : jvm 1| 2006-08-04 11:49:08,094 [WrapperSimpleAppMain] INFO Continuum - Continuum 1.0.3-maestro-1.0.1 started! And here is the needed resource : jvm 1| 2006-08-04 11:50:23,153 [Thread-2] INFO Notifier:mail - No such template: '/org/apache/maven/continuum/notification/mail/templates/ant/BuildComplete.vm'. What have i to change to have the emails sent ? Thanks in advance for any help Raphaël
[m2] Need help: How to managing the version number in a multi-module project
Background: I have a typical multi-module project, with a parent pom and a handful of child poms inheriting from the parent. The parent pom contains the version, which is inherited to the child poms, which affect all generated child artifacts. So far so good. Problem: However, the parent pom is referred by version from each child pom, which causes a slight maintenance problem when it's time to change the version number. Parent POM groupIdggg/groupId artifactIdaaa/artifactId version1.0.3/version packagingpom/packaging Child POMs parent groupIdggg/groupId artifactIdaaa/artifactId version1.0.3/version /parent artifactIdccc/artifactId packagingjar/packaging I have to update the version number in the parent pom, as well as all references to the parent in each child pom. Clearly, this is clumsy. AFAIK the version number of the parent must be present in the child pom. Question: So, what are the best practices for this problem? Bi-condition: I'm working mostly off-line, so the release plug-in (using a SNAPSHOT version) is not appropriate in my case. Many thanks in advance for any tips, /Jens - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Oracle JDBC Dependency
Hi, i'm currently looking for the correct dependency (for my pom.xml) to the Oracle JDBC Driver 10.2.0.1.0 (ojdbc14-10.2.0.1.0.jar). I couldn't find it in the central repository (ibiblio). Do i have to install it manually? Or does anyone know if it is hosted somewhere else, and if so, tell me the correct dependency? regards R.C. -- View this message in context: http://www.nabble.com/Oracle-JDBC-Dependency-tf2050925.html#a5649463 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] DBunit test work in eclipse not with maven
From a quick look (and based on your observation), the xml file ends up in the wrong place. It is probably better to set the resourcedir in your profile to test/resources and add an includes directive to include the shared directory, instead of specifying the directory shared being the resources directory. So instead of : (this is in your default profile) build directorytarget/test/directory finalName${artifactId}-${version}-test/finalName resources resource directorysrc/main/resources/shared/directory excludes exclude**/_svn/**/exclude /excludes /resource try something like this : resource directorysrc/main/resources/directory includes includeshared/**/include /includes excludesblahdieblah/excludes /resource Mvgr, Martin devillina wrote: Hi i have a project with some Junit tests, when i run these in eclipse (clicking on them -- run as -- Junittest) thing work fine. No failed tests. When i run mvn test, all my DBunit tests fail (the junit tests that are not dbunit test work fine) i see the following error in my log: --- Test set: be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest --- Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.1 sec FAILURE! testGetAccountString(be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest) Time elapsed: 0.01 sec ERROR! org.dbunit.dataset.DataSetException: java.net.MalformedURLException at org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:169) at org.dbunit.dataset.CachedDataSet.init(CachedDataSet.java:71) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:200) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:187) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.getDataSet(SqlMapAccountDaoTest.java:45) at org.dbunit.DatabaseTestCase.executeOperation(DatabaseTestCase.java:87) at org.dbunit.DatabaseTestCase.setUp(DatabaseTestCase.java:104) at be.delaware.samples.jpetstore.source.dao.ibatis.SqlMapAccountDaoTest.setUp(SqlMapAccountDaoTest.java:24) at junit.framework.TestCase.runBare(TestCase.java:125) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122) at org.apache.maven.surefire.Surefire.run(Surefire.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) java.net.MalformedURLException at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at java.net.URL.init(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:796) at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager.java:741) at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScannerImpl.java:260) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:498) at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169) at org.dbunit.dataset.xml.FlatXmlProducer.produce(FlatXmlProducer.java:145) at org.dbunit.dataset.CachedDataSet.init(CachedDataSet.java:71) at org.dbunit.dataset.xml.FlatXmlDataSet.init(FlatXmlDataSet.java:200) at
Re: [m2] Need help: How to managing the version number in a multi-module
Hi Jens I'm not aware of what is considered best pratice on this matter. However we are using the M2 Release plugin to handle your maintenance problem. Eache single project included in our multiproject structure uses the version1.0-SNAPSHOT/version tag. Once we cut a new release for the multiproject we execute the M2 Release plugin. The plugin - among other things - assigns a new identical version tag to each POM located in the multiproject structure and thus the version integrity of the entire multiproject is preserved. Regards Jorgen Regards Jorgen -- View this message in context: http://www.nabble.com/-m2--Need-help%3A-How-to-managing-the-version-number-in-a-multi-module-project-tf2050906.html#a5649632 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Oracle JDBC Dependency
On 8/4/06, CodingPlayer [EMAIL PROTECTED] wrote: Hi, i'm currently looking for the correct dependency (for my pom.xml) to the Oracle JDBC Driver 10.2.0.1.0 (ojdbc14-10.2.0.1.0.jar). I couldn't find it in the central repository (ibiblio). Do i have to install it manually? Yes, due to Oracle licensing you need to install it manually. Or does anyone know if it is hosted somewhere else, and if so, tell me the correct dependency? No, you need to download if from oracle (or find in your oracle installation) and add to your local repository. It will be good to have poms for oracle jars on ibiblio (so artifact/group ids will be defined), I think it's just waiting for volunteer... Regards, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Need help: How to managing the version number in a multi-module
However we are using the M2 Release plugin to handle your maintenance problem. AFAIK this plugin requires me to be online (access to SVN repo). In my case I'm mostly on the move working off-line. Regards, /Jens -Original Message- From: Jorgen Fastrup [mailto:[EMAIL PROTECTED] Sent: 04 August 2006 14:47 To: users@maven.apache.org Subject: Re: [m2] Need help: How to managing the version number in a multi-module Hi Jens I'm not aware of what is considered best pratice on this matter. However we are using the M2 Release plugin to handle your maintenance problem. Eache single project included in our multiproject structure uses the version1.0-SNAPSHOT/version tag. Once we cut a new release for the multiproject we execute the M2 Release plugin. The plugin - among other things - assigns a new identical version tag to each POM located in the multiproject structure and thus the version integrity of the entire multiproject is preserved. Regards Jorgen Regards Jorgen -- View this message in context: http://www.nabble.com/-m2--Need-help%3A-How-to-managing-the-version-numb er-in-a-multi-module-project-tf2050906.html#a5649632 Sent from the Maven - Users forum 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: Status of maven-changes-plugin
Hi! I have the same problem. What repository can I find it in? Or perhaps plugins in the sandbox aren't built and available in a repostiory? Either way, I can get the source code since the svn link is broken. Regards, Jimisola plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId reportSets reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin pluginRepositories ... pluginRepository idCodehaus Maven Snapshots/id urlhttp://snapshots.maven.codehaus.org/maven2//url snapshots enabledtrue/enabled /snapshots releases enabledfalse/enabled /releases /pluginRepository ... /pluginRepositories -- View this message in context: http://www.nabble.com/Status-of-maven-changes-plugin-tf1776677.html#a5649822 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Cant send emails
that was a bug in that release of maestro, I'll contact you directly with the file that you can drop in place overtop the continuum plexus application that fixes it.. there is another thread on here detailing the how and the why :) jesse On 8/4/06, Raphaël Piéroni [EMAIL PROTECTED] wrote: Fixed w/ the dirty way (So for the record) I unzipped the continuum-core-1.0.3-maestro-1.0.1.jar file into ${maestro_home}\project-server\apps\continuum\webapp\templates and removed the .class files. It now works... Should i fill a Jira for velocity not finding the template in the classpath but only in the directories ? Raphaël 2006/8/4, Raphaël Piéroni [EMAIL PROTECTED]: Hello, I can't send emails because of a missing resource. Here is the version of continuum i use : jvm 1| 2006-08-04 11:49:08,094 [WrapperSimpleAppMain] INFO Continuum - Continuum 1.0.3-maestro-1.0.1 started! And here is the needed resource : jvm 1| 2006-08-04 11:50:23,153 [Thread-2] INFO Notifier:mail - No such template: '/org/apache/maven/continuum/notification/mail/templates/ant/BuildComplete.vm'. What have i to change to have the emails sent ? Thanks in advance for any help Raphaël -- jesse mcconnell [EMAIL PROTECTED]
Re: Continuum starts but no webconsole available
that would be my guess or make sure that there aren't any exceptions in the startup complaining about another service running on that port On 8/3/06, Steve Coy [EMAIL PROTECTED] wrote: A local firewall perhaps? -Original Message- From: Vinicius Carvalho [mailto:[EMAIL PROTECTED] Sent: Fri 8/4/2006 7:34 AM To: continuum-users@maven.apache.org Subject: Continuum starts but no webconsole available Hello there! I've downloaded continuum 1.0.3. And I execute the run.sh, it displays: Starting continuum... But when I hit: http://localhost:8080/continuum It does not display anything. a run.sh status says that it is running. What could be the problem? Regards -- jesse mcconnell [EMAIL PROTECTED]
Re: [m2] DBunit test work in eclipse not with maven
i applied the structure you suggested to my testresources and that worked excellent ! thx a million! -- View this message in context: http://www.nabble.com/-m2--DBunit-test-work-in-eclipse-not-with-maven-tf2050767.html#a5650018 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[CVS error]
Dear SCM users, I am really new to the maven communauty, so I hope that my questions will not embarrassed you. I have some difficuties using maven /scm plugin for cvs and contiuum. At this end of this document i give you en extract of my pom.xml I have two questions: one about checkout and one about checkin Thansk for your help Francois * checkout procedure I have used eclipse and add with eclipse my maven project to cvs. Then I have tried a checkout with mvn scm:checkout it seems to work, it checkout codes to the target directory. Is it normal ? If I am a developper it should not better write upon my project ? What is the normal way to work in a maven project witrh scm. With eclipse I do before, a commit checkout, then a commit and sometimes update. * checkin procedure When i do mvn scm:chekin -Dmessage=test I got an error . Is it because i do a checkout in target directory ??? bash-3.00$ mvn scm:checkin -Dmessage=test [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [scm:checkin] [INFO] [INFO] [scm:checkin] [INFO] Executing: cvs -z3 -f -d :ext:[EMAIL PROTECTED]:/cvsroot/projects -q commit -R -F /tmp/scm-commit-message62090.txt [INFO] Working directory: /home/flefevre/workspace2/maven-doc [ERROR] Provider message: [ERROR] The cvs command failed. [ERROR] Command output: [ERROR] cvs commit: in directory target: cvs [commit aborted]: there is no version here; do 'cvs checkout' first [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Command failed.The cvs command failed. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Fri Aug 04 15:08:24 CEST 2006 [INFO] Final Memory: 4M/8M [INFO] *** * continuum I have installed continuum and upload my pom.xml But each time it tryed to make a build I got an error message What do I have to change in my pom.xml ?? * Provider message: The cvs command failed. Command output: --- mars: Connection refused cvs [checkout aborted]: end of file from server (consult above messages if any) --- *** here an extract of my pom.xml !-- The source code management repository -- scm connection scm:cvs:ext:[EMAIL PROTECTED]:/cvsroot/projects:maven-doc /connection developerConnection scm:cvs:ext:[EMAIL PROTECTED]:/cvsroot/projects:maven-doc /developerConnection /scm !-- Continuous integration -- ciManagement systemcontinuum /system urlhttp://mars.pc.local:8090/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration /notifier /notifiers /ciManagement * Thansk for your help Francois, from France -- Francois Le Fevre Bioinformatics Engineer Computational Biology Group Genoscope Tél. : (+33) 1 60 87 45 83 Web : http://www.genoscope.cns.fr/bioinfo
Getting the dependencies for a plugin
Hi, How can I get the dependencies for a plugin, from a plugin (in code) ? Thanks in advance, Rohnny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of maven-changes-plugin
On 8/4/06, Jimisola Laursen [EMAIL PROTECTED] wrote: Either way, I can get the source code since the svn link is broken. The plugin was moved from the sandbox to http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changes-plugin/ -- My wife Mary and I have been married for forty-seven years and not once have we had an argument serious enough to consider divorce; murder, yes, but divorce, never. (Jack Benny) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Status of maven-changes-plugin
Thank you. I assume then that it doesn't exist in a public repository yet. Regards, Jimisola -- View this message in context: http://www.nabble.com/Status-of-maven-changes-plugin-tf1776677.html#a5650648 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Multiple Module Project + Eclipse + subversion
Hi, (Using Maven 2.0.4) I'm trying to figure out how to use a (Maven) multi module project in Eclipse where Subversion is the SCM. Following the Guide to using Eclipse with Maven 2.x somehow doesn't do it for me. Things I don't understand: + why should I remove .project, .classpath ? + given the fact that I have indeed thrown about .project, .classpath from the modules and have checked this in into subversion, how comes that when I start a completely new workspace and import the modules I end up with resources not being 'connected' anymore to subversion? + I've read somewhere that flattening the project layout, doesn't work due to issues with the Maven release plugin. From JIRA it seems this is still the case. Anyone now whether there are any workarounds for this and if their are other issues in flattening the layout? Thanks. Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Modify the generated report site in Maven 2
Create a site.xml file under module/src/site similar to this and add your item entry in the menu element... ?xml version=1.0 encoding=ISO-8859-1? project name=Maven bannerLeft nameMaven/name srchttp://maven.apache.org/images/apache-maven-project.png/src hrefhttp://maven.apache.org//href /bannerLeft bannerRight srchttp://maven.apache.org/images/maven-small.gif/src /bannerRight body links item name=Apache href=http://www.apache.org/; / item name=Maven 1.0 href=http://maven.apache.org// item name=Maven 2 href=http://maven.apache.org/maven2// /links menu name=Maven 2.0 item name=Introduction href=index.html/ item name=Download href=download.html/ item name=Release Notes href=release-notes.html / item name=General Information href=about.html/ item name=For Maven 1.0 Users href=maven1.html/ item name=Road Map href=roadmap.html / /menu ${reports} ... /body /project See http://maven.apache.org/guides/getting-started/index.html -Original Message- From: Per Bondesson (KA/EAB) [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 4:19 AM To: users@maven.apache.org Subject: Modify the generated report site in Maven 2 Hi! How can you add a link in the left menu och the generated report site? Is it possible to modify it for your own needs? Thanks! /Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
the plugin artifact has changed
Hi all, I'm getting a lot of these messages during my builds: [INFO] Reloading plugin container for: org.apache.maven.plugins:maven-clean-plug in. The plugin artifact has changed. I get these for all kinds of plugins, right after the project starts building. In a multi-module project, they repeat after each bundle. I'm also experiencing frequent out-of-memory errors in a build which never suffered from these before. I suspect this could be a related problem. Any ideas what's causing this ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What is wrong with this code?
Hi, If I execute the code below I get following error: Exception in thread main org.apache.maven.scm.manager.NoSuchScmProviderException: No such provider: 'svn'. at org.apache.maven.scm.manager.AbstractScmManager.getProviderByType(AbstractSc mManager.java:116) at org.apache.maven.scm.manager.AbstractScmManager.makeScmRepository(AbstractSc mManager.java:144) at src.Test.main(Test.java:18) [WARNING] No SCM providers configured. I use maven-2.0.4 and compiled maven-scm from trunk. import org.apache.maven.scm.manager.ScmManager; import org.apache.maven.scm.repository.ScmRepository; import org.codehaus.plexus.embed.Embedder; public class Test { public static void main(String[] args) throws Exception { Embedder plexus = new Embedder(); plexus.start(); ScmManager scmManager = (ScmManager) plexus.lookup( ScmManager.ROLE ); String url = scm:svn:svn://localhost/test; scmManager.validateScmRepository(url); ScmRepository repository = scmManager.makeScmRepository(url); repository.getProviderRepository().setUser(x); repository.getProviderRepository().setPassword(y); scmManager.getProviderByRepository(repository); } } Zsolt
Re: RE: Weblogic plugin?
Thanks Scott, If it were my choice I'd use xfire and jsr 181 too. But I'm not the one writing the webservice. I'm trying to get my team to try Maven for an isolated part of our project, but the person wirting the webservice is using WL tools so it might block my effort. I'll look into writing it up in Jira. ,chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: RE: Weblogic plugin?
Scott, btw: I noticed the fisheye link to the source didn't work. http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/weblogic-maven-plugin ,chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Corporate Environment Problems
I have just began to use maven 2. I have ran into a problem whilst attempting to setup my first project. It appears that because I am behind a proxy maven cannot gain access to the archetype plugin. I need to establish some form of local repository of plugins. Could somebody please tell me how I could go about setting up such a repository manually (i.e what directory structure will be required) and what changes I'll need to make to settings.xml. Thanks Adam Flynn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Need help: How to managing the version number in a multi-module
Why don't you create a local mirror of the repository? -Original Message- From: Jens Riboe [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 7:55 AM To: Maven Users List Subject: RE: [m2] Need help: How to managing the version number in a multi-module However we are using the M2 Release plugin to handle your maintenance problem. AFAIK this plugin requires me to be online (access to SVN repo). In my case I'm mostly on the move working off-line. Regards, /Jens -Original Message- From: Jorgen Fastrup [mailto:[EMAIL PROTECTED] Sent: 04 August 2006 14:47 To: users@maven.apache.org Subject: Re: [m2] Need help: How to managing the version number in a multi-module Hi Jens I'm not aware of what is considered best pratice on this matter. However we are using the M2 Release plugin to handle your maintenance problem. Eache single project included in our multiproject structure uses the version1.0-SNAPSHOT/version tag. Once we cut a new release for the multiproject we execute the M2 Release plugin. The plugin - among other things - assigns a new identical version tag to each POM located in the multiproject structure and thus the version integrity of the entire multiproject is preserved. Regards Jorgen Regards Jorgen -- View this message in context: http://www.nabble.com/-m2--Need-help%3A-How-to-managing-the-version-numb er-in-a-multi-module-project-tf2050906.html#a5649632 Sent from the Maven - Users forum 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]
Multiple Module Project + Eclipse + subversion
I'm ready to give up on this ... after numerous tries. It seems to me the documentation as stated in the guide is wrong. The -import existing projects- 'breaks' the connection the sources initially have with subversion. So as it says in the guide: The result is equals to checking out the whole project from the command line, running mvn eclipse:eclipse and finally importing the projects into your eclipse workspace. In both cases you will be able to synchronize your changes using eclipse. Simply is not true! Can somebody confirm this, Thanks, Jan. Hi, (Using Maven 2.0.4) I'm trying to figure out how to use a (Maven) multi module project in Eclipse where Subversion is the SCM. Following the Guide to using Eclipse with Maven 2.x somehow doesn't do it for me. Things I don't understand: + why should I remove .project, .classpath ? + given the fact that I have indeed thrown about .project, .classpath from the modules and have checked this in into subversion, how comes that when I start a completely new workspace and import the modules I end up with resources not being 'connected' anymore to subversion? + I've read somewhere that flattening the project layout, doesn't work due to issues with the Maven release plugin. From JIRA it seems this is still the case. Anyone now whether there are any workarounds for this and if their are other issues in flattening the layout? Thanks. Jan - 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]
Assembly
Is anybody aware of any working examples of assembly in practice? The docs make sense but I'd like to see an example of using it in an actual project. Specifically, 1) What is the best way to kick it off? I was thinking perhaps this is a pre-goal for package? 2) How can I make the output of the assembly plugin be the actual artifact for the module? As far as I understand, running assembly during a build would generate the assembly but then the package phase would then create whatever package type was defined. i.e. you'd end up with a jar that contains your assembly. __ Douglas W. Ferguson EPSIIA - Another Fiserv Connection Development Office Phone: 512-329-0081 ext. 3309 Dial Toll Free: 800-415-5946 Mobile Phone: 512-293-7279 Fax: 512-329-0086 [EMAIL PROTECTED] www.epsiia.com http://www.epsiia.com/ __
Re: Assembly
On 8/4/06, Douglas Ferguson [EMAIL PROTECTED] wrote: Is anybody aware of any working examples of assembly in practice? The docs make sense but I'd like to see an example of using it in an actual project. Both Struts and Shale have working assemblies, but we're not using the latest released version. I haven't managed to get modules in the assembly descriptor to do what I want. http://svn.apache.org/repos/asf/shale/framework/trunk/shale-dist/ http://svn.apache.org/repos/asf/struts/struts2/trunk/assembly/ 1) What is the best way to kick it off? I was thinking perhaps this is a pre-goal for package? Separately, after you build the project. If you're trying to make the assembly part of a single build of all the modules + the assembly, read this first: http://www.nabble.com/Re%3A-building-assemblies-from-the-top-level-project-directory-p4735063.html 2) How can I make the output of the assembly plugin be the actual artifact for the module? As far as I understand, running assembly during a build would generate the assembly but then the package phase would then create whatever package type was defined. i.e. you'd end up with a jar that contains your assembly. What are you trying to accomplish? Getting a .zip file installed/deployed to a repository? -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re: Re: RE: Weblogic plugin?
Darn, svn checkout failed too. svn checkout svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/weblogic-maven-plugin weblogic-maven-plugin got subversion/libsvn_client/checkout.c:90: (apr_err=17) svn: URL 'svn://svn.codehaus.org/mojo/scm/trunk/mojo/mojo-sandbox/weblogic-maven-plugin' doesn't exist - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Assembly
I have a strange project here. Basically they are building custom for each client. The build pulls custom jsp files custom configuration into a war file with the context name based on the the client context name. What I want to do is move the custom stuff out of the main build and into separate project. Then the app itself will get built using normal maven. The client stuff can get merged in using assembly. I would actually like to figure out how to merge the client specific stuff into the the platform war to generate a composite war. Then I'd like to take that war and include some of the external config files and sql files into a zip file. I'd like this zip file to be the output for the client specific module. This is what would get released to the Web Hosting team. D- 1) What is the best way to kick it off? I was thinking perhaps this is a pre-goal for package? Separately, after you build the project. If you're trying to make the assembly part of a single build of all the modules + the assembly, read this first: http://www.nabble.com/Re%3A-building-assemblies-from-the-top-level-project-d irectory-p4735063.html 2) How can I make the output of the assembly plugin be the actual artifact for the module? As far as I understand, running assembly during a build would generate the assembly but then the package phase would then create whatever package type was defined. i.e. you'd end up with a jar that contains your assembly. What are you trying to accomplish? Getting a .zip file installed/deployed to a repository? -- Wendy - 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: Assembly
On Aug 4, 2006, at 11:48 AM, Douglas Ferguson wrote: I have a strange project here. Basically they are building custom for each client. The build pulls custom jsp files custom configuration into a war file with the context name based on the the client context name. What I want to do is move the custom stuff out of the main build and into separate project. Then the app itself will get built using normal maven. The client stuff can get merged in using assembly. I would actually like to figure out how to merge the client specific stuff into the the platform war to generate a composite war. Then I'd like to take that war and include some of the external config files and sql files into a zip file. I'd like this zip file to be the output for the client specific module. This is what would get released to the Web Hosting team. I haven't played with this nearly as much as others here. But I'm pretty sure that if you create a war packaged project with typewar/ type dependencies, it will 'merge' in someway the dependencies with the code that is in the current project. Hope that helps, Matt ___ Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984 The OpenNMS Group, Inc. Fax:+1 503 961 7746 Email: [EMAIL PROTECTED]URL: http://www.opennms.com
RE: Assembly
Yeah, I was thinking that part would be easy. I am about to test it local here in a few moments. It's the assembly part. The client specific files that need to reside outside the war that's got be stumped. I want to be able to restrict certain files (release notes, sql files, external configs) from going into the war. Then I want to put those files and the war into a zip file and have that be my artifact. D- -Original Message- From: Matt Brozowski [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 11:05 AM To: Maven Users List Subject: Re: Assembly On Aug 4, 2006, at 11:48 AM, Douglas Ferguson wrote: I have a strange project here. Basically they are building custom for each client. The build pulls custom jsp files custom configuration into a war file with the context name based on the the client context name. What I want to do is move the custom stuff out of the main build and into separate project. Then the app itself will get built using normal maven. The client stuff can get merged in using assembly. I would actually like to figure out how to merge the client specific stuff into the the platform war to generate a composite war. Then I'd like to take that war and include some of the external config files and sql files into a zip file. I'd like this zip file to be the output for the client specific module. This is what would get released to the Web Hosting team. I haven't played with this nearly as much as others here. But I'm pretty sure that if you create a war packaged project with typewar/ type dependencies, it will 'merge' in someway the dependencies with the code that is in the current project. Hope that helps, Matt ___ Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984 The OpenNMS Group, Inc. Fax:+1 503 961 7746 Email: [EMAIL PROTECTED]URL: http://www.opennms.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuring Continuum to authenticate with SCM
I have the same problem. However I figured out my issue for now (see below). Meanwhile might I suggest you take a look in apps/continuum/logs/continuum.log and check for the specific nature of the error and post it here. It might reveal the core problem. I had the same problem when omitting the username password: When I try to add a maven 2 project with https://host/svn//pom.xml I get The URL you provided doesn't exist with this in the logs: java.io.IOException: Server returned HTTP response code: 401 for URL: https://svn.shopzilla.com/svn/ConsumerAcquisition/dev/bidding/trunk/keywordcost/pom.xml When I tried https://username:[EMAIL PROTECTED]/svn//pom.xml I get The URL you provided doesn't exist But it turns out my password has an @ in it, which confuses the URL parser. This was made clear by examining the log file. I'm going to work on setting up a user with a simpler password. Meanwhile, is there any other sane way of specifying the username/password for an https url for adding the project? Or is there another mechanism for locating the pom.xml (which is a multi-module project)? Thanks, Tim -- View this message in context: http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653237 Sent from the Continuum - Users forum at Nabble.com.
Re: Corporate Environment Problems
Flynn, Adam wrote: It appears that because I am behind a proxy maven cannot gain access to the archetype plugin. Have you tried this: http://maven.apache.org/guides/mini/guide-proxies.html - Guenther - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating archetype for multi-module project
Adam, Thanks for the answer... I tried this solution, but in this case, the packages/directories are always the sames, fixed to org/myorganization/component/sayhello in the sample, and not change according to the new project name. Or I would like that this package/directory change according to the groupId given in the archetype command line. I think it is the difference between the archetype/resources/resource tag and the archetype/sources/source tag in the archetype.xml , isn't it ? 2006/8/4, Adam Leggett [EMAIL PROTECTED]: Olivier, From my understanding, I believe in a multi-module archetype, all elements(sources/resources etc) need to be listed as a resource in your archetype.xml file. See the myfaces jsfcomponent as an example here: http://svn.apache.org/viewvc/myfaces/maven/trunk/maven-archetype-jsfcomp onents/src/main/resources/META-INF/archetype.xml?view=markup Adam -Original Message- From: Olivier Catteau [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 1:57 PM To: Maven Users List Subject: Creating archetype for multi-module project Hi, I'd like to create my own archetype for multi-module projects. I took and customized the maven-archetype-j2ee-simple archetype at first. I've got a problem when I try to add a java class file in one of the existing modules of my personnal. I added the file App.java in the following directory maven-archetype-j2ee-simple\src\main\resources\archetype-resources\proje cts\logging\src\main\java\. And I modified archetype.xml like that : archetype idj2ee/id sources sourceprojects/logging/src/main/java/App.java/source !-- *** THE LINE I ADDED *** -- /sources resources ... resourceprojects/logging/pom.xml/resource resourceprojects/logging/src/main/java/App.java/resource ... /resources /archetype When I try to use my archetype, I've got this error : Embedded error: Template 'projects/logging/src/main/java/App.java' not in directory 'src/main/java' How to solve this problem ? Thanks. Olivier === The contents of this email are intended for the named addresses and may contain confidential and/or privileged material. If received in error, please contact UPCO head office on +44(0)113 201 0600 and then delete the entire mail from your system. Unauthorised review, distribution, disclosure or other use of information could constitute a breach of confidence. Your co-operation in this matter is greatly appreciated. Every effort has been taken to ensure that this email and any attachments are virus-free. However, UPCO does not make any warranty to this effect, and is not liable for any damage done by an infected email message or attachment. UPCO recommends that all emails and attachments are checked before opening. All views or opinions expressed in this electronic message and its attachements are those of the sender and do not necessarily reflect the views and opinions of The Ultimate People Company Ltd. === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Getting the dependencies for a plugin
Have a look at the mail I posted on Fri, 04 Aug, 04:24 with title [m2] runtime classpath/transitive dependencies from an artifact resolved from repository -Original Message- From: Rohnny Moland [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 4:46 AM To: Maven Users List Subject: Getting the dependencies for a plugin Hi, How can I get the dependencies for a plugin, from a plugin (in code) ? Thanks in advance, Rohnny - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Scanned on 04 Aug 2006 13:19:14 Scanned by Erado - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Creating archetype for multi-module project
On 8/4/06, Adam Leggett [EMAIL PROTECTED] wrote: From my understanding, I believe in a multi-module archetype, all elements(sources/resources etc) need to be listed as a resource in your archetype.xml file. Yes, and unless I'm doing it wrong, it seems like you then lose the ability to put the module source into a specified package. :( I need it to generate a parent pom containing modules, and then create those modules with the source in the proper package, etc. I'd like to hear what Jason has in mind for Maven Archetype (including the plugin). -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configuring Continuum to authenticate with SCM
last I looked (6-8 months ago) it will take come changes not just in continuum but in the scm code and down into plexus-formica as well... some api changing/adding mostly. it will get sorted out anyone interested in tackling it I can point you in what I think is the right direction jesse On 8/4/06, Tim Morrow 2 [EMAIL PROTECTED] wrote: I have the same problem. However I figured out my issue for now (see below). Meanwhile might I suggest you take a look in apps/continuum/logs/continuum.log and check for the specific nature of the error and post it here. It might reveal the core problem. I had the same problem when omitting the username password: When I try to add a maven 2 project with https://host/svn//pom.xml I get The URL you provided doesn't exist with this in the logs: java.io.IOException: Server returned HTTP response code: 401 for URL: https://svn.shopzilla.com/svn/ConsumerAcquisition/dev/bidding/trunk/keywordcost/pom.xml When I tried https://username:[EMAIL PROTECTED]/svn//pom.xml I get The URL you provided doesn't exist But it turns out my password has an @ in it, which confuses the URL parser. This was made clear by examining the log file. I'm going to work on setting up a user with a simpler password. Meanwhile, is there any other sane way of specifying the username/password for an https url for adding the project? Or is there another mechanism for locating the pom.xml (which is a multi-module project)? Thanks, Tim -- View this message in context: http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653237 Sent from the Continuum - Users forum at Nabble.com. -- jesse mcconnell [EMAIL PROTECTED]
Simian Report Plugin for Maven 2.x
Hi! Is there a working Simian Report Plugin for Maven 2.x? Been looking around and have a had time determining if there should be one or not. E.g. version 1.5 and 1.6 doesn't contain a jar file under http://www.ibiblio.org/maven2/maven/maven-simian-plugin/ There is no url to the project site in either 1.3 or 1.4. Regards, Jimisola -- View this message in context: http://www.nabble.com/Simian-Report-Plugin-for-Maven-2.x-tf2052110.html#a5653414 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple Module Project + Eclipse + subversion
I stand corrected. The thing I missed was to 're-establish' the connection with subversion. I'm ready to give up on this ... after numerous tries. It seems to me the documentation as stated in the guide is wrong. The -import existing projects- 'breaks' the connection the sources initially have with subversion. So as it says in the guide: The result is equals to checking out the whole project from the command line, running mvn eclipse:eclipse and finally importing the projects into your eclipse workspace. In both cases you will be able to synchronize your changes using eclipse. Simply is not true! Can somebody confirm this, Thanks, Jan. Hi, (Using Maven 2.0.4) I'm trying to figure out how to use a (Maven) multi module project in Eclipse where Subversion is the SCM. Following the Guide to using Eclipse with Maven 2.x somehow doesn't do it for me. Things I don't understand: + why should I remove .project, .classpath ? + given the fact that I have indeed thrown about .project, .classpath from the modules and have checked this in into subversion, how comes that when I start a completely new workspace and import the modules I end up with resources not being 'connected' anymore to subversion? + I've read somewhere that flattening the project layout, doesn't work due to issues with the Maven release plugin. From JIRA it seems this is still the case. Anyone now whether there are any workarounds for this and if their are other issues in flattening the layout? Thanks. Jan - 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: Configuring Continuum to authenticate with SCM
Would one approach be to support the Maven scm: style URLs which seem to delegate to the underlying SCM implementation to ensure authentication (and certificate acceptance) have been performed? Not that I'm volunteering... (yet). Thanks for the response, Tim -- View this message in context: http://www.nabble.com/Configuring-Continuum-to-authenticate-with-SCM-tf2005777.html#a5653518 Sent from the Continuum - Users forum at Nabble.com.
RE: Assembly
Is there a way to release an assembly? -Original Message- From: Douglas Ferguson [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 11:14 AM To: 'Maven Users List' Subject: RE: Assembly Yeah, I was thinking that part would be easy. I am about to test it local here in a few moments. It's the assembly part. The client specific files that need to reside outside the war that's got be stumped. I want to be able to restrict certain files (release notes, sql files, external configs) from going into the war. Then I want to put those files and the war into a zip file and have that be my artifact. D- -Original Message- From: Matt Brozowski [mailto:[EMAIL PROTECTED] Sent: Friday, August 04, 2006 11:05 AM To: Maven Users List Subject: Re: Assembly On Aug 4, 2006, at 11:48 AM, Douglas Ferguson wrote: I have a strange project here. Basically they are building custom for each client. The build pulls custom jsp files custom configuration into a war file with the context name based on the the client context name. What I want to do is move the custom stuff out of the main build and into separate project. Then the app itself will get built using normal maven. The client stuff can get merged in using assembly. I would actually like to figure out how to merge the client specific stuff into the the platform war to generate a composite war. Then I'd like to take that war and include some of the external config files and sql files into a zip file. I'd like this zip file to be the output for the client specific module. This is what would get released to the Web Hosting team. I haven't played with this nearly as much as others here. But I'm pretty sure that if you create a war packaged project with typewar/ type dependencies, it will 'merge' in someway the dependencies with the code that is in the current project. Hope that helps, Matt ___ Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984 The OpenNMS Group, Inc. Fax:+1 503 961 7746 Email: [EMAIL PROTECTED]URL: http://www.opennms.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: Simian Report Plugin for Maven 2.x
Hi! I don't know for Simian Report Plugin but if you just want a report for duplication code you have the PMD's CPD Report via PMD Report Plugin. Rémy 2006/8/4, Jimisola Laursen [EMAIL PROTECTED]: Hi! Is there a working Simian Report Plugin for Maven 2.x? Been looking around and have a had time determining if there should be one or not. E.g. version 1.5 and 1.6 doesn't contain a jar file under http://www.ibiblio.org/maven2/maven/maven-simian-plugin/ There is no url to the project site in either 1.3 or 1.4. Regards, Jimisola -- View this message in context: http://www.nabble.com/Simian-Report-Plugin-for-Maven-2.x-tf2052110.html#a5653414 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Simian Report Plugin for Maven 2.x
Ok. We currently have to many errors/failures to run PMD out-of-the-box, but it coming.. :) Thanks Jimisola -- View this message in context: http://www.nabble.com/Simian-Report-Plugin-for-Maven-2.x-tf2052110.html#a5654030 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Corporate Environment Problems
Hi, you can look at here: http://proximity.abstracthorizon.org/ Here you will find some examples for settings.xml and creating environment. ~t~ On 8/4/06, Flynn, Adam [EMAIL PROTECTED] wrote: I have just began to use maven 2. I have ran into a problem whilst attempting to setup my first project. It appears that because I am behind a proxy maven cannot gain access to the archetype plugin. I need to establish some form of local repository of plugins. Could somebody please tell me how I could go about setting up such a repository manually (i.e what directory structure will be required) and what changes I'll need to make to settings.xml. Thanks Adam Flynn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Corporate Environment Problems
+1 - we used this ourselves, and it's made maven2 significantly smoother for us. -joe -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tamás Cservenák Sent: Friday, August 04, 2006 10:10 AM To: Maven Users List Subject: Re: Corporate Environment Problems Hi, you can look at here: http://proximity.abstracthorizon.org/ Here you will find some examples for settings.xml and creating environment. ~t~ On 8/4/06, Flynn, Adam [EMAIL PROTECTED] wrote: I have just began to use maven 2. I have ran into a problem whilst attempting to setup my first project. It appears that because I am behind a proxy maven cannot gain access to the archetype plugin. I need to establish some form of local repository of plugins. Could somebody please tell me how I could go about setting up such a repository manually (i.e what directory structure will be required) and what changes I'll need to make to settings.xml. Thanks Adam Flynn - 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: Corporate Environment Problems
it easy ,the maven2.0 have different structure than maven1.0 so if u want to make internal repository then use ftp server and in setting .xml write the url of your local repository like urlftp://yourserverdomain:portno/ and in your repository section of pom.xml write about ur ftp server to set up ur repository manually download the jar manually and then put in the hirarchy as specify in apache sit like artifactid then groupid then version then your jar ,if u want to look the eg then see in${home}/.maven hobe this abstract will help u On 8/4/06, Flynn, Adam [EMAIL PROTECTED] wrote: I have just began to use maven 2. I have ran into a problem whilst attempting to setup my first project. It appears that because I am behind a proxy maven cannot gain access to the archetype plugin. I need to establish some form of local repository of plugins. Could somebody please tell me how I could go about setting up such a repository manually (i.e what directory structure will be required) and what changes I'll need to make to settings.xml. Thanks Adam Flynn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SV: Packaged webapp
Just curious how you ended up dealing with this issue. -- View this message in context: http://www.nabble.com/Packaged-webapp-tf2012675.html#a5655794 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Packaged webapp
Sorry about the previous post. My First Nabble reply... Just curious how Kevin solved this. Kevin Menard-2 wrote: Hi all, I have a Web app project that builds to a WAR just fine. What I'd like to do is also package it with a Tomcat bundle. This way, I can provide a single ZIP with everything necessary to run the Web app. Does anyone have any experience doing this with maven? Any pointers for me? Thanks, Kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Packaged-webapp-tf2012675.html#a5656003 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Finding dependency location
Is there an analog in M2 to finding the filesystem location of a dependency such as M1's ${pom.getDependencyPath('groupId:artifactId')}? Currently migrating M1-M2, and we have several components unit-tests that need to find a native library dependency's location that is defined as a system property. In M1 we could just find it this way, but now I don't see an easy way short of writing a small plugin to define the variable, which seems silly. Within the component that builds them, I can easily define them as sysProps in surefire as I know their build locations. But later, they are used as dependencies, and this information is not readily available. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Simian Report Plugin for Maven 2.x
Hi, I used the following configuration successfully on our project: plugin groupIdorg.codehaus.mojo/groupId artifactIdsimian-report-maven-plugin/artifactId /plugin HTH, Andreas Jimisola Laursen schrieb: Hi! Is there a working Simian Report Plugin for Maven 2.x? Been looking around and have a had time determining if there should be one or not. E.g. version 1.5 and 1.6 doesn't contain a jar file under http://www.ibiblio.org/maven2/maven/maven-simian-plugin/ There is no url to the project site in either 1.3 or 1.4. Regards, Jimisola - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Maven-changes-plugin] Current State?
Alex Schwartz wrote: Hello I'm an experienced user of maven1 -- and I just started to migrate my own projects to maven2. Hi Alex, For future reference, please do not send mail directly to the individual developers. The problem with asking it in private, is that you are not doing the community a favor with your question. Every question and answer is interesting for the community and posting your questions on the appropriate list (in this case maven-users) also prevents people from asking the same question again. It also is possible that the person you have chosen to mail doesn't have the time to answer your question (or doesn't know the answer) and with sending the question to the list other people can answer your question. I have some questions about the current state of the maven-changes-plugin: (1) Where is the current site? I found a site under http://maven.apache.org/plugins/maven-changes-plugin/ I this the current one? Yes (2) Where are the current sources? The site states that the sources are located under http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/ but I cannot find them. The plugin was moved from the sandbox last weekend. The site had not been updated to reflect this. I have redeployed the site now with the correct URL to the sources. It should be available within a couple of hours, when the site is synced. (3) How to use it? The site suggests to use it as follows: project ... reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changes-plugin/artifactId reportSets reportSet reports reportchanges-report/report /reports /reportSet /reportSets /plugin /plugins /reporting ... /project This did not worked for me, since the plugin was not found. (4) Are there releases of this plugin? Or snapshots? I only found the maven 1.x versions of the plugin. There has not been a release of this Maven 2 plugin yet. It is only available as a SNAPSHOT. You can read about how to use SNAPSHOTS here: http://maven.apache.org/guides/development/guide-testing-development-plugins.html Thanks for your help, Alex http://svn.apache.org/viewvc/maven/sandbox/plugins/maven-changes-plugin/ -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: DocCheck using multiproject?
Hi Mick, You might have already moved on to m2, but for the record... On 9/9/05, Mick Knutson [EMAIL PROTECTED] wrote: I am trying to run DocCheck on all my subprojects using multiproject:doccheck, but I can't seem to get it to recognize my source files in each subproject. Anyone help? I'm using doccheck with multiproject fine. It might have something to do with this: http://maven.apache.org/maven-1.x/plugins/multiproject/faq.html#resources-not-included-in-artifacts You might need to add ${basedir} to your project.xml sourceDirectory entry like this: build sourceDirectory${basedir}/src/main/java/sourceDirectory /build Best regards, -- Shinobu -- Shinobu Kawai [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]