Re: [M2] Changelog plugin report unknown range
Hi Nate, As far as I know, the plugin does not resolve the last revision dates for each tag. Maybe the text Changes from an unknown range should be replace with Changes from start-tag to end-tag -allan Nate wrote: When I generate the changelog plugin using the tag type with CVS, I get the following string at the top of the page: Changes from an unknown range. Here is part of my POM: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version reportSets reportSet idsingle-report/id configuration typetag/type tags tag implementation=java.lang.StringMyApp_0_7_rc1/tag tag implementation=java.lang.StringMyApp_0_7_rc2/tag /tags /configuration ... /reportSet /reportSets /plugin If I use the date or range type, that field is filled in correctly with the date range. I looked at the changelog.xml file that is generated for both the tag type and a date type, and the start and end dates attributes were not filled in for the tag output. I believe these start and end attributes are was is being read in by the report generator and used for the range. Generated changelog.xml from tag type: changelog changeset datePattern=MMdd HH:mm:ss z changelog-entry ... Generated changelog.xml from date type: changelog changeset datePattern=MMdd HH:mm:ss z start=20061018 00:00:00 CDT end=20061025 00:00:00 CDT changelog-entry ... I looked into the changelog plugin source, and found that the changeset element and attributes are generated by an SCM plugin object. I tried to go into that source code, but I was unsuccessful in tracking down the exact location where those fields are filled in. Is it possible to get the tag range displayed instead of an unknown date range? Thanks, -Nate - 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: Add Directory to Jar Manifest Classpath
pjungwir wrote: Syvalta wrote: But that doesn't work for me, see: http://jira.codehaus.org/browse/MJAR-60. I didn't get any error with a trailing slash inside Class-Path. JIRA says this is fixed against 2.2. I'm not sure why the bug is still open in that case. . . . There isn't snapshot of 2.2 yet, so I didn't test with that, so I can't confirm. However, as I understand it, fix for means that is should be fixed before that release, not that it's fixed. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a7006293 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] activating profile dependant from packaging
Hi all, i will activate different profiles dependant from packaging. So packaging 'war' will react different from 'jar'. Any idea? Fredy -Ursprüngliche Nachricht- Von: Syvalta [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Oktober 2006 09:17 An: users@maven.apache.org Betreff: Re: Add Directory to Jar Manifest Classpath pjungwir wrote: Syvalta wrote: But that doesn't work for me, see: http://jira.codehaus.org/browse/MJAR-60. I didn't get any error with a trailing slash inside Class-Path. JIRA says this is fixed against 2.2. I'm not sure why the bug is still open in that case. . . . There isn't snapshot of 2.2 yet, so I didn't test with that, so I can't confirm. However, as I understand it, fix for means that is should be fixed before that release, not that it's fixed. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html #a7006293 Sent from the Maven - Users mailing list archive at Nabble.com. - 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]
[m2] copy files to manifest folder
Hi, is it possible to access the location(folder) of the manifest File? I've a ant goal wich will copy a file to thios location. But i won't tell maven the hardcoded location. 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: m2, surefire console output
These stacktraces are from system.err, it's not that test are failing. What can I do, is modification in surefire plugin required to solve it? -- View this message in context: http://www.nabble.com/m2%2C-surefire-console-output-tf2500944.html#a7006518 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Running Emma: how to get HTML report?
Hi, 1) I have a report in the site but unfortunately, the report is empty, I got this page target/site/coverage/index.html: No coverage information available 2) The trace when running test is: [INFO]Scanning for projects... [INFO] [INFO]Building My project name [INFO] task-segment: [test] [INFO] project-execute [resources:resources] [INFO]Using default encoding to copy filtered resources. [compiler:compile] [INFO]Nothing to compile - all classes are up to date [emma:instr {execution: default}] [INFO][emma-plugin:instr] [INFO]Emma instrument path: D:\tmp\sandbox\my-app\target\classes [INFO]Emma output Directory: D:\tmp\sandbox\my-app\target\emma-classes EMMA: processing instrumentation path ... EMMA: instrumentation path processed in 30 ms EMMA: [0 class(es) instrumented, 0 resource(s) copied] EMMA: no output created: metadata is empty 3) Also a partial tree view of my target directory: +---classes | | checkstyle-jjguidelines.xml | | | \---com | \---mycompany | \---app | App$FizzyDrink.class | App.class | +---emma-classes | | coverage.em | | emma.properties | | | \---com | \---mycompany | \---app | App$FizzyDrink.class | App.class 4) content of emma.properties: coverage.out.file=D:\\tmp\\sandbox\\my-app\\target\\emma-classes\\coverage.ec coverage.out.merge=false 5) What is wrong? Should I run a specific task in a certain order? Greetings, Xavier. Chris Hilton wrote: There's an emma-maven-plugin in the Codehaus sandbox and available at the Codehaus snapshots repository you might want to use. http://mojo.codehaus.org/using-sandbox-plugins.html You'll need to specify something like this for the build configuration: build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdemma-maven-plugin/artifactId version1.0-SNAPSHOT/version inheritedtrue/inherited executions execution goals goalinstr/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId inheritedtrue/inherited configuration forkModeonce/forkMode reportFormatxml/reportFormat classesDirectory${project.build.directory}/emma-classes/classesDirect ory /configuration /plugin /plugins /build And then something like this in the reporting section: reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdemma-maven-plugin/artifactId version1.0-SNAPSHOT/version inheritedtrue/inherited /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId inheritedtrue/inherited /plugin /plugins /reporting Chris -Original Message- From: Xavier Outhier [mailto:[EMAIL PROTECTED] Sent: Monday, 23 October, 2006 06:56 To: Maven Users List Subject: [m2] Running Emma: how to get HTML report? Hi all, I'm trying to use Emma. I've seen a relatively old post: http://www.mail-archive.com/users@maven.apache.org/msg42682.html I also have instrumented classes. Well at least, I see there is a file target\emma\metadata.emma. How could I have an HTML report built in the site? Greetings, Xavier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] deploying a site - BUG?!
Hi, in the guide: http://maven.apache.org/guides/mini/guide-site.html section: Deploying The Site is this note: Note: the trailing slash in the URL above indicates that any subprojects that inherit this value should append their artifact ID to the path instead of using it as-is. But that isn't true ;-( any help? 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: ftp-wagon Unrecognised tag: 'extensions'
On 10/25/06, pjungwir [EMAIL PROTECTED] wrote: Hi Jeff, What is the benefit of loading wagon-ftp in a profile? That extensions block doesn't per se do anything; it just makes wagon-ftp available. I guess you're loading it for the sake of the sftp:// repository in the top-level POM? Then why not just put extensions up there, too (with no profile)? Paul -- If I put it in the top-level POM , how will it know which ear file to ftp to the sftp:// repository ? My build results in two different ear files, one with a web application and another with some ejb application.The reason for having two different ears is that the two ears are deployed differently and they serve different purposes. Basically all I want to do is ftp two ear files at the end of my build to my sftp:// repository.That's all I wanna do. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Configure Continuum to work with SVN over svn+ssh
Hi, I have serious problems configuring continuum to cooperate with SVN over svn+ssh connection. My SVN repo is: svn+ssh://[EMAIL PROTECTED]/var/svn/repo Every user has a certificate genereted in his home/.ssh folder Can you please tell me how my pom.xml scm/scm section should look like. Where should put information about server certificates. Is it similar to repository-server password section? I tried to find information how to solve my problem, but everywhere I look I find information about SVN working over https, but my situation is different. I appologise if my question have already been answered somewhere else, but I just can't find it, in that case just send me a link. I use: Continuum-1.0.3 Maven-2.0.4 Many thanks for your help. Tom -- View this message in context: http://www.nabble.com/Configure-Continuum-to-work-with-SVN-over-svn%2Bssh-tf2512851.html#a7007834 Sent from the Continuum - Users mailing list archive at Nabble.com.
Build failure when compiling the jmeter plugin
Why am I getting this compilation error and yet I'm using the 1.5 compiler : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[35,20] generics are not supported in -source 1.3 (try -source 1.5 to enable generics) private ListString includes; D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[81,41] for-each loops are not supported in -source 1.3 (try -source 1.5 to enable for-each loops) for (String file : scanner.getIncludedFiles()) { D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[159,15] annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Override public void checkExit(int status) { throw new ExitExcept ion(status);} -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] how to debug a plugin
hi, how can i debug the release plugin? i'm using eclipse. thanks 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]
[M2] Maven searches jars in wrong repository
Hi, I've the following problem: I have two repositories, one for releases and one for snapshots ( snapshotRepository ) specified in a parent-pom. Deploying my artefact works fine. This means if I have a version like this version1.0/version the artefact will be pumped into my normal repo. And if I have one like this version1.0-SNAPSHOT/version it will be stored in my snapshotRepository. So far so good. Next step: A second project of mine needs the above named artefact. (dependeny) This dependency looks like dependency ... version[0.8,)/version ... /dependency This means get an version greater than 0.8. I get following error while compile this second project: Downloading: http://{myServer}/internal/{groupId}/{artifactId}/1.0/{artifactId}-1.0.pom Downloading: http://{myServer}/snapshot/{groupId}/{artifactId}/1.0/{artifactId}-1.0.jar It looks like Maven searches the pom on my internal repo and the belonging jar on the snapshotRepo. And for sure, Maven can't find the jar in the snapshotRepository. Does anyone know something about this issue? Mit freundlichem Gruß / Best Regards Sebastian Krebs QUIPSY QUALITY GmbH Stuttgarter Strasse 23 D-75179 Pforzheim [EMAIL PROTECTED]
[M2] TYPO in Docu about settings.xml regaring repositories and snapshots
Hello, I found following typo on http://maven.apache.org/maven-settings/settings.html Given : profile ... repositories repository release enabled/ updatePolicy/ checksumPolicy/ /release snapshot enabled/ updatePolicy/ checksumPolicy/ /snapshot id/ name/ url/ layout/ /repository /repositories ... /profile If you use this snapshot Maven will fail in reading the settings.xml You have to use snapshots ... /snapshots Mit freundlichem Gruß / Best Regards Sebastian Krebs QUIPSY QUALITY GmbH Stuttgarter Strasse 23 D-75179 Pforzheim [EMAIL PROTECTED]
can't delete project from continuum, foreign key violation
I need help with deleting a project from continuum 1.0.3. There are a few projects left. I had more and deleted all the experimental ones. But two of them remain toughly with that exception: ognl.MethodFailedException: Method removeProject failed for object [EMAIL PROTECTED] [javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM BUILDDEFINITION WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of foreign key constraint 'PROJECT_BUILP8_FK2' for key (59). The statement has been rolled back.] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796) at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819) at ognl.ASTMethod.getValueBody(ASTMethod.java:75) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:378) at ognl.Ognl.getValue(Ognl.java:357) at org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation(DeleteEntity.java:57) at org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.java:47) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) /-- Encapsulated exception \ javax.jdo.JDOUserException: One or more instances could not be deleted at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1438) at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContainerStore.java:595) at org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.java:304) ... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
maven plugin execution phase: post-site?
Hi, I am writing a maven plugin to be run on other projects. It needed to be executed after the site phase. For a multi-project (one parent and several modules), how to I configure the plugin to be run after reports have been generated for all modules? The problem is that the plugin is being run DURING the site phase (which results in a number of invocation when only one for a project was expected) when i include the following in the parent pom: plugin groupIdcom.accenture.collab.maven.plugin/groupId artifactIdcollab-quality/artifactId version0.1-SNAPSHOT/version executions execution phasesite/phase goals goalquality/goal /goals /execution /executions /plugin I have also included the following in my plugin's mojo, but no success: * @execute phase=post-site Anyone can help? Thanks -- Kovalen
dynamically disable filtering?
hey, all. i've tried all the ways i can think of to dynamically disable filtering, but none of them seem to work. what i'm looking for is a way to disable filtering across a multi-project with a profile or a system property, such that something like filtering${enable.filtering}/filtering can be toggled on and off. can anyone enlighten me here? thanks in advance -- View this message in context: http://www.nabble.com/dynamically-disable-filtering--tf2513498.html#a7009706 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[archiva] disabling the checksum policy
Hi, I have configured some proxies (central, mergere, java.net) into a repository. I also have configured my settings.xml to use my archiva proxy instead of the central repository (using the mirror element) When i try to deploy a project (with pom packaging) it fails saying the deploy plugin is not found. When i disable my mirroring, it finds the plugin with warning on checksum. When i 'tail -f' the archiva logs (and using the mirror) it also complains on checksum but also says it don't use the deploy plugin because of that checksum. My question is : how to configure archiva not to perform checksum failures on certains proxied repositories (if it could be fine grained,...) Many thanks for any help. Regards, Raphaël
Maven help
I am in the process of building an application using Maven2. After the build,the contents are transported to \build\output folder. The output folder contains a bin folder. My task is to move the bin folder into the user specified directory instead of build\output\bin. How do i accomplish this? Where i am to change the build configuration for this? I am using Maven ant run plugin. Regards, Mukundhan mail to: [EMAIL PROTECTED] Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam and email virus protection.
How to get the groupId and other values from a Maven pom file using java code
Hi, I have a java code which should extract the groupId ,artifactId and other details from a pom file. What apis should I use to achieve this? Please help. Thanks, Sharda
Re: can't delete project from continuum, foreign key violation
You can try to delete all build definitions from your project first, than you delete your project. Emmanuel [EMAIL PROTECTED] a écrit : I need help with deleting a project from continuum 1.0.3. There are a few projects left. I had more and deleted all the experimental ones. But two of them remain toughly with that exception: ognl.MethodFailedException: Method removeProject failed for object [EMAIL PROTECTED] [javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM BUILDDEFINITION WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of foreign key constraint 'PROJECT_BUILP8_FK2' for key (59). The statement has been rolled back.] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796) at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819) at ognl.ASTMethod.getValueBody(ASTMethod.java:75) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:378) at ognl.Ognl.getValue(Ognl.java:357) at org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation(DeleteEntity.java:57) at org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.java:47) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) /-- Encapsulated exception \ javax.jdo.JDOUserException: One or more instances could not be deleted at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1438) at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContainerStore.java:595) at org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.java:304) ... - 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: How to get the groupId and other values from a Maven pom file using java code
You can copy the information in your manifest and access it during runtime with resource reader. http://maven.apache.org/guides/mini/guide-manifest.html Fredy -Ursprüngliche Nachricht- Von: Sheshabhattar, Sharda [CIB-IT] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Oktober 2006 21:47 An: Sheshabhattar, Sharda [CIB-IT]; users@maven.apache.org Betreff: How to get the groupId and other values from a Maven pom file using java code Hi, I have a java code which should extract the groupId ,artifactId and other details from a pom file. What apis should I use to achieve this? Please help. Thanks, Sharda 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: [m2/ant] ClassCastException jwsc
Within the pom itself I attempted to remove a few of the dependencies on jars that were already being called within the pathref I had set-up within the ant section. I also attempted to add the necessary jar files included using a batch file into the dependencies of the pom as a whole, and the classpath reference within the ant-run plugin. Nothing has quite fixed it so far, though. Wayne Fay wrote: This error appears when the build gets to the jwsc function (weblogic.wsee.tools.anttasks.JwscTask). This error did occur using the original ant file, but by adding bea jars to the classpath, it was fixed. However, when this was done for the Maven build it did not fix the problem. What specifically did you do to your pom in an attempt to fix the problem? Wayne - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-m2-ant--ClassCastException-jwsc-tf2509682.html#a7010129 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2/ant] ClassCastException jwsc
This was basically my next step, but hopefully I wouldn't have to come to it. I was trying to do away completely with most of the tasks within the old ant scripts, and just use the ones that didn't fit the plugin scheme with maven. But I have gotten it to work using this method at some point. pjungwir wrote: I'm not sure how to fix your problem, but if you're really stuck, you could go back to your build.xml script and call it from maven by using the antrun plugin with just tasksant antfile=build.xml//tasks. That might be give you more control over your classpath by letting you handle taskdefing manually. Paul ihowle wrote: I'm running the maven-antrun plugin currently to execute various pieces of an older build script. This script uses some taskdefs, such as weblogic's jwsc, to accomplish most of its tasks. The build script for the original ant file executes all these correctly, however, when ported to the plugin for maven, I receive the following error: [ERROR] BUILD ERROR [INFO] [INFO] Error executing ant tasks Embedded error: java.lang.ClassCastException: com.bea.xbean.values.XmlTokenImpl This error appears when the build gets to the jwsc function (weblogic.wsee.tools.anttasks.JwscTask). This error did occur using the original ant file, but by adding bea jars to the classpath, it was fixed. However, when this was done for the Maven build it did not fix the problem. I'm not sure what I need to alter within Maven itself to allow it to see the same classpath, but I believe that the internal classpath has something to do with it. This is the portion of code at which the build fails: jwsc srcdir=${dir.src} destdir=${dir.ear} tempdir=${dir.temp} classpathref=ext.build.class.path fork=true memoryinitialsize=256m memorymaximumsize=512m verbose=on keepGenerated=yes debuglevel=9 debug=on deprecation=on source=${compiler-source} module name=${ws.module.name} explode=false contextpath=ws jws file=${file.path.ws.portImpl}.java compiledWsdl=${dir.dist}/${file.name.wsdl.sc.jar}/ /module /jwsc I've been caught on this for quite a while. Haven't been able to find any issues about this, so I'm not sure what might be conflicting to cause this. -- View this message in context: http://www.nabble.com/-m2-ant--ClassCastException-jwsc-tf2509682.html#a7010181 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [M2] TYPO in Docu about settings.xml regaring repositories and snapshots
Sending emails like this to the Maven Users list is an absolute waste of time. Please post bugs in JIRA if you have any interest in getting them fixed. Wayne On 10/26/06, Sebastian Krebs [EMAIL PROTECTED] wrote: Hello, I found following typo on http://maven.apache.org/maven-settings/settings.html Given : profile ... repositories repository release enabled/ updatePolicy/ checksumPolicy/ /release snapshot enabled/ updatePolicy/ checksumPolicy/ /snapshot id/ name/ url/ layout/ /repository /repositories ... /profile If you use this snapshot Maven will fail in reading the settings.xml You have to use snapshots ... /snapshots Mit freundlichem Gruß / Best Regards Sebastian Krebs QUIPSY QUALITY GmbH Stuttgarter Strasse 23 D-75179 Pforzheim [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Using Cactus with Maven 2
Hi, I have been trying to run cactus test cases with Maven 2 using all possible approaches and to no avail. Would be grateful if someone can answer the following 1. Is there any cactus plugin for Maven 2. There is absolutely no documentation on this plugin. Anything, a sample code would help very much. 2. Testing life cycle stage comes before packaging life cycle stage. An in-container test, as we do with cactus, cannot be done unless you deploy your application. So there is this contradiction - you cannot test unless you deploy and you cannot deploy unless you test. Did someone think about itand can share what did they finally decide on :) Thanks, Mohan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build failure when compiling the jmeter plugin
On 10/26/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Why am I getting this compilation error and yet I'm using the 1.5 compiler : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[35,20] generics are not supported in -source 1.3 (try -source 1.5 to enable generics) private ListString includes; D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[81,41] for-each loops are not supported in -source 1.3 (try -source 1.5 to enable for-each loops) for (String file : scanner.getIncludedFiles()) { D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[159,15] annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Override public void checkExit(int status) { throw new ExitExcept ion(status);} -- Mya someone help me with this please.I desperately need to build this plugin and put it to use. Thanx -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Jetty Plugin and filtered resources
Hi, I am trying to use the Jetty plugin for Maven but have my web.xml filtered with properties. This is mainly as I have a sandbox profile which when active would change the spring config file being used. I have tried using the WAR plugin to define some filtered resources plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId version2.0/version configuration webResources resource directorysrc/main/webapp/directory filteringtrue/filtering /resource /webResources /configuration /plugin /plugins When I use mvn package the web.xml is filtered correctly, for both profiles. However when I use mvn jetty:run the properties are not substituted. Is it possible to do this? Thanks, Martin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build failure when compiling the jmeter plugin
I would generally suspect you have not configured things properly: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html Wayne On 10/26/06, Jeff Mutonho [EMAIL PROTECTED] wrote: Why am I getting this compilation error and yet I'm using the 1.5 compiler : [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] Compilation failure D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[35,20] generics are not supported in -source 1.3 (try -source 1.5 to enable generics) private ListString includes; D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[81,41] for-each loops are not supported in -source 1.3 (try -source 1.5 to enable for-each loops) for (String file : scanner.getIncludedFiles()) { D:\SHARED\maven-jmeter-plugin-src\maven-jmeter-plugin\src\main\java\org\apache\j meter\JMeterMojo.java:[159,15] annotations are not supported in -source 1.3 (try -source 1.5 to enable annotations) @Override public void checkExit(int status) { throw new ExitExcept ion(status);} -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - 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]
Ant Mojo Resources
Hi All, I have created an Ant based plugin that need to call a windows batch file. The batch file is in the plugin projects resources folder and thus in the plugin jar. How can I access this resource path/ batch file using the exec ant task ? Thanks Jon
Re: Preventing sub-dependencies from being included in an EAR
Alexander Sack wrote: Because I'm using some of the Apache commons libraries, Maven2 is including some of their sub dependencies such as commons-logging which breaks my EAR. Is there a way to prevent this? Yes - declare it with scope provided. -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing sub-dependencies from being included in an EAR
Thanks David, that's what I did. Its a little odd that you have duplicate entries for the same dependency (btw, mvn shoots out warnings regarding override scope, harmless I know, but still...). -aps On 10/26/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: Alexander Sack wrote: Because I'm using some of the Apache commons libraries, Maven2 is including some of their sub dependencies such as commons-logging which breaks my EAR. Is there a way to prevent this? Yes - declare it with scope provided. -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: Any interest in a maven-properties-plugin?
i'm interested in using this plugin, but i can't checkout the source or browse the repository from the project home page. has it been removed? -- View this message in context: http://www.nabble.com/Any-interest-in-a-maven-properties-plugin--tf2454363.html#a7011740 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] SurefireExecutionException with Emma (pom.xml doesn't contain emma stuff)?
maybe you have profiles.xml file along the side of pom.xml that contains some reference to emma? just a wild guess though.. milos On 10/23/06, Xavier Outhier [EMAIL PROTECTED] wrote: Hi all, I have a SurefireExecutionException (see the trace below). I don't understand because my pom.xml doesn't contain anymore stuff from emma (see listing of pom.xml below) but it had contained stuff of Emma. I also removed manually emma directory from my local maven repository. What can be wrong? Where is cached/stored information about emma? How to fix this? Greetings, Xavier. PS: #File: pom.xml ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.mycompany.app/groupId artifactIdmy-app/artifactId version1.0-SNAPSHOT/version nameTest Maven 34/name descriptionFirst Maven 2 project integrated in NetBeans but created outsite NB. /description urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build filters filtersrc/main/filters/filter.properties/filter /filters plugins plugin artifactIdmaven-site-plugin/artifactId configuration localesen,fr/locales /configuration /plugin /plugins /build reporting plugins plugin artifactIdmaven-project-info-reports-plugin/artifactId /plugin /plugins /reporting /project #Trace: D:\tmp\sandbox\my-appmvn clean install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Test Maven 34 [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean] [INFO] Deleting directory D:\tmp\sandbox\my-app\target [INFO] Deleting directory D:\tmp\sandbox\my-app\target\classes [INFO] Deleting directory D:\tmp\sandbox\my-app\target\test-classes [INFO] Deleting directory D:\tmp\sandbox\my-app\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to D:\tmp\sandbox\my-app\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 1 source file to D:\tmp\sandbox\my-app\target\test-classes [INFO] [surefire:test] [INFO] Surefire report directory: D:\tmp\sandbox\my-app\target\surefire-reports org.apache.maven.surefire.booter.SurefireExecutionException: com/vladium/emma/rt/RT; nested exception is java.lang.NoCla ssDefFoundError: com/vladium/emma/rt/RT java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT at junit.framework.Assert.$VRi(Assert.java) at junit.framework.Assert.clinit(Assert.java) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.class$(JUnitDirectoryTestSuite.java:47) at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(JUnitDirectoryTestSuite.java:47) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:93) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147) at org.apache.maven.surefire.Surefire.run(Surefire.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. [INFO] [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47 5)
Re: [m2] copy files to manifest folder
The location of the META-INF folder is generally src/main/resources/META-INF. I'd tell your ant task to output its file there, or perhaps to target/classes/META-INF. Wayne On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, is it possible to access the location(folder) of the manifest File? I've a ant goal wich will copy a file to thios location. But i won't tell maven the hardcoded location. 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Any interest in a maven-properties-plugin?
It is going through the tedious process of being accepted as a plugin. Vote for it here: http://jira.codehaus.org/browse/MOJO-535 The source can also be found in JIRA. ertnutler wrote: i'm interested in using this plugin, but i can't checkout the source or browse the repository from the project home page. has it been removed? -- View this message in context: http://www.nabble.com/Any-interest-in-a-maven-properties-plugin--tf2454363.html#a7011829 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Ant Mojo Resources
Pass ${settings.localRepository} as a param to your Ant mojo. Then unzip the file(s) you need from the plugin jar (e.g. ${settings.localRepository}/com/xyz/foo-m2-plugin/1.0/foo-m2-plugin-1.0. jar) to a temp dir. Ugly, I know, but it works :-) | -Original Message- | From: SlinnHawkins, Jon (ELS) [mailto:[EMAIL PROTECTED] | Sent: Thursday, October 26, 2006 8:49 AM | To: users@maven.apache.org | Subject: Ant Mojo Resources | | Hi All, | | I have created an Ant based plugin that need to call a windows batch | file. The batch file is in the plugin projects resources folder and | thus in the plugin jar. How can I access this resource path/ | batch file | using the exec ant task ? | | Thanks | | Jon | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] activating profile dependant from packaging
This was discussed back in April 2006. Perhaps this old thread will be useful. From: John Didion [EMAIL PROTECTED] To: users@maven.apache.org Date: Apr 6, 2006 10:05 PM Subject: Can I activate a profile based on module type? Wayne On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, i will activate different profiles dependant from packaging. So packaging 'war' will react different from 'jar'. Any idea? Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] SurefireExecutionException with Emma (pom.xml doesn't contain emma stuff)?
Thanks for the answer but it's not that. Anyway, now I'm using solution posted by Chris Hilton. The current problem is that there is no coverage info! Xavier. Milos Kleint wrote: maybe you have profiles.xml file along the side of pom.xml that contains some reference to emma? just a wild guess though.. milos On 10/23/06, Xavier Outhier [EMAIL PROTECTED] wrote: Hi all, I have a SurefireExecutionException (see the trace below). I don't understand because my pom.xml doesn't contain anymore stuff from emma (see listing of pom.xml below) but it had contained stuff of Emma. I also removed manually emma directory from my local maven repository. What can be wrong? Where is cached/stored information about emma? How to fix this? Greetings, Xavier. PS: #File: pom.xml ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdcom.mycompany.app/groupId artifactIdmy-app/artifactId version1.0-SNAPSHOT/version nameTest Maven 34/name descriptionFirst Maven 2 project integrated in NetBeans but created outsite NB. /description urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency /dependencies build filters filtersrc/main/filters/filter.properties/filter /filters plugins plugin artifactIdmaven-site-plugin/artifactId configuration localesen,fr/locales /configuration /plugin /plugins /build reporting plugins plugin artifactIdmaven-project-info-reports-plugin/artifactId /plugin /plugins /reporting /project #Trace: D:\tmp\sandbox\my-appmvn clean install -e + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] [INFO] Building Test Maven 34 [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean] [INFO] Deleting directory D:\tmp\sandbox\my-app\target [INFO] Deleting directory D:\tmp\sandbox\my-app\target\classes [INFO] Deleting directory D:\tmp\sandbox\my-app\target\test-classes [INFO] Deleting directory D:\tmp\sandbox\my-app\target\site [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to D:\tmp\sandbox\my-app\target\classes [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] Compiling 1 source file to D:\tmp\sandbox\my-app\target\test-classes [INFO] [surefire:test] [INFO] Surefire report directory: D:\tmp\sandbox\my-app\target\surefire-reports org.apache.maven.surefire.booter.SurefireExecutionException: com/vladium/emma/rt/RT; nested exception is java.lang.NoCla ssDefFoundError: com/vladium/emma/rt/RT java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT at junit.framework.Assert.$VRi(Assert.java) at junit.framework.Assert.clinit(Assert.java) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.class$(JUnitDirectoryTestSuite.java:47) at org.apache.maven.surefire.junit.JUnitDirectoryTestSuite.createTestSet(JUnitDirectoryTestSuite.java:47) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:93) at org.apache.maven.surefire.Surefire.createSuiteFromDefinition(Surefire.java:147) at org.apache.maven.surefire.Surefire.run(Surefire.java:108) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747) [INFO] [ERROR] BUILD FAILURE [INFO] [INFO] There are test failures. [INFO] [INFO] Trace org.apache.maven.BuildFailureException: There are test failures. at
RE: Any interest in a maven-properties-plugin?
I'd also find very useful a goal (or an option to the existing write-properties goal) that echoes all properties, or a set of specified properties, to the console - along the same line as the echoproperties Ant task (http://ant.apache.org/manual/OptionalTasks/echoproperties.html). This would be handy for two purposes: 1) debugging the build 2) printing certain properties (e.g. java.version) during the build for informational purposes | -Original Message- | From: Zarar Siddiqi [mailto:[EMAIL PROTECTED] | Sent: Thursday, October 26, 2006 10:09 AM | To: users@maven.apache.org | Subject: Re: Any interest in a maven-properties-plugin? | | | It is going through the tedious process of being accepted as | a plugin. Vote | for it here: | | http://jira.codehaus.org/browse/MOJO-535 | | The source can also be found in JIRA. | | | | ertnutler wrote: | | i'm interested in using this plugin, but i can't checkout | the source or | browse the repository from the project home page. has it | been removed? | | | -- | View this message in context: | http://www.nabble.com/Any-interest-in-a-maven-properties-plugi n--tf2454363.html#a7011829 | Sent from the Maven - Users mailing list archive at Nabble.com. | | | - | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] | | - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build failure when compiling the jmeter plugin
On 10/26/06, Wayne Fay [EMAIL PROTECTED] wrote: I would generally suspect you have not configured things properly: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html Wayne Hmmm I'm sure what I need to do really.I didnt write the plugin.I downloaded the the plugin source(as it is not supplied prebuilt) from the author's website and it came with the following pom : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.apache.jmeter/groupId artifactIdmaven-jmeter-plugin/artifactId packagingmaven-plugin/packaging version1.0-SNAPSHOT/version nameMaven JMeter Plugin/name urlhttp://jakarta.apache.org/jmeter/url dependencies dependency groupIdant/groupId artifactIdant/artifactId version1.6/version /dependency dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId version1.2/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdorg.apache.jmeter/groupId artifactIdjmeter/artifactId version2.2/version /dependency /dependencies /project and the instructions say run 'mvn install' to install the plugin. So I'm not sure how I would need to configure the maven-compiler-plugin. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changelog-maven-plugin and scm error
I have been trying to get the changelog-maven-plugin to work with CVS for a few days now. I have no idea what is wrong with my setup, when I run mvn site I get the following error messages: Things I Have Already Tried Based on Prior Replies 1) Switched to plugin version 2.0-SNAPSHOT 2) Many variations of my SCM declaration (posted below). Error Message [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V M_global_library.vm' [[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 Don't know if these have anything to do with it, but they are always there. Maven Version 2.0.4 changelog-maven-plugin Version 2.0-SNAPSHOT OS Windows Xp Pro Plugin Declaration in POM.xml reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version /plugin /plugins /reporting SCM Configuration POM.xml First Variation: scm connectionscm:cvs:pserver:username:[EMAIL PROTECTED]:2401:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:[EMAIL PROTECTED]:2401:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Second Variation scm connectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Note that I removed the password yet left the : just like some thread suggested. I also did a cvs login from the command line right before I tried the above scm. Third Variation scm connectionscm:cvs:pserver:username:@cvsserver:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:@cvsserver:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Note that I removed the port number. The SCM Template I am Trying to Follow I will put this here for quick reference: scm:cvsdelimiterpserverdelimiter[username[delimiter[EMAIL PROTECTED]delimiterport]delimiterpath_to_repositorydelimitermodule_name Other Notes 1) I am not using the standard Maven directory structure. All I am supposed to do with Maven is create a project site for an existing project using mvn site:site. 2) The site is generated successfully (I love the site!), but clicking on any of the changelog links displays this message: No sources found to create a report. My Questions 1) Are those error messages I posted earlier the cause of this? 2) Is there any way to get some more feedback regarding the error? My problem here is that I have NO IDEA where things are going wrong so I don't know where to start fixing. 3) Is there an error in my SCM declaration? It doesn't seem to complain regardless of what I put there. Is there a way to test the SCM declaration? Sorry for the long post, but my boss is expecting this to get done because he heard that making a Maven site was very easy which makes me stupid or lazy for not getting it done so far. I hope I was thorough enough, and thank you for your help in advance! -Sam -- View this message in context: http://www.nabble.com/changelog-maven-plugin-and-scm-error-tf2227141.html#a7012529 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: dependcy vs one lib of jars
Thanks for all the feedback and ideas. I am thinking , too, that writing the plugin will be the way to go. For now it is postponed (I have to get some development done, too - with all the ant2mvn tasks slowly finalized), but someday I'll look into it. Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Noobie - Call CVS with the date (-D) parameter to checkout by date
Hello I am trying to use maven to checkout some code from cvs using the date parameter. I would like to check out the code at a specific date. The cvs command line argument is -D date I am looking at the maven scm plugin documentation, (http://maven.apache.org/scm/plugins/checkout-mojo.html) and there is an optional tag parameter, but no date param available. How would I give this parameter to the checkout command? Also - the only way I can figure out how to get parameters to work is command line. ie. mvn -DworkingDirectory=blah scm:status I would like to put the parameter in my pom.xml somehow to use the same working directory each time I run the status command. How do I do this? All I have in my pom.xml regarding the scm plugin is: scm connectionscm:cvs:local:/cvs:cruisecontrol/cruisecontrol/connection /scm (I am testing with the cruisecontrol project) thank you! -- View this message in context: http://www.nabble.com/Maven-Noobie---Call-CVS-with-the-date-%28-D%29-parameter-to-checkout-by-date-tf2514440.html#a7012684 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
extensions
Hi all, can anybody tell me the difference between having a /build/extensions/extension element and a /build/plugins/plugin/extensions in the POM ? I have a plugin with a custom packaging, and if I put that plugin into the extensions list, I'm getting weird errors in unrelated modules like: Caused by: java.lang.IllegalArgumentException: Can not set org.codehaus.plexus.archiver.jar.JarArchiver field org.apache.maven.plugin.jar.AbstractJarMojo.jarAr hiver to org.codehaus.plexus.archiver.jar.JarArchiver at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException( UnsafeFieldAccessorImpl.java:146) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException( UnsafeFieldAccessorImpl.java:150) at sun.reflect.UnsafeObjectFieldAccessorImpl.set( UnsafeObjectFieldAccessorImpl.java:63) at java.lang.reflect.Field.set(Field.java:656) at org.codehaus.plexus.component.composition.FieldComponentComposer.assignRequirementToField (FieldComponentComposer.java:137) ... 29 more Setting the extensions-element on the plugin eliminates this. In both cases, if I build only one project with this packaging, everything works just fine - I'm guessing that conflicting versions or classloaders are the problem... Tom
Re: looking for a repository with doxia-maven-plugin?
On 10/24/06, MartinAhrer [EMAIL PROTECTED] wrote: Sorry for the misleading term 'repository'. I was thinking of a maven repository for downloading maven plugins... I'd like to use doxia for generating PDF from my existing APT documents! Did you find what you needed? If not, Doxia Book is here: http://maven.apache.org/doxia/book/ If the plugin isn't available in the snapshot repository, you can try building doxia yourself: svn co http://svn.apache.org/repos/asf/maven/doxia/trunk doxia cd doxia mvn install -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changelog-maven-plugin and scm error
Other Notes 1) I am not using the standard Maven directory structure. All I am supposed to do with Maven is create a project site for an existing project using mvn site:site. I don't know if this will help, but did you try using the basedir element under the changelog plugin configurations to set the source directory? configuration ... basediryourDir/main/java/basedir /configuration 2) Is there any way to get some more feedback regarding the error? My problem here is that I have NO IDEA where things are going wrong so I don't know where to start fixing. To turn on error stacktraces: mvn site -e To turn on debuging: mvn site -X Hope this helps, -Nate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: settings.xml ignored
LJ, I have it as: ... profiles profile iddefault/id activation activeByDefault/ /activation ... /profile ... and then I also have: activeProfiles activeProfiledefault/activeProfile /activeProfiles Is there a way to display the active profiles in continuum? I tried to setup a build with help:active-profiles but I don't see where is the output going. I checked the log files for it and it was not there. thanks, Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: changelog-maven-plugin and scm error
Update I was able to run mvn scm:changelog and it worked fine. It spammed all the project commit notes into the console...now if I can only get it tp place those notes in my site Now I think that my current SCM configuration in pom.xml is fine. This is the declaration it worked with: scm connectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Note that I removed the password yet left the : just like some thread suggested. I also did a cvs login from the command line right before I tried the above scm. Still no change-log report though :( Sam Anabtawi wrote: I have been trying to get the changelog-maven-plugin to work with CVS for a few days now. I have no idea what is wrong with my setup, when I run mvn site I get the following error messages: Things I Have Already Tried Based on Prior Replies 1) Switched to plugin version 2.0-SNAPSHOT 2) Many variations of my SCM declaration (posted below). Error Message [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any resource loader. [INFO] Velocimacro : error using VM library template VM_global_library.vm : org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'V M_global_library.vm' [[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 Don't know if these have anything to do with it, but they are always there. Maven Version 2.0.4 changelog-maven-plugin Version 2.0-SNAPSHOT OS Windows Xp Pro Plugin Declaration in POM.xml reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId version2.0-SNAPSHOT/version /plugin /plugins /reporting SCM Configuration POM.xml First Variation: scm connectionscm:cvs:pserver:username:[EMAIL PROTECTED]:2401:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:[EMAIL PROTECTED]:2401:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Second Variation scm connectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:@cvsserver:2401:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Note that I removed the password yet left the : just like some thread suggested. I also did a cvs login from the command line right before I tried the above scm. Third Variation scm connectionscm:cvs:pserver:username:@cvsserver:/a/cvs:OMS/connection developerConnectionscm:cvs:pserver:username:@cvsserver:/a/cvs:OMS/developerConnection urlhttp://repository/url /scm Note that I removed the port number. The SCM Template I am Trying to Follow I will put this here for quick reference: scm:cvsdelimiterpserverdelimiter[username[delimiter[EMAIL PROTECTED]delimiterport]delimiterpath_to_repositorydelimitermodule_name Other Notes 1) I am not using the standard Maven directory structure. All I am supposed to do with Maven is create a project site for an existing project using mvn site:site. 2) The site is generated successfully (I love the site!), but clicking on any of the changelog links displays this message: No sources found to create a report. My Questions 1) Are those error messages I posted earlier the cause of this? 2) Is there any way to get some more feedback regarding the error? My problem here is that I have NO IDEA where things are going wrong so I don't know where to start fixing. 3) Is there an error in my SCM declaration? It doesn't seem to complain regardless of what I put there. Is there a way to test the SCM declaration? Sorry for the long post, but my boss is expecting this to get done because he heard that making a Maven site was very easy which makes me stupid or lazy for not getting it done so far. I hope I was thorough enough, and thank you for your help in advance! -Sam -- View this message in context: http://www.nabble.com/changelog-maven-plugin-and-scm-error-tf2227141.html#a7013206 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [m2] Running Emma: how to get HTML report?
Obviously the 0 class(es) instrumented part is a problem; if nothing gets instrumented, you'll certainly get no coverage info. Some things that stand out to me: 1. There were no classes compiled in the output below. Presumably this is because they were all already up-to-date, but I'd like to see the output from clean test or clean site to be sure. 2. Probably completely unrelated, but I'm not sure that checkstyle-jjguidelines.xml file should show up in the classes directory. Since you're set up to run Emma from the command line, you could just try the following command which should be what the Emma plugin is running: emma instr -instrpath D:\tmp\sandbox\my-app\target\classes -outdir D:\tmp\sandbox\my-app\target\emma-classes -outfile D:\tmp\sandbox\my-app\target\emma-classes\coverage.em Maybe you can figure out where the problem is that way. The soure code for the Emma plugin is very basic, so feel free to inspect it. If you find it is a real problem, whether you resolve it or not, please file an issue in JIRA, preferably with your patch or an attached project showing the problem. Chris -Original Message- From: Xavier Outhier [mailto:[EMAIL PROTECTED] Sent: Thursday, 26 October, 2006 03:00 To: Maven Users List Subject: Re: [m2] Running Emma: how to get HTML report? Hi, 1) I have a report in the site but unfortunately, the report is empty, I got this page target/site/coverage/index.html: No coverage information available 2) The trace when running test is: [INFO]Scanning for projects... [INFO] [INFO]Building My project name [INFO] task-segment: [test] [INFO] project-execute [resources:resources] [INFO]Using default encoding to copy filtered resources. [compiler:compile] [INFO]Nothing to compile - all classes are up to date [emma:instr {execution: default}] [INFO][emma-plugin:instr] [INFO]Emma instrument path: D:\tmp\sandbox\my-app\target\classes [INFO]Emma output Directory: D:\tmp\sandbox\my-app\target\emma-classes EMMA: processing instrumentation path ... EMMA: instrumentation path processed in 30 ms EMMA: [0 class(es) instrumented, 0 resource(s) copied] EMMA: no output created: metadata is empty 3) Also a partial tree view of my target directory: +---classes | | checkstyle-jjguidelines.xml | | | \---com | \---mycompany | \---app | App$FizzyDrink.class | App.class | +---emma-classes | | coverage.em | | emma.properties | | | \---com | \---mycompany | \---app | App$FizzyDrink.class | App.class 4) content of emma.properties: coverage.out.file=D:\\tmp\\sandbox\\my-app\\target\\emma-class es\\coverage.ec coverage.out.merge=false 5) What is wrong? Should I run a specific task in a certain order? Greetings, Xavier. Chris Hilton wrote: There's an emma-maven-plugin in the Codehaus sandbox and available at the Codehaus snapshots repository you might want to use. http://mojo.codehaus.org/using-sandbox-plugins.html You'll need to specify something like this for the build configuration: build plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdemma-maven-plugin/artifactId version1.0-SNAPSHOT/version inheritedtrue/inherited executions execution goals goalinstr/goal /goals /execution /executions /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-plugin/artifactId inheritedtrue/inherited configuration forkModeonce/forkMode reportFormatxml/reportFormat classesDirectory${project.build.directory}/emma-classes/classesDire ct ory /configuration /plugin /plugins /build And then something like this in the reporting section: reporting plugins plugin groupIdorg.codehaus.mojo/groupId artifactIdemma-maven-plugin/artifactId version1.0-SNAPSHOT/version inheritedtrue/inherited /plugin plugin groupIdorg.codehaus.mojo/groupId artifactIdsurefire-report-maven-plugin/artifactId inheritedtrue/inherited /plugin /plugins /reporting Chris -Original Message- From: Xavier Outhier [mailto:[EMAIL PROTECTED] Sent: Monday, 23 October, 2006 06:56 To: Maven Users List Subject: [m2] Running Emma: how to get HTML report? Hi all, I'm trying to use Emma. I've seen a relatively old post:
[m2] EJB3 embed + surefire - JBossMXServerConfig ClassNotFound
Hi all, A while ago I was testing the EJB3 embed + surefire, and it was working fine with the maven-surefire-plugin 2.2-SNAPSHOT. However, the maven-surefire-plugin 2.2 official is having issues, as well as 2.3-SNAPSHOT. ***The exact same embed-ejb3 junit test runs fine in eclipse. configuration forkModepertest/forkMode childDelegationtrue/childDelegation /configuration Has anyone been keeping up with testing EJB3 through maven/surefire? I used to use Marco's example, but that was back with RC8 and surefire 2.2-SNAPSHOT, now something has changed :-( This was tested with jboss-embed-ejb3 RC8 and RC9. The surefire logs show: == error type=java.lang.RuntimeException message=java.lang.ExceptionInInitializerErrorjava.lang.RuntimeExcepti on: java.lang.ExceptionInInitializerError at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBoots trap.java:391) at com.ghsinc.junit.EmbeddedEjb3TestCase.startupEmbeddedJboss(EmbeddedEjb3T estCase.java:25) at com.ghsinc.junit.EmbeddedEjb3TestCase.setUp(EmbeddedEjb3TestCase.java:17 ) 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(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:2 10) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSe t(AbstractDirectoryTestSuite.java:135) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(Abstr actDirectoryTestSuite.java:160) at org.apache.maven.surefire.Surefire.run(Surefire.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(Suref ireBooter.java:218) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java :777) Caused by: java.lang.ExceptionInInitializerError at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.loadMBeanServer(EJB3Stan daloneBootstrap.java:407) at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.boot(EJB3StandaloneBoots trap.java:376) ... 23 more Caused by: org.jboss.util.NestedRuntimeException: Cannot load class org.jboss.mx.server.JBossMXServerConfig; - nested throwable: (java.lang.ClassNotFoundException: org.jboss.mx.server.JBossMXServerConfig) at org.jboss.util.Classes.instantiate(Classes.java:531) at org.jboss.mx.server.ServerConfig.getInstance(ServerConfig.java:74) at javax.management.MBeanServerFactory.amp;clinitamp;(MBeanServerFactory. java:79) ... 25 more Caused by: java.lang.ClassNotFoundException: org.jboss.mx.server.JBossMXServerConfig at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedC lassLoader.java:88) at org.jboss.util.Classes.loadClass(Classes.java:631) at org.jboss.util.Classes.loadClass(Classes.java:570) at org.jboss.util.Classes.instantiate(Classes.java:527) ... 27 more /error == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Missing dependency of xmlwriter
xmlwriter-2.2 has a dependency on xmlenc-0.39. However, this version is not in the M2 repository, so my attempts to download it are failing. Is there some other repository with this file? If not, how can I report this so the maintainers will upload the required version? http://repo1.maven.org/maven2/xmlwriter/xmlwriter/2.2/ http://repo1.maven.org/maven2/xmlenc/xmlenc/ -- Daniel Siegmann FJA-US, Inc. (212) 840-2618 ext. 139 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to get the groupId and other values from a Maven pom file using
Are you writing a plugin? In that case, declare a parameter of type org.apache.maven.project.MavenProject and give it these javadoc annotations: @parameter default-value=${project} @required @readonly You can call methods as shown here: http://maven.apache.org/ref/current/maven-project/apidocs/index.html Paul Sheshabhattar, Sharda [CIB-IT] wrote: Hi, I have a java code which should extract the groupId ,artifactId and other details from a pom file. What apis should I use to achieve this? Please help. Thanks, Sharda -- View this message in context: http://www.nabble.com/How-to-get-the-groupId-and-other-values-from-a-Maven-pom-file-using-java-code-tf2513557.html#a7013602 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [m2] copy files to manifest folder
thats not true wor packaging war?! istn't it? fredy -Ursprüngliche Nachricht- Von: Wayne Fay [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Oktober 2006 16:07 An: Maven Users List Betreff: Re: [m2] copy files to manifest folder The location of the META-INF folder is generally src/main/resources/META-INF. I'd tell your ant task to output its file there, or perhaps to target/classes/META-INF. Wayne On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, is it possible to access the location(folder) of the manifest File? I've a ant goal wich will copy a file to thios location. But i won't tell maven the hardcoded location. 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] - 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: Preventing sub-dependencies from being included in an EAR
Alexander Sack wrote: Thanks David, that's what I did. Its a little odd that you have duplicate entries for the same dependency (btw, mvn shoots out warnings regarding override scope, harmless I know, but still...). Yes - it seems odd - thats what I thought at first - but now it actually makes sense to me - scenario: I have an application consisting of several artifacts: 1) *commons stuff (client/server) *server impl. 2) *ejb *mdb *war 3) 1+2 into an ear 1) is plain pojo stuff and is running standalone some places - requiring databasedrivers, JMS-messaging drivers etc. 3) is suitable to run in an container - which typically _provide_ the driver stuff ++ - which we deploy somewhere else. so it makes sense to be provided in the ear package. I started out declaring drivers and stuff provided in the server - but this was in fact incorrect - the environment (a plain JDK) did not provide this, so I turned it around, making them compile scoped (which, really, is the correct) - and making them optional in the ear. Wonder how long big fat $$ non-agile containers will live :-) -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Preventing sub-dependencies from being included in an EAR
Actually if you can track down where the unwanted dependencies are coming from, you can add an excludes directly to that dependency node to specifically exclude those artifacts. For example, Ear depends on war, ejb, jar; war depends on logging; thus logging ends up in EAR. You should be able to exclude this via: ear/pom.xml dependency artifactIdwar/ excludes exclude artifactIdlogging/ Wayne On 10/26/06, Alexander Sack [EMAIL PROTECTED] wrote: Thanks David, that's what I did. Its a little odd that you have duplicate entries for the same dependency (btw, mvn shoots out warnings regarding override scope, harmless I know, but still...). -aps On 10/26/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: Alexander Sack wrote: Because I'm using some of the Apache commons libraries, Maven2 is including some of their sub dependencies such as commons-logging which breaks my EAR. Is there a way to prevent this? Yes - declare it with scope provided. -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Build failure when compiling the jmeter plugin
In that case, I'd suggest contacting the plugin author directly. Or follow the instructions on the maven-compiler-plugin page to configure compiling with Java5. Wayne On 10/26/06, Jeff Mutonho [EMAIL PROTECTED] wrote: On 10/26/06, Wayne Fay [EMAIL PROTECTED] wrote: I would generally suspect you have not configured things properly: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html Wayne Hmmm I'm sure what I need to do really.I didnt write the plugin.I downloaded the the plugin source(as it is not supplied prebuilt) from the author's website and it came with the following pom : project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; modelVersion4.0.0/modelVersion groupIdorg.apache.jmeter/groupId artifactIdmaven-jmeter-plugin/artifactId packagingmaven-plugin/packaging version1.0-SNAPSHOT/version nameMaven JMeter Plugin/name urlhttp://jakarta.apache.org/jmeter/url dependencies dependency groupIdant/groupId artifactIdant/artifactId version1.6/version /dependency dependency groupIdcommons-io/groupId artifactIdcommons-io/artifactId version1.2/version /dependency dependency groupIdorg.apache.maven/groupId artifactIdmaven-plugin-api/artifactId version2.0/version /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version3.8.1/version scopetest/scope /dependency dependency groupIdorg.apache.jmeter/groupId artifactIdjmeter/artifactId version2.2/version /dependency /dependencies /project and the instructions say run 'mvn install' to install the plugin. So I'm not sure how I would need to configure the maven-compiler-plugin. Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - 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]
[Fwd: Re: can't delete project from continuum, foreign key violation]
Forwarding this to the list as it did the trick for me! -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com ---BeginMessage--- You can try to delete all build definitions from your project first, than you delete your project. Emmanuel [EMAIL PROTECTED] a écrit : I need help with deleting a project from continuum 1.0.3. There are a few projects left. I had more and deleted all the experimental ones. But two of them remain toughly with that exception: ognl.MethodFailedException: Method removeProject failed for object [EMAIL PROTECTED] [javax.jdo.JDOUserException: One or more instances could not be deleted NestedThrowables: javax.jdo.JDODataStoreException: Delete request failed: DELETE FROM BUILDDEFINITION WHERE ID = ? NestedThrowables: SQL Exception: DELETE on table 'BUILDDEFINITION' caused a violation of foreign key constraint 'PROJECT_BUILP8_FK2' for key (59). The statement has been rolled back.] at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:796) at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:61) at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:819) at ognl.ASTMethod.getValueBody(ASTMethod.java:75) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:378) at ognl.Ognl.getValue(Ognl.java:357) at org.codehaus.plexus.formica.action.DeleteEntity.uponSuccessfulValidation(DeleteEntity.java:57) at org.codehaus.plexus.formica.action.DeleteEntity.execute(DeleteEntity.java:47) at org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve.java:68) at org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipeline.java:70) at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54) at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567) at org.mortbay.http.HttpContext.handle(HttpContext.java:1807) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1757) at org.mortbay.http.HttpServer.service(HttpServer.java:879) at org.mortbay.http.HttpConnection.service(HttpConnection.java:789) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520) /-- Encapsulated exception \ javax.jdo.JDOUserException: One or more instances could not be deleted at org.jpox.AbstractPersistenceManager.deletePersistentAll(AbstractPersistenceManager.java:1438) at org.jpox.store.rdbms.scostore.ElementContainerStore.clear(ElementContainerStore.java:595) at org.jpox.store.mapping.CollectionMapping.preDelete(CollectionMapping.java:304) ... - 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] ---End Message---
Re: Preventing sub-dependencies from being included in an EAR
Yea but this is even more clunky. I essentially migrated away from that (for example in a pure ant build I had to use the excludes primitives for WARs thatwere linking against common global project libraries). I'm very happy with the Maven2 stuff for the most part. Much cleaner overall (with a little planning). I also think that ant/maven2 can work together very nicely (one does not neccessarily have to replace the other). -aps On 10/26/06, Wayne Fay [EMAIL PROTECTED] wrote: Actually if you can track down where the unwanted dependencies are coming from, you can add an excludes directly to that dependency node to specifically exclude those artifacts. For example, Ear depends on war, ejb, jar; war depends on logging; thus logging ends up in EAR. You should be able to exclude this via: ear/pom.xml dependency artifactIdwar/ excludes exclude artifactIdlogging/ Wayne On 10/26/06, Alexander Sack [EMAIL PROTECTED] wrote: Thanks David, that's what I did. Its a little odd that you have duplicate entries for the same dependency (btw, mvn shoots out warnings regarding override scope, harmless I know, but still...). -aps On 10/26/06, David J. M. Karlsen [EMAIL PROTECTED] wrote: Alexander Sack wrote: Because I'm using some of the Apache commons libraries, Maven2 is including some of their sub dependencies such as commons-logging which breaks my EAR. Is there a way to prevent this? Yes - declare it with scope provided. -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://mp3.davidkarlsen.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
RE: How to configure a checksumPolicy ?
Any status on this one? I would love to make the change or use the change. It appears that about 25-30% of what I need has bad checksums including most of the native plugins such as clean, deploy etc. This means that I can't do much without being able to turn off the checksum feature. Any ideas would be appreciated. Is there a way to turn this off temporarily so I can at least move forward with some testing by manually modifying the XML files? Thanks Scott D. Ryan Senior Java Developer/Architect -Original Message- From: Nicolas DE LOOF [mailto:[EMAIL PROTECTED] Sent: Monday, October 23, 2006 6:57 AM To: archiva-users@maven.apache.org Subject: Re: How to configure a checksumPolicy ? I have something that may work but can't build archiva for now due to network errors accessing http://people.apache.org/repo/m2-snapshot-repository My patch will require to add a boolean attribute to ProxiedRepositoryConfiguration, that is generated by modelo. Is there some design / formatting rules to know for editing mdo files, or can I consider them just beeing XML files ? Nico. Brett Porter a écrit : We could add it to the proxy configuration page. Did you want to take a look at providing a patch? Should be quite straightforward. On 20/10/2006, at 10:13 PM, Nicolas DE LOOF wrote: I have errors using archiva as a proxy due to bad checksums on ibiblio. Is there any way to set the checksumPolicy to WARNING in archiva ? Nico. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. -- This message is intended only for the personal and confidential use of the designated recipient(s) named. If you are not the intended recipient of this message, you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Aurora Loan Services. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Re: [m2] copy files to manifest folder
In a WAR, the META-INF information from src/main/resources/META-INF goes into the folder: target/${artifact}-${version}/WEB-INF/classes/META-INF/your-file Which eventually ends up in your WAR as: /WEB-INF/classes/META-INF/your-file You can test this for yourself by making a sample WAR project and playing with files, configuration, etc. Wayne On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: thats not true wor packaging war?! istn't it? fredy -Ursprüngliche Nachricht- Von: Wayne Fay [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Oktober 2006 16:07 An: Maven Users List Betreff: Re: [m2] copy files to manifest folder The location of the META-INF folder is generally src/main/resources/META-INF. I'd tell your ant task to output its file there, or perhaps to target/classes/META-INF. Wayne On 10/26/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, is it possible to access the location(folder) of the manifest File? I've a ant goal wich will copy a file to thios location. But i won't tell maven the hardcoded location. 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] - 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: Missing dependency of xmlwriter
Email the authors of XMLWriter or XMLEnc and ask them to create a Maven bundle for this version. Its possible the XMLEnc people have already done so but host it themselves rather than in Maven's repo. Wayne On 10/26/06, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: xmlwriter-2.2 has a dependency on xmlenc-0.39. However, this version is not in the M2 repository, so my attempts to download it are failing. Is there some other repository with this file? If not, how can I report this so the maintainers will upload the required version? http://repo1.maven.org/maven2/xmlwriter/xmlwriter/2.2/ http://repo1.maven.org/maven2/xmlenc/xmlenc/ -- Daniel Siegmann FJA-US, Inc. (212) 840-2618 ext. 139 - 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: Add Directory to Jar Manifest Classpath
I don't understand. 2.2 is the plugin version, not the maven version, right? That appears to be released. For me, it's what maven just uses; I didn't do anything special. Paul Syvalta wrote: pjungwir wrote: Syvalta wrote: But that doesn't work for me, see: http://jira.codehaus.org/browse/MJAR-60. I didn't get any error with a trailing slash inside Class-Path. JIRA says this is fixed against 2.2. I'm not sure why the bug is still open in that case. . . . There isn't snapshot of 2.2 yet, so I didn't test with that, so I can't confirm. However, as I understand it, fix for means that is should be fixed before that release, not that it's fixed. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a7014719 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ftp-wagon Unrecognised tag: 'extensions'
I'm not positive, but I think that extensions block will just make wagon-ftp available as it is needed. I think it's the maven-deploy-plugin that does the work of picking what to send. But maybe someone with more knowledge of multi-module builds can help? Paul Jeff Mutonho wrote: On 10/25/06, pjungwir [EMAIL PROTECTED] wrote: Hi Jeff, What is the benefit of loading wagon-ftp in a profile? That extensions block doesn't per se do anything; it just makes wagon-ftp available. I guess you're loading it for the sake of the sftp:// repository in the top-level POM? Then why not just put extensions up there, too (with no profile)? Paul -- If I put it in the top-level POM , how will it know which ear file to ftp to the sftp:// repository ? My build results in two different ear files, one with a web application and another with some ejb application.The reason for having two different ears is that the two ears are deployed differently and they serve different purposes. Basically all I want to do is ftp two ear files at the end of my build to my sftp:// repository.That's all I wanna do. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ftp-wagon-Unrecognised-tag%3A-%27extensions%27-tf2496953.html#a7014831 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven plugin execution phase: post-site?
Hello, @execute means that when the mojo is run, it should spawn a separate lifecycle and run everything up to the given phase before running itself. It's useful for running a mojo from the command line like mvn plugin:mojo, but it's problematic when you want to bind the mojo to a phase. In your pom, you're binding your plugin to the site phase. So when maven gets there, it processes your mojo. It sees the mojo's @execute tag, so it spawns a separate lifecycle, runs everything from the beginning up to post-site, then runs your mojo. So first remove the @execute tag. Then either change the pom so you're binding the mojo to the post-site phase, or use the @phase tag to set a default phase of post-site, and don't give any phase in your pom. Paul kovalen pechaycaren wrote: Hi, I am writing a maven plugin to be run on other projects. It needed to be executed after the site phase. For a multi-project (one parent and several modules), how to I configure the plugin to be run after reports have been generated for all modules? The problem is that the plugin is being run DURING the site phase (which results in a number of invocation when only one for a project was expected) when i include the following in the parent pom: plugin groupIdcom.accenture.collab.maven.plugin/groupId artifactIdcollab-quality/artifactId version0.1-SNAPSHOT/version executions execution phasesite/phase goals goalquality/goal /goals /execution /executions /plugin I have also included the following in my plugin's mojo, but no success: * @execute phase=post-site Anyone can help? Thanks -- Kovalen -- View this message in context: http://www.nabble.com/maven-plugin-execution-phase%3A-post-site--tf2513362.html#a7014966 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Cactus with Maven 2
Hi Mohan, There is an integration-test phase that comes after package. But if you really want to test inside a container, you probably want to use a continuous-build system, unless you tell maven to deploy to the app server during package. Paul Mohan Gopal wrote: Hi, I have been trying to run cactus test cases with Maven 2 using all possible approaches and to no avail. Would be grateful if someone can answer the following 1. Is there any cactus plugin for Maven 2. There is absolutely no documentation on this plugin. Anything, a sample code would help very much. 2. Testing life cycle stage comes before packaging life cycle stage. An in-container test, as we do with cactus, cannot be done unless you deploy your application. So there is this contradiction - you cannot test unless you deploy and you cannot deploy unless you test. Did someone think about itand can share what did they finally decide on :) Thanks, Mohan __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Using-Cactus-with-Maven-2-tf2513964.html#a7015077 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Using Cactus with Maven 2
On 10/26/06, Mohan Gopal [EMAIL PROTECTED] wrote: 1. Is there any cactus plugin for Maven 2. There is absolutely no documentation on this plugin. Anything, a sample code would help very much. There was some activity at Cactus earlier this year, but nothing recently. 2. Testing life cycle stage comes before packaging life cycle stage. An in-container test, as we do with cactus, cannot be done unless you deploy your application. See the 'integration-test' phases, here: http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Once upon a time I had the Cactus tests for the Struts Taglibs running under Maven 2. Here's the relevant project, which was moved to the sandbox: http://svn.apache.org/repos/asf/struts/sandbox/trunk/apps-test/taglib-it/pom.xml -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: settings.xml ignored
Do you have multiple profiles? Try to use help:active-profiles from the command line under the project directory which has the pom.xml. Thanks. LJ On 10/26/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: LJ, I have it as: ... profiles profile iddefault/id activation activeByDefault/ /activation ... /profile ... and then I also have: activeProfiles activeProfiledefault/activeProfile /activeProfiles Is there a way to display the active profiles in continuum? I tried to setup a build with help:active-profiles but I don't see where is the output going. I checked the log files for it and it was not there. thanks, Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: scp a war to remote location
Thanks Wendy!, Do you deploy to a remote Tomcat? Could you post the part of your pom that does it? ,chris On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote: How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure out what to do in maven to make it happen. Definitely take a look at Cargo, which claims support for remote deployment to JBoss. (I use Cargo with Tomcat.) Alternately... it seems like I saw 'run a script' on the Continuum menu, so that might well be easier if you know that's all it will take. -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[OT][ANN] JAVAWUG BOF 23 / Skills Matter Sun London / 15 Sept 2006 @ 18:30 / Open Space Discussion
Hi I would like to formally announce that ``JAVAWUG'' (Java Web User Group) is holding the Twenty Third Birds-of-Feather at the Skills Matter's London Office on Wednesday, 15th Novemeber 2006 from 18:30. +-+--+ | TWO QUESTIONS | Open Space Technology Style Discussion | +-+--+ Concept to follow an open space technology discussion forum. There will be two themes for the night, about forty five minutes approximately for each one. --- Question 1: Okay. What Is the Future of Java Web Development? --- This theme will be looking back over the recent innovations over the last two or three years. Of this will cover the invention or discovery of asynchronous JavaScript and XML, JSON, DOM dynamic incremental update technologies. It will also cover the battle between JavaScript and proprietary media content on the web, where does Java the platform and the language fit in? --- Question 2: How Are We Now Going to Architect the New Enterprise? --- This theme will tackle the challenges we face with the new enterprise development for the rest of `The Noughties'. We are particularly interested in the impact of Java Enterprise Edition to the businesses, and to the community of developers. We want to know what kinds of technologies will be changing the way Java software is created for business and the real-world. How will these technologies change the architecture and design for new application that are just a glimmer in the eye right here right now. We will look at where we are now. Some of us are still on the J2EE 1.4 track on our day-jobs, whilst some of us are just starting to get acquainted with Java EE 5 and beyond. It is an exciting road ahead for all of us. For more information go here http://jroller.com/page/javawug?entry=announcement_javawug_bof_23_skills Thanks very much -- Peter Pilgrim JUG Leader( JAVAWUG http://jroller.com/page/javawug ) Registration http://developers.sun.com/jugs/display/europe/gbr/london ) ( ( ( ( ( ( )\( ( )\)\))( ' ( )\ ) )_)( )\ )_)( ((_)()\ ))\(()/( ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __| | || |/ _ \ \ V / / _ \ \ \/\/ /| |_| | | (_ | \__//_/ \_\ \_/ /_/ \_\ \_/\_/ \___/ \___| Visit our website at http://www.ubs.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems running a JSF application on Jetty:Run
I can't discover the problem in this strack trace... I'm running RI JSF implementation + tomahawk + ADF Faces: this is the pom.xml dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.0/version scopetest/scope /dependency dependency groupIdhibernate/groupId artifactIdhibernate/artifactId version3.0/version scopecompile/scope /dependency dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.12/version scopecompile/scope /dependency dependency groupIdojdbc/groupId artifactIdojdbc/artifactId version14/version scopecompile/scope /dependency dependency groupIdoracle.adf/groupId artifactIdadf-faces-impl/artifactId version10.1.3.0.4/version scopecompile/scope /dependency dependency groupIdoracle.adf/groupId artifactIdadf-faces-api/artifactId version10.1.3.0.4/version scopecompile/scope /dependency dependency groupIdoracle.adf/groupId artifactIdadf-facelets/artifactId version1.0/version scopecompile/scope /dependency dependency groupIdjavax.faces/groupId artifactIdjsf-impl/artifactId version1.1/version scopecompile/scope /dependency dependency groupIdjavax.faces/groupId artifactIdjsf-api/artifactId version1.1/version scopecompile/scope /dependency dependency groupIdorg.apache.shale/groupId artifactIdshale-test/artifactId version1.0.3/version scopetest/scope /dependency dependency groupIdmyfaces/groupId artifactIdtomahawk/artifactId version1.1.2/version scopecompile/scope /dependency dependency groupIdcommons-configuration/groupId artifactIdcommons-configuration/artifactId version1.3/version scopecompile/scope /dependency dependency groupIdjavax.mail/groupId artifactIdmail/artifactId version1.4/version scopecompile/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdservlet-api/artifactId version2.5/version scopecompile/scope /dependency dependency groupIdjavax.servlet/groupId artifactIdjstl/artifactId version1.1.2/version scopecompile/scope /dependency dependency groupIdcommons-validator/groupId artifactIdcommons-validator/artifactId version1.1.4/version scopecompile/scope /dependency dependency groupIdoro/groupId artifactIdoro/artifactId version2.0.8/version scopecompile/scope /dependency dependency groupIdjaybird/groupId artifactIdjaybird-full/artifactId version2.0.1/version scopecompile/scope /dependency dependency groupIdcommons-el/groupId artifactIdcommons-el/artifactId version1.0/version scopecompile/scope /dependency /dependencies build finalNamesagweb/finalName plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin plugin groupIdorg.mortbay.jetty/groupId artifactIdmaven-jetty-plugin/artifactId configuration connectors connector implementation= org.mortbay.jetty.nio.SelectChannelConnector port8081/port /connector /connectors /configuration /plugin /plugins /build /project And this is the error: (But I look to the error and it seems to me the application is using the myfaces implementation) 2006-10-26 15:29:44.015::WARN: /sagweb/faces/accesscontrol/login.jspx java.lang.IllegalStateException: STREAM at org.mortbay.jetty.Response.getWriter(Response.java:470) at org.apache.myfaces.renderkit.html.util.DefaultAddResource.writeRespon se(DefaultAddResource.java:807) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (Extensions Filter.java:162) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (Servlet Handler.java:1041) at org.mortbay.jetty.servlet.ServletHandler.handle(
Re: Add Directory to Jar Manifest Classpath
pjungwir wrote: I don't understand. 2.2 is the plugin version, not the maven version, right? That appears to be released. For me, it's what maven just uses; I didn't do anything special. Yes, the version of jar-plugin. To my knowledge 2.1 is the latest version (see http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/). Jira lists both 2.1 and 2.2 unreleased ( which is wrong for the latter). Are you sure you have checked the version of the correct plugin? Yuo can check the version with command mvn -Dplugin=jar help:describe. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a7016118 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Add Directory to Jar Manifest Classpath
That's a very handy command! You're right, it says 2.1. Yesterday I tried running with -X, and I thought it said it was getting 2.2, but now -X also says 2.1, so I must have made a mistake. My apologies! But the trailing slash still works on my system. :-) But I'm running linux, and the bug is filed against windows Paul Syvalta wrote: pjungwir wrote: I don't understand. 2.2 is the plugin version, not the maven version, right? That appears to be released. For me, it's what maven just uses; I didn't do anything special. Yes, the version of jar-plugin. To my knowledge 2.1 is the latest version (see http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-plugin/). Jira lists both 2.1 and 2.2 unreleased ( which is wrong for the latter). Are you sure you have checked the version of the correct plugin? Yuo can check the version with command mvn -Dplugin=jar help:describe. -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a7016303 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changelog-maven-plugin and scm error
That did the trick Stoddarn!! This is my plugin declaration in my pom.xml now. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-changelog-plugin/artifactId configuration basedir${basedir}/basedir /configuration version2.0-SNAPSHOT/version /plugin stoddarn wrote: Other Notes 1) I am not using the standard Maven directory structure. All I am supposed to do with Maven is create a project site for an existing project using mvn site:site. I don't know if this will help, but did you try using the basedir element under the changelog plugin configurations to set the source directory? configuration ... basediryourDir/main/java/basedir /configuration 2) Is there any way to get some more feedback regarding the error? My problem here is that I have NO IDEA where things are going wrong so I don't know where to start fixing. To turn on error stacktraces: mvn site -e To turn on debuging: mvn site -X Hope this helps, -Nate - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/changelog-maven-plugin-and-scm-error-tf2227141.html#a7016735 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Add Directory to Jar Manifest Classpath
SingleShot wrote: I am building an executable JAR that depends on a handful of other JARs and a few config files being on the classpath. I want the config files to be editable by the end user, so did not add them as internal JAR resources. I've configured the maven-jar-plugin to generate a manifest and add the dependencies to its classpath (and create a mainclass entry), but cannot figure out how to configure it to add my config directory (containing the config files) to the classpath. Is it possible to add a directory to the classpath of a Maven-generated Manifest? Hi, I had exactly the same problem. This is not a maven but a (sun?) Java problem: Executable jars use a classloader that can only load resources/classes from other jars and not from the file system. I found this documented somewhere under java.sun.com. So I had to stop using executable jars :-( best regards Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [archiva] disabling the checksum policy
That is an ongoing discussion that everyone is having with the current repos. There was a suggested fix proposed on the mailing list earlier this week but no details or description of when or how to get it into the source tree. It seems like if you cannot download most of the maven base plugins people must be using this project in some different manner. I am more than happy to make the change locally if I can get some direction. If not I will run through the source tonight to see if I can come up with a fix. If any one has any suggestions I would welcome them. Scott D. Ryan Senior Java Developer/Architect Aurora Loan Services 10350 Park Meadows Drive Littleton, Co. 80124 Office: (720) 945-5328 Cell:(303) 263-3044 [EMAIL PROTECTED] -Original Message- From: Raphaël Piéroni [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 6:07 AM To: archiva-users@maven.apache.org Subject: [archiva] disabling the checksum policy Hi, I have configured some proxies (central, mergere, java.net) into a repository. I also have configured my settings.xml to use my archiva proxy instead of the central repository (using the mirror element) When i try to deploy a project (with pom packaging) it fails saying the deploy plugin is not found. When i disable my mirroring, it finds the plugin with warning on checksum. When i 'tail -f' the archiva logs (and using the mirror) it also complains on checksum but also says it don't use the deploy plugin because of that checksum. My question is : how to configure archiva not to perform checksum failures on certains proxied repositories (if it could be fine grained,...) Many thanks for any help. Regards, Raphaël -- This message is intended only for the personal and confidential use of the designated recipient(s) named. If you are not the intended recipient of this message, you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Aurora Loan Services. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Configuring a repository backed by SCM
Hi All, I would very much like to be able to set up a Maven repository that is backed by source control. I know this is a contentious issue and people question the necessity of such a setup, but it the single greatest issue for me blocking Maven adoption, and one way or another I'd like to find a solution. I stumbled across this blog posting by Brett that mentions that he has it was doable using SVN/CVS http://blogs.codehaus.org/people/brett/archives/001066_storing_your_mave n_repository_in_cvssubversion.html Is an SCM backed repository something that Maven does or potentially could support? If so I would be very interested I contributing to such an effort. Any pointers or information that anyone can give me in this direction would be greatly appreciated Rgds, stephen
Migrating maven repo to a new machine
Hi, We are planning to move the maven repository to a new build machine. Is there a recommended process/steps ? (How to,...etc) Please advise. (This maven repository is used by 2-3 different project teams and is very imp for a smooth migration.) thanks --Prashanth __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: ftp-wagon Unrecognised tag: 'extensions'
You are correct in the fact that adding an extensions element will only make the extension available, but does not need that you need to use it. In any case, Jeff, just add the ftp extension in the top-level build element, and then define how they are used (distributionManagement) in the profiles. Eric On 10/26/06, pjungwir [EMAIL PROTECTED] wrote: I'm not positive, but I think that extensions block will just make wagon-ftp available as it is needed. I think it's the maven-deploy-plugin that does the work of picking what to send. But maybe someone with more knowledge of multi-module builds can help? Paul Jeff Mutonho wrote: On 10/25/06, pjungwir [EMAIL PROTECTED] wrote: Hi Jeff, What is the benefit of loading wagon-ftp in a profile? That extensions block doesn't per se do anything; it just makes wagon-ftp available. I guess you're loading it for the sake of the sftp:// repository in the top-level POM? Then why not just put extensions up there, too (with no profile)? Paul -- If I put it in the top-level POM , how will it know which ear file to ftp to the sftp:// repository ? My build results in two different ear files, one with a web application and another with some ejb application.The reason for having two different ears is that the two ears are deployed differently and they serve different purposes. Basically all I want to do is ftp two ear files at the end of my build to my sftp:// repository.That's all I wanna do. -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/ftp-wagon-Unrecognised-tag%3A-%27extensions%27-tf2496953.html#a7014831 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Eric Redmond http://codehaus.org/~eredmond
Re: Configuring a repository backed by SCM
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-scm/ On 10/26/06, Gargan, Stephen [EMAIL PROTECTED] wrote: Hi All, I would very much like to be able to set up a Maven repository that is backed by source control. I know this is a contentious issue and people question the necessity of such a setup, but it the single greatest issue for me blocking Maven adoption, and one way or another I'd like to find a solution. I stumbled across this blog posting by Brett that mentions that he has it was doable using SVN/CVS http://blogs.codehaus.org/people/brett/archives/001066_storing_your_mave n_repository_in_cvssubversion.html Is an SCM backed repository something that Maven does or potentially could support? If so I would be very interested I contributing to such an effort. Any pointers or information that anyone can give me in this direction would be greatly appreciated Rgds, stephen -- Eric Redmond http://codehaus.org/~eredmond
RE: download artefacts from managed repositories
I will give the line 187 thing a shot and see how it works although with the latest build it seems to be working again and all repositories are accessed via the proxy. This has shown me that I really need some way to control what is accessed via the proxy and the order so it looks like I have to make all my accesses via a repoid. I have not had any luck with the repoid but let me try again. I want to avoid getting artifacts from the wrong repo. We actually package our ears with different build plans and properties for different environments so we actually need to keep copies of the artifacts for the various environments. Also for different environments various people have access to different repositories. For example dev cannot access the Qa, stage, or prod artifacts. Other groups can see some and not others. In reviewing the security overview that was implemented it seemed to indicate there might be a way to secure repositories from update based on the framework. I would think this would require you to do deployments via the archiva url. Maybe this is coming in the future. Any way lets keep up this discussion and it will ferret out some of the needs for the offering and we can document a complex enterprise usecase for others to benefit from. I will make the fix and see how it works then I can clarify my actual final implementation of repositories. Another thing I am struggling with is how to separate the artifacts during the build phase. In maven 1 I used a property to dynamically change the local repo based on the build profile. For example for dev builds I used c:mavenrepodev and for stage c:mavenrepostage. Since maven 2 does not allow you to do much with properties inside the pom I can't seem to find a solution. I tried using the group id and changing it based on a property but that is not working. For example if my group id was Scott I might use dev.scott for dev and qa.scott for qa etc. I am still trying to find a way to separate the artifacts based on build environment. It is pretty easy to change the remote repositories based on a profile however I cannot figure out how to change the local repository or the artifact name to insure I am always using consistent artifacts. For example if artifact 1 relies on artifact 2 I want to make sure when I build for dev I get the two artifacts that were built with the dev profile and qa etc. This discussion is useful and I look forward to more information coming onto this list and getting more of the functionality worked out and some best practices documented. So to clarify my current repo layout I have the following repos: Oss - proxied to the maven repos Snapshot oss - proxied to maven snapshot repos Internal - Internally developed libraries that are not built by our group Licensed - Licensed software jars OtherOss - jars not available via proxy like jta and mail Dev - dev artifacts that we build from our source Qa - qa artifacts that we build from our source Stage - stage artifacts that we build from our source Prod - production artifacts we build from our source I will probabaly create a snapshot repo to use for our continuum and cruise control builds so I can delete artifacts and manage the size. That is a good I idea I had not thought of that you suggest. I am still struggling with the checksum issue when downloading up to 30% of my artifacts from the proxy. Another issue I am seeing is that many of my artifacts are not being indexed. I wonder if this is because not all the related artifacts are stored in the archiva repository due to the checksum issue or just do to the checksum issue itself. I will look in to the logs more to see what is going on. Thanks for the dialog!! Scott D. Ryan Senior Java Developer/Architect -Original Message- From: Mohni, Daniel [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 12:00 AM To: archiva-users@maven.apache.org Subject: RE: download artefacts from managed repositories Hi Scott Answers inline... I am having a similar issue. I have defined several managed repositories but the only ones that are consulted for artifacts are those that have proxies defined. I got around that by creating dummy managed repositories and proxying them out to the real ones but that is not a very secure solution. if you remove line 187 of the 'DefaultProxyManager' you can access all managed repositories without the use of dummies. This was the way it was handled a few revisions earlier... - the download button on the web-app will not work anymore, but this only works if you have only 1 repository... Here are some questions that I would love to understand when setting up my repos. Can I push artifacts to specific managed repositories via the proxy url. (ie. http://localhost:8080/archiva/proxy/repoId/) As far as I know you currently can not publish tru archiva Can I download artifacts from only certain repositories if desired (ie.
Re: Continuum Startup error even though JAVA_HOME is set up
Does that mean, I will need to modify the run.bat (for Windows NT) to include Maven Home and Ant Home? But I don't see it referring to Maven home and Ant Home in the bat file. I still haven't solved the problem. Please help with more hints. Thanks Naess, Ronny wrote: I had simulare problems on Solaris. I ended up specifying JAVA_HOME and M2_HOME and updating PATH with M2_HOME\bin inside run.sh As I now JAVA_HOME must exist and maven/ant must exist in path when running continuum. For me it was not enough to specify them in user environment -Ronny -Opprinnelig melding- Fra: datech [mailto:[EMAIL PROTECTED] Sendt: 25. oktober 2006 02:17 Til: continuum-users@maven.apache.org Emne: Continuum Startup error even though JAVA_HOME is set up I did find this problem in forums but the resolution specified didn't work for me. I do have JAVA_HOME set up in my system and also I tried modifying the wrapper.conf to specify the absolute path to my JAVA_HOME instead of it using %JAVA_HOME%, but that didn't work too. I am getting this error while trying to start up Continuum from Win32/run.bat script | Critical error: wait for JVM process failed Press any key to continue . . . Please suggest what else could I change to make it work. -- View this message in context: http://www.nabble.com/Continuum-Startup-error-even-though-JAVA_HOME-is-s et-up-tf2504948.html#a6984052 Sent from the Continuum - Users mailing list archive at Nabble.com. !DSPAM:453ead19231834409620359! -- View this message in context: http://www.nabble.com/Continuum-Startup-error-even-though-JAVA_HOME-is-set-up-tf2504948.html#a7019334 Sent from the Continuum - Users mailing list archive at Nabble.com.
Re: settings.xml ignored
LJ, Yes, I have a multiple module project and multiple profiles. If I check out the source code to the build machine and run mvn help:active-profiles from command line as the continuum user I get the expected result (default is active). Which means the settings.xml is found by maven. However, in continuum if I check my project on the Project View screen I have the SCM Url field noted as: scm:svn:${scm.base.url}/commons/trunk If I click on build project, I get the error: Changes No files changed Build Error: Exception: Cannot checkout sources.${scm.base.url}/commons/trunk url isn't a valid svn URL. The scm url is invalid. At the build definitions section I even added -Ddefault as command line argument. Also, the Profile field displays DEFAULT (note the lowercase uppercase difference). If I check the work folder what continuum says, my projects should be its empty (/.../builder/apps/work/27 for this one, but work is empty.). I don't know if that is an issue. thanks, Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
[ANN] Proximity RC5 rolled out!
Hi all, Proximity Release RC5 is here! RC5 has fixed many major defects. There are no much new features on the surface, but the code has ben cleaned up. One important new feature is negative caching, ability to tune for how long should Proximity rember the 404 remote requests. For details, visit Proximity site http://proximity.abstracthorizon.org/ Have fun, ~t~ === Tamás Cservenák @ Abstracthorizon.org Proximity and other goodies
Re: Missing checkstyle documentation ?
Hi I've uploaded a freshly generated copy instead of the empty file. It will be available on the web within a couple of hours, when the site has been synced. I didn't publish the complete site, just the empty file. -- Dennis Lundberg LAMY Olivier wrote: Thanks for confirmation ;-) Can a friendly maven dev redeploy the documentation ? Or I need to load an issue in jira ? (like in the french administration : take a ticket and wait your time ;-)). I can certainly do it in local : svn co http://svn.apache.org/repos/asf/maven/plugins/tags/maven-checkstyle-plugin-2.1/ maven-checkstyle-plugin cd maven-checkstyle-plugin mvn site But a friendly maven dev could do this : svn co http://svn.apache.org/repos/asf/maven/plugins/tags/maven-checkstyle-plugin-2.1/ maven-checkstyle-plugin cd maven-checkstyle-plugin mvn site-deploy I'm sure all people using the plugin will appreciate this (because some people due to some firewall policies doesn't have acces to the svn apache repo and can't rebuild the documentation) -- Olivier -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Envoyé : vendredi 22 septembre 2006 10:38 À : users@maven.apache.org Objet : RE: Missing checkstyle documentation ? Hi It's not missing (would have given a 404) - It's just empty -Original Message- From: LAMY Olivier [mailto:[EMAIL PROTECTED] Sent: Friday, September 22, 2006 9:13 AM To: users@maven.apache.org Subject: Missing checkstyle documentation ? Hi, Do I have a problem with my internet connection or my proxy or I need to drink more coffee ;-) But the page [1] seems to missing. Can someone comfirms this ? Thanks, -- Olivier [1] http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo. html This e-mail, any attachments and the information contained therein (this message) are confidential and intended solely for the use of the addressee(s). If you have received this message in error please send it back to the sender and delete it. Unauthorized publication, use, dissemination or disclosure of this message, either in whole or in part is strictly prohibited. ** Ce message electronique et tous les fichiers joints ainsi que les informations contenues dans ce message ( ci apres le message ), sont confidentiels et destines exclusivement a l'usage de la personne a laquelle ils sont adresses. Si vous avez recu ce message par erreur, merci de le renvoyer a son emetteur et de le detruire. Toutes diffusion, publication, totale ou partielle ou divulgation sous quelque forme que se soit non expressement autorisees de ce message, sont interdites. ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This email with attachments is solely for the use of the individual or entity to whom it is addressed. Please also be aware that the DnB NOR Group cannot accept any payment orders or other legally binding correspondence with customers as a part of an email. This email message has been virus checked by the anti virus programs used in the DnB NOR Group. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - 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: Add Directory to Jar Manifest Classpath
Are you sure that documentation wasn't talking about applets? I've run executable jars with Class-Path manifest entries referencing the filesystem many times. Paul berndq wrote: SingleShot wrote: I am building an executable JAR that depends on a handful of other JARs and a few config files being on the classpath. I want the config files to be editable by the end user, so did not add them as internal JAR resources. I've configured the maven-jar-plugin to generate a manifest and add the dependencies to its classpath (and create a mainclass entry), but cannot figure out how to configure it to add my config directory (containing the config files) to the classpath. Is it possible to add a directory to the classpath of a Maven-generated Manifest? Hi, I had exactly the same problem. This is not a maven but a (sun?) Java problem: Executable jars use a classloader that can only load resources/classes from other jars and not from the file system. I found this documented somewhere under java.sun.com. So I had to stop using executable jars :-( best regards Bernd - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Add-Directory-to-Jar-Manifest-Classpath-tf2504507.html#a7019847 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: settings.xml ignored
LJ, sorry for all the trouble. I just found out what the problem was. When I first run the add new project, the settings.xml file was not found. Hence the wrong scm url in that window. I deleted the projects and reimported them. This time the settings.xml was found, the project scm url now is correct and they build good. thanks for your help, I appreciate it. Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [m2] changes-maven-plugin - announcement-mail
Hi Fred Note that I have not tried this myself, but the docs: http://maven.apache.org/plugins/maven-changes-plugin/announcement-mail-mojo.html says that the from element is supposed to be a list. Reading http://maven.apache.org/guides/mini/guide-configuring-plugins.html would lead me to use something like this for a list: configuration ... from from[EMAIL PROTECTED]/from /from ... /configuration Give it a try and let us know if it works. -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hi, how can I configure the 'from' ? Do it like this: configuration xmlPath${basedir}/src/changes/xmlPath smtpHostxx.xx.xx.xx/smtpHost smtpPort implementation=java.lang.Integer xx /smtpPort from item implementation=java.lang.String[EMAIL PROTECTED]/item /from toAddresses toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress /toAddresses /configuration doesn't works ;-( It takes always the first developert from ${project.developers} 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Unable to change Checkstyle configuration file: path problem
Xavier Outhier wrote: Hi all, I'm using the Checkstyle plug-in and it works perfect with default or predefined. 1) But I would like to try another config file from JJGuidelines. I try to change to checkstyle-jjguidelines.xml by modifying the pom like this: reporting plugins [...] plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-checkstyle-plugin/artifactId configuration configLocationcheckstyle-jjguidelines.xml/configLocation /configuration /plugin [...] /plugins /reporting've added the checkstyle-jjguidelines.xml in I put the checkstyle-jjguidelines.xml and checkstyle-jjguidelines.jar in my project directory and it found it but I got the error: [INFO] Generate Checkstyle report. [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Error during page generation Embedded error: Error rendering Maven report: Failed during checkstyle configuration Unable to instantiate usage.UnusedLocalVariableCheck [INFO] I suppose it comes from that: within the compile scope of the dependencies or build extensions classpath. There is a class with name UnusedLocalVariableCheck in the jar. Where should I put the checkstyle-jjguidelines.jar? What should I add in my pom.xml or settings.xml? Have a look at the bottom of this page for instructions on how to use custom checks: http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html You might also want to make sure that the configuration you are using is for the same version of Checkstyle that the maven-checkstyle-plugin uses, which is 4.1. A couple of checks was dropped in Checkstyle 4.0. 2) I would like also to know where are located the 4 predefined config file listed on the Customization page: http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html These are put into the maven-checkstyle-plugin.jar file as resources in the config folder. Thank you, Xavier. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: settings.xml ignored
Hi Attila, I now have a question and need your help. You said that you have multiple profiles in the settings.xml. If this is the case, do you have 2 profiles using the same variables with different values? (example below) profiles profile idid_1/id sameVariablevalue1sameVariable/ ... /profile profile idid_2/id sameVariablevalue2sameVariable/ ... /profile profiles Does the Continuum pick up the correct values base on the profile you want to use? Thanks LJ On 10/26/06, Attila Mezei-Horvati [EMAIL PROTECTED] wrote: LJ, sorry for all the trouble. I just found out what the problem was. When I first run the add new project, the settings.xml file was not found. Hence the wrong scm url in that window. I deleted the projects and reimported them. This time the settings.xml was found, the project scm url now is correct and they build good. thanks for your help, I appreciate it. Attila __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [m2] changes-maven-plugin - announcement-mail
I've not configured this myself either, but I don't think this is valid XML: fromfrom.../from/from If it follows the standard Maven convention, it would be: fromsfrom.../from/froms Froms of course is not a word, but everything else is named such that outer node indicates multiple of inner node. Not sure what multiple from elements are other than froms. ;-) Wayne On 10/26/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Hi Fred Note that I have not tried this myself, but the docs: http://maven.apache.org/plugins/maven-changes-plugin/announcement-mail-mojo.html says that the from element is supposed to be a list. Reading http://maven.apache.org/guides/mini/guide-configuring-plugins.html would lead me to use something like this for a list: configuration ... from from[EMAIL PROTECTED]/from /from ... /configuration Give it a try and let us know if it works. -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hi, how can I configure the 'from' ? Do it like this: configuration xmlPath${basedir}/src/changes/xmlPath smtpHostxx.xx.xx.xx/smtpHost smtpPort implementation=java.lang.Integer xx /smtpPort from item implementation=java.lang.String[EMAIL PROTECTED]/item /from toAddresses toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress /toAddresses /configuration doesn't works ;-( It takes always the first developert from ${project.developers} 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] changes-maven-plugin - announcement-mail
Isn't froms in the concise configuration dictionary? :) I hope to find some time this weekend to play around with this. I'll report back... -- Dennis Lundberg Wayne Fay wrote: I've not configured this myself either, but I don't think this is valid XML: fromfrom.../from/from If it follows the standard Maven convention, it would be: fromsfrom.../from/froms Froms of course is not a word, but everything else is named such that outer node indicates multiple of inner node. Not sure what multiple from elements are other than froms. ;-) Wayne On 10/26/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Hi Fred Note that I have not tried this myself, but the docs: http://maven.apache.org/plugins/maven-changes-plugin/announcement-mail-mojo.html says that the from element is supposed to be a list. Reading http://maven.apache.org/guides/mini/guide-configuring-plugins.html would lead me to use something like this for a list: configuration ... from from[EMAIL PROTECTED]/from /from ... /configuration Give it a try and let us know if it works. -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hi, how can I configure the 'from' ? Do it like this: configuration xmlPath${basedir}/src/changes/xmlPath smtpHostxx.xx.xx.xx/smtpHost smtpPort implementation=java.lang.Integer xx /smtpPort from item implementation=java.lang.String[EMAIL PROTECTED]/item /from toAddresses toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress /toAddresses /configuration doesn't works ;-( It takes always the first developert from ${project.developers} 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] - 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: scp a war to remote location
Hi Chris, Take a look at the tomcat plugin http://mojo.codehaus.org/tomcat-maven-plugin/ The documentation is pretty good. Ben On 10/26/06, Christofer Jennings [EMAIL PROTECTED] wrote: Thanks Wendy!, Do you deploy to a remote Tomcat? Could you post the part of your pom that does it? ,chris On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote: How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure out what to do in maven to make it happen. Definitely take a look at Cargo, which claims support for remote deployment to JBoss. (I use Cargo with Tomcat.) Alternately... it seems like I saw 'run a script' on the Continuum menu, so that might well be easier if you know that's all it will take. -- 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]
Build directory
Hi, we're considering switching to maven2, but one issue is currently blocking us. We have all our sources and projects in a dynamic ClearCase environment. Development work can be done in a Windows or a Linux environment. For performance reasons, we *really* want the build output to be diverted to a local disk and this could be configured in a profile. However, we also want the build to work out of the box without any configuring at all--in this case the build output should be according to convention. So I want to be able to have a profile that *completely* diverts *all* build output to a different file system, effectively mirroring the conventional setup w.r.t. output. :convention: /view/xyz/proj/src/... /view/xyz/proj/target/.. :design profile: /view/xyz/proj/src/... c:\blabla\xyz\proj\target\... I also want this to be defined generically so we do not have to declare output directories for each child project, since we have, or will have, a lot of them. It should also work for the eclipse plugin, so that we can set up an eclipse workspace based on the design profile. However, this has proven to be beyond my current maven capability. There's always a snag somewhere--recursive expressions, maven-eclipse-plugin failures etc. If someone has achieved this setuo, please share your knowledge. Thanks. /per norrman -- View this message in context: http://www.nabble.com/Build-directory-tf2517532.html#a7021764 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Configuring a repository backed by SCM
Hi, Eric. I have successfully set up a static repository, which I can declare as both a repository and a plugin repository. The access method is file://. I haven't put it into source control, but I have no doubt at all that I could put the whole thing into ClearCase and get to it from a ClearCase dynamic view. A static view, which is similar to what you use with SVN or CVS, could simply be arranged for on a mounted filesystem and kept up to date with a cron job. My starting-point for deciding what the repository needed was the contents of a local repository from a recent build. I grabbed the needed artifacts from a maven-proxy that someone maintains here. I haven't pursued it further. This was a proof-of-concept exercise that my management wanted me to do. To add more needed artifacts, download them with wget and check them in. --Mariyn -Original Message- From: Eric Redmond [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:11 PM To: Maven Users List Subject: Re: Configuring a repository backed by SCM http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-scm/ On 10/26/06, Gargan, Stephen [EMAIL PROTECTED] wrote: Hi All, I would very much like to be able to set up a Maven repository that is backed by source control. I know this is a contentious issue and people question the necessity of such a setup, but it the single greatest issue for me blocking Maven adoption, and one way or another I'd like to find a solution. I stumbled across this blog posting by Brett that mentions that he has it was doable using SVN/CVS http://blogs.codehaus.org/people/brett/archives/001066_storing_your_ma ve n_repository_in_cvssubversion.html Is an SCM backed repository something that Maven does or potentially could support? If so I would be very interested I contributing to such an effort. Any pointers or information that anyone can give me in this direction would be greatly appreciated Rgds, stephen -- Eric Redmond http://codehaus.org/~eredmond - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: scp a war to remote location
That's funny :) the link goes to a page that says There is currently no description associated with this project. :) ... Thanks for the lead, I'll look at it. Just had to enjoy the humor while it was fresh :) On 10/26/06, ben short [EMAIL PROTECTED] wrote: Hi Chris, Take a look at the tomcat plugin http://mojo.codehaus.org/tomcat-maven-plugin/ The documentation is pretty good. Ben On 10/26/06, Christofer Jennings [EMAIL PROTECTED] wrote: Thanks Wendy!, Do you deploy to a remote Tomcat? Could you post the part of your pom that does it? ,chris On 10/25/06, Wendy Smoak [EMAIL PROTECTED] wrote: On 10/25/06, Christofer Jennings [EMAIL PROTECTED] wrote: How do you scp a war to a remote location in maven2? I have a webapp project that produces a war. I'd like to deploy it to a remote server running jboss. I think all I need is to scp the war and let jboss hot deploy. But I can't figure out what to do in maven to make it happen. Definitely take a look at Cargo, which claims support for remote deployment to JBoss. (I use Cargo with Tomcat.) Alternately... it seems like I saw 'run a script' on the Continuum menu, so that might well be easier if you know that's all it will take. -- 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]
NoClassDefFoundError running Checkstyle reports
Hi, I am getting the error below when run 'mvn site-deploy' and checkstyle reports are attempted. Any ideas? Cheers, Rahul snip [INFO] [site:site] [INFO] Generate Checkstyle report. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/apache/commons/beanutils/Converter [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(CheckstyleReport.java:682) at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:484) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) 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) [INFO] [INFO] Total time: 1 minute 46 seconds [INFO] Finished at: Fri Oct 27 14:53:44 NZDT 2006 [INFO] Final Memory: 24M/44M [INFO] /snip - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] changes-maven-plugin - announcement-mail
From what I remember fromfrom.../from/from is correct, though you're right it does not follows the maven convention. -allan Wayne Fay wrote: I've not configured this myself either, but I don't think this is valid XML: fromfrom.../from/from If it follows the standard Maven convention, it would be: fromsfrom.../from/froms Froms of course is not a word, but everything else is named such that outer node indicates multiple of inner node. Not sure what multiple from elements are other than froms. ;-) Wayne On 10/26/06, Dennis Lundberg [EMAIL PROTECTED] wrote: Hi Fred Note that I have not tried this myself, but the docs: http://maven.apache.org/plugins/maven-changes-plugin/announcement-mail-mojo.html says that the from element is supposed to be a list. Reading http://maven.apache.org/guides/mini/guide-configuring-plugins.html would lead me to use something like this for a list: configuration ... from from[EMAIL PROTECTED]/from /from ... /configuration Give it a try and let us know if it works. -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hi, how can I configure the 'from' ? Do it like this: configuration xmlPath${basedir}/src/changes/xmlPath smtpHostxx.xx.xx.xx/smtpHost smtpPort implementation=java.lang.Integer xx /smtpPort from item implementation=java.lang.String[EMAIL PROTECTED]/item /from toAddresses toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress toAddress implementation=java.lang.String [EMAIL PROTECTED] /toAddress /toAddresses /configuration doesn't works ;-( It takes always the first developert from ${project.developers} 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] - 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: NoClassDefFoundError running Checkstyle reports
rahul, if you're using snapshot versions of the plugins, you might want to install them from source... what probably happened is maven downloaded from the apache snapshots an old version Rahul Thakur wrote: Hi, I am getting the error below when run 'mvn site-deploy' and checkstyle reports are attempted. Any ideas? Cheers, Rahul snip [INFO] [site:site] [INFO] Generate Checkstyle report. [INFO] [ERROR] FATAL ERROR [INFO] [INFO] org/apache/commons/beanutils/Converter [INFO] [INFO] Trace java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeCheckstyle(CheckstyleReport.java:682) at org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:484) at org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98) at org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(ReportDocumentRenderer.java:67) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(DefaultSiteRenderer.java:239) at org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSiteRenderer.java:115) at org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:124) at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534) 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) [INFO] [INFO] Total time: 1 minute 46 seconds [INFO] Finished at: Fri Oct 27 14:53:44 NZDT 2006 [INFO] Final Memory: 24M/44M [INFO] /snip - 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: Latest code is missing some missing imports from reporting package and will not build
you need to build project-info-reports and install it locally. The snapshot repo is outdated... someone should re-deploy all the plugins Scott Ryan wrote: I am trying to build the latest version of the source. I deleted my maven repository and started from scratch to make sure all my snapshots were clean. In the archiva-web project I am getting an issue with the file ShowArtifactAction.java as it is not able to resolve the following imports: import org.apache.maven.report.projectinfo.dependencies.Dependencies; import org.apache.maven.report.projectinfo.dependencies.ReportResolutionListener; If I comment out the code that uses those imports the application will not deploy on Tomcat. This is my first installation on Tomcat so I am not sure what version of Tomcat this has been tested on or if anyone has had luck with the latest code on Tomcat. The imports appear to be from the plugin maven-project-info-reports-plugin however the two classes are not in the 2.1-SNAPSHOT that I have downloaded from the repositories pointed to in the pom. Any pointers would be appreciated. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044
Will an open source java make it possible to distribute Sun's jar files via ibiblio?
I saw that there is now a timeframe for open-sourcing Java [1]. Since I just had to cope with several of Sun's jar files [2], this news made me wonder if this will make it possible to distribute Sun's jar files via the Maven repositories. Or am I misunderstanding something? Tim Moloney [1] http://news.yahoo.com/s/infoworld/20061025/tc_infoworld/83138 [2] http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]