RE: it is in the way cvs update: move away errors :what's ths?
Hi Jeff, This actually looks unrelated to Continuum. My guess is that someone has checked in their EAR files into CVS, and when you try to do a CVS update it detects that there are already files named e.g. eportal.ear present and fails. You'll probably want to see who checked in the EAR files and inform them of their mistake - also, a .cvsignore in /target might be a good idea to prevent future recurrences of this problem. Thanks, Ryan Slobojan -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 8:13 AM To: continuum-users@maven.apache.org Subject: it is in the way cvs update: move away errors :what's ths? I had a successful build an hour ago( that resulted in the building of 2 ears) , but my latest hourly build has a BUILD FAILURE status.The error message says : Build statistics: State: Error Previous State: Ok Started at: Fri, 8 Sep 2006 17:00:00 +0200 Finished at: Fri, 8 Sep 2006 17:00:27 +0200 Total time: 27s Build Trigger: Schedule Exit code: 0 Building machine hostname: jam-000280 Operating system : Windows XP(Service Pack 2) Java version : 1.5.0_07(Sun Microsystems Inc.) Changes No files changed Build Error: Provider message: The cvs command failed. Command output: --- cvs update: move away eportal-ear/target/application.xml; it is in the way cvs update: move away eportal-ear/target/eportal.ear; it is in the way cvs update: move away eportal-ejb-ear/target/application.xml; it is in the way cvs update: move away eportal-ejb-ear/target/eportal- messaging.ear; it is in the way --- What is this? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Maven for .Net
PMD CPD - FxCop (http://www.gotdotnet.com/team/FxCop/) JUnit - NUnit (http://www.nunit.org) Clover / Cobertura - Clover.NET (http://www.cenqua.com/clover.net/) / NCover (http://ncover.sourceforge.net/) Have fun. On 9/8/06, Lakshman Srilakshmanan [EMAIL PROTECTED] wrote: Ya, I would, if I new the next thing about .Net world. How would tools like code coverage (cobertura), PMDCPD, checkstyle integrate with .Net ? If I need compatible tools in .Net does anyone know what they are called ? Thanks Lakshman -Original Message- From: Markus KARG [mailto:[EMAIL PROTECTED] Sent: Friday, 8 September 2006 1:42 AM To: Maven Users List Subject: Re: Maven for .Net AFAIK it should be possible to write a plugin that handles .net flavours, since Maven is 100% pure Java, and Java can use JNI or exec() to call native tools. So even there might be no such plugin yet, you might want to contribute one? Lakshman Srilakshmanan wrote: Hi All, My company has a fair few VB, MS .Net projects. Do we have a flavour of Maven for managing the above projects ? If not is there any plans to develop Maven for other technologies ? if the answer to my above question is _NO_ :), then does any one know of similar tools for the above technologies. Thanks Lakshman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Maven for .Net
Well, as for code coverage, maybe NCover (http://ncover.org/site/) does help you. Haven't used it though. bye Ralf Lakshman Srilakshmanan wrote: Ya, I would, if I new the next thing about .Net world. How would tools like code coverage (cobertura), PMDCPD, checkstyle integrate with .Net ? If I need compatible tools in .Net does anyone know what they are called ? Thanks Lakshman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Invalid parent-POM referenced by relative path problem
I was trying to make a site with Maven2 through Continuum from my java source. If I define the packagingjar/packaging in the parent POM everything is going well but only one whole project jar being created. This project have a lot of packages (modules) so I decided to create all of the package jars as I can do in the ant build format. I've tried only with one of the component at the moment because it's simple. The hierarchy of the project looks like this: /bin /doc /lib /make/Maven2/pom.xml /src/dir1/...dir5/pom.xml /test I copy the relevant part of the poms here: the /make/Maven2/pom.xml modelVersion4.0.0/modelVersion nameMain app/name groupIdPROJECT/groupId artifactIdProject_appl/artifactId version4.5/version packagingpom/packaging modules module../../src/dir1/dir2/dir3/dir4/dir5/module /modules the /src/dir1/...dir5/pom.xml modelVersion4.0.0/modelVersion nameDir5/name groupIddir1.dir2.dir3.dir4.dir5/groupId artifactIdDir5_appl/artifactId packagingjar/packaging version4.5/version parent groupIdPROJECT/groupId artifactIdProject_appl/artifactId version4.5/version relativePath../../../../../../Make/Maven2//relativePath /parent After that I got this error message: [INFO] [site:site] [WARNING] Error loading report org.apache.maven.plugin.taglist.TagListReport - AbstractMethodError: canGenerateReport() [DEBUG] Attempting to source module information from local filesystem [DEBUG] Searching for parent-POM: PROJECT:Project_appl::4.5 of project: dir1.dir2.dir3.dir4.dir5:Dir5_appl:pom:4.5 in relative path: ../../../../../../Make/Maven2/ [DEBUG] Path specified in (../../../../../../Make/Maven2/) is a directory. Searching for 'pom.xml' within this directory. [DEBUG] Invalid parent-POM referenced by relative path '../../../../../../Make/Maven2/' in parent specification in dir1.dir2.dir3.dir4.dir5:Dir5_appl:pom:4.5: Specified: PROJECT:Project_appl::4.5 Found: PROJECT:Project_appl:pom:4.5 [DEBUG] Retrieving parent-POM: PROJECT:Project_appl::4.5 for project: dir1.dir2.dir3.dir4.dir5:Dir5_appl:pom:4.5 from the repository. [DEBUG] Trying repository central It's very strange for me that it works with jar and not with the pom tag. I thing I did everything well but it seems like not. The difference between the found and the specified tag is the :pom: tag. I can’t figure out how to configure the child pom to recognize its parent. So please help me to solve this problem. Thanks a lot. -- View this message in context: http://www.nabble.com/Invalid-parent-POM-referenced-by-relative-path-problem-tf2237277.html#a6203604 Sent from the Continuum - Users forum at Nabble.com.
RE: [m2] How to get source JARs when sharing eclipse config -- best practices?
Amshoff Christoph, Köln wrote on Thursday, September 07, 2006 6:30 PM: Hi, we are using the eclipse plugin to create the Eclipse configuration, and specify the -DdownloadSources=true switch to download the source JARs and include them into the .classpath file. This is pretty cool, but As usual, the .project and .classpath files are checked into CVS to share them with the team. Now what about the source JARs, how do the rest of the team get them from our internal maven-repo into their private one? The classes JARs are downloaded when calling mvn compile, for example, as they are defined in the POM's dependency section. But the source JARs aren't (and shouldn't), so how to download them? Does everybody have to call mvn eclipse:eclipse -DdownloadSources=true for that? Is there a better / simpler way? Any suggestions are welcome... - Don't check in the Eclipse files, anyone can generate them on the fly - Use a global master POM, where you have configured the Eclipse plugin to download the source: pluginManagement plugins !-- Make sources available and support WTP -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId configuration downloadSourcestrue/downloadSources wtpVersion1.0/wtpVersion /configuration /plugin /plugins /pluginManagement - Jörg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: site.xml inheritence
I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child module's site.xml to inherit the parent's site.xml (which is also the parent pom of it's own pom) and add a few links, with no luck. Phil Steitz wrote, On 2006-09-07 6:41 PM: On 9/7/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: Are there any examples of this available? The docs doesn't show how to make a module site.xml extend from the parent project's site.xml. Have a look at the inheritence section in the site plugin howto: http://maven.apache.org/plugins/maven-site-plugin/howto.html As stated in the docs, when you publish the parent POM, the site descriptor is also published and available for inheritence, as long as the child inherits the parent POM. Hope this helps. Phil -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE : [solved] product codes at java 1.4, test sources at java 1.5
Good to see it can help someone ! Please notice this is a maven2 hack (compile test prior to test compilation to avoid compilation errors...) that may be solved by having official support for a testCompile != compile configuration. Could you say what idea did this gives you ? Maybe it will gives me other ideas ;-) Nico. LECAN Damien a écrit : Waoh, good job. Your special configuration gave me a lot of ideas (Especially dependencies section in plugin configuration) Thanks Damien Lecan Message d'origine De: Nicolas De Loof [mailto:[EMAIL PROTECTED] Date: jeu. 07/09/2006 17:33 À: Maven Users List Objet : [solved] product codes at java 1.4, test sources at java 1.5 Here is my POM : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId configuration source1.3/source target1.3/target compilerArguments bootclasspath ${settings.localRepository}/com/sun/rt/1.3.1_08/rt-1.3.1_08.jar /bootclasspath /compilerArguments /configuration executions execution idcompile-tests/id phaseprocess-test-sources/phase goals goaltestCompile/goal /goals configuration source1.5/source target1.5/target compilerArguments bootclasspath ${java.home}/lib/rt.jar /bootclasspath /compilerArguments /configuration /execution /executions dependencies dependency groupIdcom.sun/groupId artifactIdrt/artifactId version1.3.1_08/version /dependency /dependencies /plugin Nico. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [solved] product codes at java 1.4, test sources at java 1.5
I just added a note to warn that this is only a maven2 hack, not an official solution to multiple target JRE. Wendy Smoak a écrit : On 9/7/06, Nicolas De Loof [EMAIL PROTECTED] wrote: I solved the issue of compiling the application code for Java 1.3 AND using java5 for tests : Thank you! And to keep it from being lost forever in the mail archives: http://docs.codehaus.org/display/MAVENUSER/Compile+and+Test+with+Different+JDK+Versions Please edit as necessary... ask on dev@ if you don't have access. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with maven-aspectj-plugin version 4.0
I got around my problem by commenting out the attainGoal name=java:compile/ in the j:otherwise section of the jelly script. I'm pretty sure that's not a good way to do it, but it works for me. According to the release notes for the aspectj plugin version 4, this includes a report. I tried generating it but it gave me an empty report. Has anyone had success with this? Thanks again, Ian -Original Message- From: Orford, Ian [mailto:[EMAIL PROTECTED] Sent: 07 September 2006 15:40 To: 'Maven Users List' Subject: RE: Problem with maven-aspectj-plugin version 4.0 Thanks for the suggestion. I've upgraded to -beta3 and changed my postGoal to a preGoal. The output looks different now, but the effect is essentially the same maven test works, but maven site gets into this loop. [echo] Generating the Unit Tests.. junit-report:report: test:test: java:prepare-filesystem: java:compile: aspectj:init: aspectj:compile: aspectj:test-compile: java:prepare-filesystem: java:compile: aspectj:init: aspectj:compile: aspectj:test-compile: java:prepare-filesystem: java:compile: aspectj:init: aspectj:compile: aspectj:test-compile: java:prepare-filesystem: java:compile: aspectj:init: aspectj:compile: aspectj:test-compile: java:prepare-filesystem: java:compile: aspectj:init: -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: 07 September 2006 13:24 To: Maven Users List Subject: Re: Problem with maven-aspectj-plugin version 4.0 Shouldn't aspectj be called as a preGoal of java:compile? I would also try to upgrade to Maven 1.1-beta-3, a lot has changed between beta-2 and beta-3! HTH, -Lukas Orford, Ian wrote: I'm using Maven 1.1-beta-2. I recently had to upgrade the aspectj plugin to version 4.0 because I was getting a compile error and needed to use aspectj 1.5. I've got the standard post-goal hool in my maven.xml file... postGoal name=java:compile attainGoal name=aspectj/ /postGoal If I compile using maven test it works fine. However if I use maven site it seems to get stuck in a loop. I've looked at the jelly for the plugin and it seems to be recursively calling the java:compile goal in the aspectj:test-compile goal. The piece of code is: j:choose j:when test=${context.getVariable('maven.aspectj.dest') == null} j:set var=maven.aspectj.dest value=${maven.build.dest}/ /j:when j:otherwise ant:echoimo:attaining java:compile goal/ant:echo attainGoal name=java:compile/ ant:echoimo:finished java:compile goal/ant:echo ant:path id=build.dest location=${maven.build.dest}/ maven:addPath id=maven.dependency.classpath refid=build.dest/ /j:otherwise /j:choose So, it's clear that when building site, maven.aspectj.dest isnt setup. I tried adding maven.aspectj.dest = ${maven.build.dest} In my project.properties, but it didn't help. The aspectj related properties I have set are: maven.aspectj.source=1.4 maven.aspectj.lint=ignore maven.aspectj.maxmem=512m maven.aspectj.fork=true I include output from maven test and maven site below. Any help appreciated, Regards, Ian Orford - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.dresdnerkleinwort.com/disc/email/ or contact the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.dresdnerkleinwort.com/disc/email/ or contact the sender.
Re: Have Maven Eclipse Plugin specify Eclipse file encoding
Ralph Pöllath a écrit : Hi, My work environment requires that all source files are encoded as UFT-8. Since we're using Eclipse, this means we have to change the file encoding to UTF-8 whenever we create a new workspace, which is inconvenient and error-prone. Since all of our Eclipse config is generated by the Maven Eclipse Plugin already, having it set the file encoding on a per-project basis would be a great solution (looks like you just have to add encoding/project=UTF-8 to .settings/org.eclipse.core.resources.prefs). Should I post a feature request to JIRA? yes, fill a new issue here : http://jira.codehaus.org/browse/MECLIPSE Stéphane. Thanks, -Ralph. - 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: Have Maven Eclipse Plugin specify Eclipse file encoding
On 08.09.2006, at 09:39, Stéphane Bouchet wrote: Ralph Pöllath a écrit : My work environment requires that all source files are encoded as UFT-8. Since we're using Eclipse, this means we have to change the file encoding to UTF-8 whenever we create a new workspace, which is inconvenient and error-prone. Since all of our Eclipse config is generated by the Maven Eclipse Plugin already, having it set the file encoding on a per-project basis would be a great solution (looks like you just have to add encoding/project=UTF-8 to .settings/ org.eclipse.core.resources.prefs). Should I post a feature request to JIRA? yes, fill a new issue here : http://jira.codehaus.org/browse/MECLIPSE Done: http://jira.codehaus.org/browse/MECLIPSE-156 Cheers, -Ralph. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
include some JARs in an EJB
Hi All, I use maven-ejb-plugin to create Ejb 2.x. I have some dependencies to add in the correspondant ejb jar. But when I do mvn ejb:ejb the generated jar does not contained the dependencies. How can I do that ? (I used the assembly plugin but I would like to know if the ejb plugin has this capability) cheers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with maven-aspectj-plugin version 4.0
Do you have any other pre/post- or custom goals defined? I remember a case where someone got into an infinite loop by overriding the java:compile goal. For the report problem: yes, I can generate a report. However, I think it only captures warnings from the iajc compilation, so if you have no warnings the report might be empty. If that's not the case try running with -X, that will give you a lot of debug output, or try to supply a simple, reproducible test case that you can attach at http://jira.codehaus.org/browse/MPASPECTJ. Cheers, -Lukas Orford, Ian wrote: I got around my problem by commenting out the attainGoal name=java:compile/ in the j:otherwise section of the jelly script. I'm pretty sure that's not a good way to do it, but it works for me. According to the release notes for the aspectj plugin version 4, this includes a report. I tried generating it but it gave me an empty report. Has anyone had success with this? Thanks again, Ian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Build strategy help
Background. = We're going to be doing a release of version 1 of our application, but we're already doing pre-dev for version 2.The version 1 release is going to sit on a branch in cvs and all bug fixes for that version will be committed to that branch.All rebuilds with the bug fixes will be done off that branch. Version 2 development will carry on the HEAD in cvs. The Problem = Currently version 1 code is still on the HEAD continuum checks out all the code from there.Now when we create brach for version 1 and start dev for version 2 on the HEAD , I wish to be able to still run builds , both for the version 1 branch and the version 2(on the HEAD).Is it possible to setup maven profiles that both get invoked to build the branch and the head code bases simultaneously? How would you go about setting this up?Or is it just easier to setup the two as two different projects, as one would normally do with eg project A and project B? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
Re: Build strategy help
Hi Jeff, The following should work: - In the branched project, update your pom with the scm url corresponding to your branch, - In continuum, add a new project corresponding to your branch. Christophe DENEUX / Capgemini Sud / Méditerranée Technical Leader Tel: + 33 4 93 72 43 74 / www.capgemini.com Fax: + 33 4 93 21 02 95 Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice Join the Collaborative Business Experience Jeff Mutonho a écrit : Background. = We're going to be doing a release of version 1 of our application, but we're already doing pre-dev for version 2.The version 1 release is going to sit on a branch in cvs and all bug fixes for that version will be committed to that branch.All rebuilds with the bug fixes will be done off that branch. Version 2 development will carry on the HEAD in cvs. The Problem = Currently version 1 code is still on the HEAD continuum checks out all the code from there.Now when we create brach for version 1 and start dev for version 2 on the HEAD , I wish to be able to still run builds , both for the version 1 branch and the version 2(on the HEAD).Is it possible to setup maven profiles that both get invoked to build the branch and the head code bases simultaneously? How would you go about setting this up?Or is it just easier to setup the two as two different projects, as one would normally do with eg project A and project B? This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] How to get source JARs when sharing eclipse config -- best p ractices?
Hi Dirk, it seems this is what we have to do, re-generate and throw away the output of eclipse:eclipse. What kind of script do you use, batch file or M2 plugin? Is it working on top-level POM for multi-module builds as well, or do you have to execute it for each single module? Thanx, Christoph. Dirk Olmes wrote: This is similar to what we do: eclipse files are checked into ClearCase and I have created a script that re-generates the project files but puts them under the target directory (could be anywhere). By this, we use the side effect of downloading the source jars. -- View this message in context: http://www.nabble.com/-m2--How-to-get-source-JARs-when-sharing-eclipse-configbest-p-ractices--tf2234198.html#a6206564 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] all our builds are failing...
To avoid this, it's best to lock down your plugin versions and upgrade them as you are able to test changes to the build. plugin groupId... artifactId... version2.0-beta5/version ... Russ Tremain wrote, On 2006-09-07 7:07 PM: we are using a mirror to ibiblio, and have been having this error since yesterday: GroupId: org.apache.maven.plugins ArtifactId: maven-plugins Version: 3 Reason: Unable to download the artifact from any repository org.apache.maven.plugins:maven-plugins:pom:3 from the specified remote repositories: central (http://repo1.maven.org/maven2), maven-snapshots (http://cvs.apache.org/maven-snapshot-repository), codehaus-snapshots (http://snapshots.repository.codehaus.org/) does anyone know what is going on? If I switch to ibiblio, then we can get this pom, but it is not getting picked up by the mirrors. the ibiblio site is normally useless to us because it is so overloaded. tia, -Russ -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Embedded error: Prohibited package name: java.lang
Hi, I have run into the same problem described in this thread below, namely the error: [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang I am using a linux system and java 1.5, and maven 2.0. I don't actually understand how to implement the workaround you describe below(I am not that familiar with maven). Can somebody spell it out to me? I have copied the previous thread below. Thanks very much, Lachlan The problem is at this line c = cl.loadClass( com.sun.tools.javac.Main ); in http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java?rev=2727view=auto I don't know why this should be a problem as nobody else is reporting problems under mac and some of the developers are using it. Maybe you have different security options in your JDK? Workarounds may be using some of the compiler options, like fork or compilerId http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html BTW Sources for the compile plugin are at http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-compiler-plugin/ svn co http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-compiler-plugin On 12/20/05, Conrad O'Dea [EMAIL PROTECTED] wrote: Hi Carlos, On 19 Dec 2005, at 22:26, Carlos Sanchez wrote: Can you try with 2.0? I tried this with 2.0 and the same exception is being raised. It looks like a ClassLoader in the maven-compiler-plugin is trying to define a class from the java.lang package, which is not allowed. I've been trying to get to the source code of the plugin to try and dig a little deeper into what's going on but it does not seem to be available. Trying to view through web-access at [1] gets a 404 and trying a subversion checkout [2] results in a 'path not found' error. Any clues as to what may be going on or how to get the relevant source would be appreciated. thanks Conrad [1] http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven- plugins/maven-compiler-plugin [2] svn checkout http://svn.apache.org/repos/asf/maven/components/ trunk/maven-plugins/maven-compiler-plugin maven-compiler-plugin On 12/19/05, Conrad O'Dea [EMAIL PROTECTED] wrote: Hi, I've run into a problem with maven on OS X and JDK 1.5. We're just starting to migrate our project over to Maven 2 and the initial project will not build on my Mac. I can reproduce the problem by creating a 'Hello World' project using this command: $ mvn archetype:create -DgroupId=foo.bar -DartifactId=foo-bar and after a chunk of output, it printed 'BUILD SUCCESSFUL'. However, when compiling the project, it fails with the following error (full stack trace at end of mail). [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang If I switch to a 1.4 JDK, the project builds without problems. Unfortunately our actual project requires JDK 1.5. Can anyone give advice on what, if anything, I can do to workaround this? thanks Conrad $ mvn --version Maven version: 2.0.1 [EMAIL PROTECTED] ~/scratch/maven/foo-bar] $ java -version java version 1.5.0_05 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83) Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing) $ mvn -e compile + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [compile] [INFO] - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to /Users/codea/scratch/maven/foo-bar/target/ classes [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Fatal error compiling at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:555) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi fec ycle(DefaultLifecycleExecutor.java:472) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (DefaultLifecycleExecutor.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
Re: Embedded error: Prohibited package name: java.lang
Sorry,but I have somehow fixed the problem by cleaning and rebuilding. Thanks, Lachlan On 08/09/06, Lachlan Coin [EMAIL PROTECTED] wrote: Hi, I have run into the same problem described in this thread below, namely the error: [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang I am using a linux system and java 1.5, and maven 2.0. I don't actually understand how to implement the workaround you describe below(I am not that familiar with maven). Can somebody spell it out to me? I have copied the previous thread below. Thanks very much, Lachlan The problem is at this line c = cl.loadClass( com.sun.tools.javac.Main ); in http://svn.plexus.codehaus.org/trunk/plexus-components/plexus-compiler/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java?rev=2727view=auto I don't know why this should be a problem as nobody else is reporting problems under mac and some of the developers are using it. Maybe you have different security options in your JDK? Workarounds may be using some of the compiler options, like fork or compilerId http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html BTW Sources for the compile plugin are at http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-compiler-plugin/ svn co http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-compiler-plugin On 12/20/05, Conrad O'Dea [EMAIL PROTECTED] wrote: Hi Carlos, On 19 Dec 2005, at 22:26, Carlos Sanchez wrote: Can you try with 2.0? I tried this with 2.0 and the same exception is being raised. It looks like a ClassLoader in the maven-compiler-plugin is trying to define a class from the java.lang package, which is not allowed. I've been trying to get to the source code of the plugin to try and dig a little deeper into what's going on but it does not seem to be available. Trying to view through web-access at [1] gets a 404 and trying a subversion checkout [2] results in a 'path not found' error. Any clues as to what may be going on or how to get the relevant source would be appreciated. thanks Conrad [1] http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven- plugins/maven-compiler-plugin [2] svn checkout http://svn.apache.org/repos/asf/maven/components/ trunk/maven-plugins/maven-compiler-plugin maven-compiler-plugin On 12/19/05, Conrad O'Dea [EMAIL PROTECTED] wrote: Hi, I've run into a problem with maven on OS X and JDK 1.5. We're just starting to migrate our project over to Maven 2 and the initial project will not build on my Mac. I can reproduce the problem by creating a 'Hello World' project using this command: $ mvn archetype:create -DgroupId=foo.bar -DartifactId=foo-bar and after a chunk of output, it printed 'BUILD SUCCESSFUL'. However, when compiling the project, it fails with the following error (full stack trace at end of mail). [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang If I switch to a 1.4 JDK, the project builds without problems. Unfortunately our actual project requires JDK 1.5. Can anyone give advice on what, if anything, I can do to workaround this? thanks Conrad $ mvn --version Maven version: 2.0.1 [EMAIL PROTECTED] ~/scratch/maven/foo-bar] $ java -version java version 1.5.0_05 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83) Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing) $ mvn -e compile + Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] - --- [INFO] Building Maven Quick Start Archetype [INFO]task-segment: [compile] [INFO] - --- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] Compiling 1 source file to /Users/codea/scratch/maven/foo-bar/target/ classes [INFO] - --- [ERROR] BUILD ERROR [INFO] - --- [INFO] Fatal error compiling Embedded error: Prohibited package name: java.lang [INFO] - --- [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException : Fatal error compiling at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (DefaultLifecycleExecutor.java:555) at
Last deployed Snapshot not retrieve from another machine
Hi, I've got a strange problem and I'd like to know if it's a known bug or if I made a mistake when I configure my settings.xml or when I configure proximity. In fact, if I deploy a library in snapshot with maven2 and if I use this library in a project on the same machine, then I use my new snapshot library. So, in this case, it works correctly. But if on another machine, I try to compile the same project, the snapshot deployed is not downloaded (metadata files seems to be updated but not jar files). Instead of this, the older snapshot (from the local repository) is used. Has anyone has got the same problem ? Here is a part of my settings.xml : settings 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/xsd/settings-1.0.0.xsd; ... localRepositoryC:/Dev/tools/maven/local/maven2/localRepository mirrors mirror idcorp-central-mirror/id namecentral (CORP mirror)/name url http://martinique:8181/proximity/repository/url mirrorOfcentral/mirrorOf /mirror mirror idcorp-central-snapshot-mirror/id namecentral snapshot (CORP mirror)/name urlhttp://martinique:8181/proximity/repository/url mirrorOf apache.snapshots/mirrorOf /mirror mirror idcorp-codehaus-mirror/id namecodehaus (CORP mirror)/name url http://martinique:8181/proximity/repository/url mirrorOfcodehaus/mirrorOf /mirror mirror idcorp-codehaus-snapshot-mirror/id namecodehaus snapshot (CORP mirror)/name urlhttp://martinique:8181/proximity/repository /url mirrorOfcodehaus.snapshots/mirrorOf /mirror /mirrors profiles profile idcorp-repositories/id repositories repository idcorp-repository-maven1/id nameRepository CORP (maven1)/name urlfile:Z:/maven/repository/url layoutlegacy/layout releases enabledtrue/enabled /releases snapshots enabledfalse/enabled /snapshots /repository repository idcorp-repository-maven1-snapshot/id nameRepository CORP (maven1-snapshot)/name urlfile:Z:/maven/repository/url layoutlegacy/layout releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository repository idcorp-repository-snapshot/id nameRepository CORP snapshot/name urlhttp://martinique:8181/proximity/repository/url releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /repository /repositories pluginRepositories pluginRepository idcorp-repository-plugin/id nameRepository CORP plugin/name urlhttp://martinique:8181/proximity/repository/url /pluginRepository pluginRepository idcorp-repository-maven1/id nameRepository CORP (maven1)/name urlfile:Z:/maven/repository/url layoutlegacy/layout releases enabledtrue/enabled /releases snapshots enabledfalse/enabled /snapshots /pluginRepository pluginRepository idcorp-repository-maven1-snapshot/id nameRepository CORP (maven1-snapshot)/name urlfile:Z:/maven/repository/url layoutlegacy/layout releases enabledfalse/enabled /releases snapshots enabledtrue/enabled updatePolicyalways/updatePolicy /snapshots /pluginRepository /pluginRepositories /profile ... /profiles ... activeProfiles activeProfilecorp-repositories/activeProfile /activeProfiles ... /settings
Re: site.xml inheritence
The 'Inheritance' section is a child site.xml, though I have never actually gotten what it says to do work. ;) On 9/8/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child module's site.xml to inherit the parent's site.xml (which is also the parent pom of it's own pom) and add a few links, with no luck. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
rmic plugin
Hi I´d like to know if a rmic plugin for Maven2 exists and if there is some documentation about it. I´ve been looking for it but I didn't find anything. Thanks _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[m2] How to exclude config files from JAR?
Hi all, seems we have a kind of deadlock... Our project is a mulit-module project consisting of modules A and B (and others), where B depends on A. Additionally, A provides some base classes for the other modules. So we create and deploy a A-tests.jar and define a dependency in B on this with scope of test. This all is working fine. The pain starts now because each module is using a separate configuration file, basically defining which Spring configuration to use, which has the same name in all modules. This is needed for tests only, so we put it under src/test/resources/conf. But when deploying module A it is included in A-tests.jar, and module B is now using the version from A-tests.jar instead its own which is lying in module B's src/test/resources/conf -- and the tests fail :o( I understand there is no way to put the project's resources folder BEFORE the dependencies into Maven's classpath. So basically, we need to exclude this single file from JAR creation. But I did not find any exclude property to use for this. Is there any other way to handle this situation? Are there other any ways? I suppose our requirements are not so unusual, you could consider it being the same as using different log4j.properties per module, which hence should not be included in the JARs. Thanks a lot, Christoph. -- View this message in context: http://www.nabble.com/-m2--How-to-exclude-config-files-from-JAR--tf2238912.html#a6208404 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problems running project on jetty
I don't know what to do... i'm migrating my project to maven, but always happen a problem with dependencies... I'm using adf faces, tomahawk and Sun RI. To corrige this error, I'm trying to add some libraries... This is the error: HTTP ERROR: 500 /sag/index.jspx(47,19) PWC6317: The attributes for a standard action cannot be deferred expressions RequestURI=/SagWeb/sag/index.jspx *Powered by Jetty:// http://jetty.mortbay.org/* My index.jspx is this: ?xml version='1.0' encoding='windows-1252'? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0 xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; xmlns:af=http://xmlns.oracle.com/adf/faces; xmlns:afh=http://xmlns.oracle.com/adf/faces/html; xmlns:x=http://myfaces.apache.org/tomahawk; jsp:directive.page contentType=text/html;charset=windows-1252/ f:view afh:html f:loadBundle basename=br.com.sag.view.backing.messages var=msg/ afh:head title=#{msg.nomeAplicacao} - #{usuario.currentModule.nome } link href=../css/sag.css rel=stylesheet media=screen/ afh:script source=/js/indexCode.js/ afh:script source=/js/indexRefreshCondicoes.js/ /afh:head afh:body id=body af:panelPage id=panelPage1 f:facet name=menu2/f:facet f:facet name=infoUser/f:facet f:facet name=messages/f:facet f:facet name=search/f:facet f:facet name=actions/f:facet f:facet name=brandingAppContextual x:jscookMenu layout=hbr theme=ThemeOffice binding=#{backing_sag_index.jscookMenu1} id=jscookMenu1 x:navigationMenuItems binding=#{backing_sag_index.navigationMenuItems1} id=navigationMenuItems1 value=#{backing_sag_index.menu}/ /x:jscookMenu /f:facet f:facet name=contextSwitcher/f:facet f:facet name=infoFootnote/f:facet f:facet name=infoReturn/f:facet f:facet name=infoStatus af:goLink destination=#ERRO rendered=#{backing_sag_pohecamp2.hasErrors} id=vailink h:graphicImage id=erro style=BORDER:0 url=/css/images/alerta.gif title=#{msg.msgExisteErro} / h:outputText value=#{msg.msgErro}/ /af:goLink /f:facet f:facet name=infoSupplemental/f:facet f:facet name=location/f:facet f:facet name=menu1/f:facet f:facet name=menuGlobal h:panelGroup af:outputText value=Usuário: styleClass=x19/ af:outputLabel value=#{usuario.nome} styleClass=x19/ /h:panelGroup /f:facet f:facet name=branding/f:facet f:facet name=brandingApp/f:facet f:facet name=appCopyright f:verbatimCopyright/f:verbatim /f:facet f:facet name=appPrivacy f:verbatimPrivacidade/f:verbatim /f:facet f:facet name=appAbout f:verbatimSobre/f:verbatim /f:facet f:facet name=menuSwitch af:form af:commandLink text=Trocar módulo shortDesc=Entrar em outro módulo do SAG rendered=#{usuario.codfprod == null} immediate=true action=#{backing_sag_index.actionSwitchModule}/ f:verbatimamp;nbsp;/f:verbatim af:goLink text= Sair shortDesc=Sair do sistema destination=/logoff/af:goLink /af:form /f:facet af:form af:showOneTab binding=#{backing_sag_index.showOneTab} id=_detail /af:showOneTab /af:form x:div rendered=#{backing_sag_index.imageVisible} styleClass=SagTextCentered af:objectImage source=#{backing_sag_index.IMAGE_URL}/af:objectImage /x:div /af:panelPage f:verbatim a name=ERRO / /f:verbatim h:messages showSummary=true showDetail=true errorClass=af_messages_error warnClass=af_messages_message-text layout=table/ /afh:body /afh:html /f:view /jsp:root And my pom.xml is this: 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 groupIdbr.com.sag/groupId artifactIdSagWeb/artifactId packagingwar/packaging version1.0-SNAPSHOT/version nameMaven Webapp Archetype/name urlhttp://maven.apache.org/url dependencies dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.0/version scopetest/scope
RE: Eclipse target directory
Does anybody experience this? I'm also having trouble when I install a new version of a dependent jar, then run eclipse:eclipse, eclipse doesn't update the errors. It will still send the old api, even after I run refresh. Is there a magic sequence that would make things works smoother? D- - Original Message - From: [EMAIL PROTECTED] Sent: Tue, 9/5/2006 11:43am To: users Subject: Eclipse target directory When using eclipse on war projects, the target directory will start to collect copies of jsp files, from war:war commands, etc. Is there a way to have eclipse ignore the files when searching and reporting errors? D- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: rmic plugin
Use ant task like this: build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin plugin artifactIdmaven-site-plugin/artifactId version2.0-beta-5/version configuration inputEncodingutf-8/inputEncoding outputEncodingutf-8/outputEncoding /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution idprocess-classes-rmic/id !-- needs to be unique among executions -- phaseprocess-classes/phase configuration tasks echoRunning RMIC/echo rmic base=${project.build.directory}/classes classpathref=maven.compile.classpath classname=com.your.class.to.be.RMICompiled / /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdcom.sun/groupId artifactIdtools/artifactId scopesystem/scope version1.5/version systemPath${java.home}/../lib/tools.jar/systemPath /dependency /dependencies /plugin /plugins /build Then simply invoke mvn package for example. Cheers, Borut 2006/9/8, Israel Alvarez [EMAIL PROTECTED]: Hi I´d like to know if a rmic plugin for Maven2 exists and if there is some documentation about it. I´ve been looking for it but I didn't find anything. Thanks _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse target directory
In eclipse right-click on the target folder and select 'Properties...' Then, in the Info page, check the 'derived' check box. This should exlude it from searches and resource lookups. Probably error reporting too but I haven't verified that Donnchadh On 9/5/06, Douglas Ferguson [EMAIL PROTECTED] wrote: When using eclipse on war projects, the target directory will start to collect copies of jsp files, from war:war commands, etc. Is there a way to have eclipse ignore the files when searching and reporting errors? D- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: rmic plugin
The bad thing about this way of doing it is that it is not portable. E.g. macs don't have a tools.jar. Ruel Loehr JBoss, a division of Red Hat QA - 512-342-7840 ext 2011 Yahoo: ruelloehr Skype: ruelloehr AOL: dokoruel -Original Message- From: Borut Bolčina [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 8:47 AM To: Maven Users List Subject: Re: rmic plugin Use ant task like this: build plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin plugin artifactIdmaven-site-plugin/artifactId version2.0-beta-5/version configuration inputEncodingutf-8/inputEncoding outputEncodingutf-8/outputEncoding /configuration /plugin plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution idprocess-classes-rmic/id !-- needs to be unique among executions -- phaseprocess-classes/phase configuration tasks echoRunning RMIC/echo rmic base=${project.build.directory}/classes classpathref=maven.compile.classpath classname=com.your.class.to.be.RMICompiled / /tasks /configuration goals goalrun/goal /goals /execution /executions dependencies dependency groupIdcom.sun/groupId artifactIdtools/artifactId scopesystem/scope version1.5/version systemPath${java.home}/../lib/tools.jar/systemPath /dependency /dependencies /plugin /plugins /build Then simply invoke mvn package for example. Cheers, Borut 2006/9/8, Israel Alvarez [EMAIL PROTECTED]: Hi I´d like to know if a rmic plugin for Maven2 exists and if there is some documentation about it. I´ve been looking for it but I didn't find anything. Thanks _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 9/8/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.12.2/442 - Release Date: 9/8/2006 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [m2] Archetype/packageName/directory structure
Did you ever get this working? I'm getting this error: I'm trying to create/copy the directory structure form archetype-resources\business\core\src\main\java to business\core\src\main\java I've followed the directions here: http://maven.apache.org/guides/mini/guide-creating-archetypes.html But once I run the archetype:create command, all I get is my new project directory with a single pom.xml in it. Any ideas? bryan hansen wrote: I am creating a custom archetype and am not seeing a way to have folders carried throught the archetype. I have a source file in the resources directory such as: src/main/resources/archetype-resources/src/main/java/App.java When I run this through the archetype:create command it will place this file under the package directory correctly. src/main/java/com/mycompany/App.java I want to have some folders that get carried through though such as: src/main/resources/archetype-resources/src/main/java/service/AppService.java so that when I run the archetype:create command it will be placed in a folder like this: src/main/java/com/mycompany/service/AppService.java The way it is working now by putting it under the resources directory it is building out a directory structure and duplicating the package name underneath it. src/main/java/service/com/mycompany/AppService.java Is it possible with the archetype to have it create the directory structure and carry it through like I described? Thanks, Bryan __ 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/-m2--Archetype-packageName-directory-structure-tf1561315.html#a6209664 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: distributionManagement not allowed in settings.xml
On 9/4/06, Andreas Guther [EMAIL PROTECTED] wrote: Hi, I noticed that it is not possible to define the distribution management inside the settings.xml. In my case the distribution management configuration is the same for all projects and so far I had it defined within a parent pom. Since distribution management configuration is only relevant for developers who actually can write to a repository, I thought it would be cleaner to define that in the individual settings.xml, which to my surprise was not possible. Is there a reason why this cannot be used in the settings.xml or is this something that could contribute to the improvement of Maven? Vote here: http://jira.codehaus.org/browse/MNG-2553 I also thing that make some things to be configurable through settings.xml (distributionManagement, plugins) will solve many problems. Regards, Tomek - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problems running project on jetty
This seems like a JSF problem, not really a Maven issue per se. I'd send a similar email (minus the pom) to a couple JSF groups and see what they say about it. Also I'd try deploying your app to another app server to see if perhaps its simply a Jetty bug. Wayne On 9/8/06, Dudu [EMAIL PROTECTED] wrote: I don't know what to do... i'm migrating my project to maven, but always happen a problem with dependencies... I'm using adf faces, tomahawk and Sun RI. To corrige this error, I'm trying to add some libraries... This is the error: HTTP ERROR: 500 /sag/index.jspx(47,19) PWC6317: The attributes for a standard action cannot be deferred expressions RequestURI=/SagWeb/sag/index.jspx *Powered by Jetty:// http://jetty.mortbay.org/* My index.jspx is this: ?xml version='1.0' encoding='windows-1252'? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0 xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; xmlns:af=http://xmlns.oracle.com/adf/faces; xmlns:afh=http://xmlns.oracle.com/adf/faces/html; xmlns:x=http://myfaces.apache.org/tomahawk; jsp:directive.page contentType=text/html;charset=windows-1252/ f:view afh:html f:loadBundle basename=br.com.sag.view.backing.messages var=msg/ afh:head title=#{msg.nomeAplicacao} - #{usuario.currentModule.nome } link href=../css/sag.css rel=stylesheet media=screen/ afh:script source=/js/indexCode.js/ afh:script source=/js/indexRefreshCondicoes.js/ /afh:head afh:body id=body af:panelPage id=panelPage1 f:facet name=menu2/f:facet f:facet name=infoUser/f:facet f:facet name=messages/f:facet f:facet name=search/f:facet f:facet name=actions/f:facet f:facet name=brandingAppContextual x:jscookMenu layout=hbr theme=ThemeOffice binding=#{backing_sag_index.jscookMenu1} id=jscookMenu1 x:navigationMenuItems binding=#{backing_sag_index.navigationMenuItems1} id=navigationMenuItems1 value=#{backing_sag_index.menu}/ /x:jscookMenu /f:facet f:facet name=contextSwitcher/f:facet f:facet name=infoFootnote/f:facet f:facet name=infoReturn/f:facet f:facet name=infoStatus af:goLink destination=#ERRO rendered=#{backing_sag_pohecamp2.hasErrors} id=vailink h:graphicImage id=erro style=BORDER:0 url=/css/images/alerta.gif title=#{msg.msgExisteErro} / h:outputText value=#{msg.msgErro}/ /af:goLink /f:facet f:facet name=infoSupplemental/f:facet f:facet name=location/f:facet f:facet name=menu1/f:facet f:facet name=menuGlobal h:panelGroup af:outputText value=Usuário: styleClass=x19/ af:outputLabel value=#{usuario.nome} styleClass=x19/ /h:panelGroup /f:facet f:facet name=branding/f:facet f:facet name=brandingApp/f:facet f:facet name=appCopyright f:verbatimCopyright/f:verbatim /f:facet f:facet name=appPrivacy f:verbatimPrivacidade/f:verbatim /f:facet f:facet name=appAbout f:verbatimSobre/f:verbatim /f:facet f:facet name=menuSwitch af:form af:commandLink text=Trocar módulo shortDesc=Entrar em outro módulo do SAG rendered=#{usuario.codfprod == null} immediate=true action=#{backing_sag_index.actionSwitchModule}/ f:verbatimnbsp;/f:verbatim af:goLink text= Sair shortDesc=Sair do sistema destination=/logoff/af:goLink /af:form /f:facet af:form af:showOneTab binding=#{backing_sag_index.showOneTab} id=_detail /af:showOneTab /af:form x:div rendered=#{backing_sag_index.imageVisible} styleClass=SagTextCentered af:objectImage source=#{backing_sag_index.IMAGE_URL}/af:objectImage /x:div /af:panelPage f:verbatim a name=ERRO / /f:verbatim h:messages showSummary=true showDetail=true errorClass=af_messages_error warnClass=af_messages_message-text layout=table/ /afh:body /afh:html /f:view /jsp:root And my pom.xml is this: 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 groupIdbr.com.sag/groupId
RE: Eclipse target directory
Awesome! Thanks. Where does it store this value? I can't find it in any of the config files for the project. Could this be added to eclipse:eclipse? -Original Message- From: Donnchadh Ó Donnabháin [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 8:48 AM To: Maven Users List Subject: Re: Eclipse target directory In eclipse right-click on the target folder and select 'Properties...' Then, in the Info page, check the 'derived' check box. This should exlude it from searches and resource lookups. Probably error reporting too but I haven't verified that Donnchadh On 9/5/06, Douglas Ferguson [EMAIL PROTECTED] wrote: When using eclipse on war projects, the target directory will start to collect copies of jsp files, from war:war commands, etc. Is there a way to have eclipse ignore the files when searching and reporting errors? D- - 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: problems running project on jetty
Thanks Wayne... the message error is not found on google :(. I have removed all dependencies and putted again, but without sucess. If I try with the jars on my pc, it works. I think there are a problem with the jars on mvn repository, like calling wrong dependencies or wrong versions of it. On 9/8/06, Wayne Fay [EMAIL PROTECTED] wrote: This seems like a JSF problem, not really a Maven issue per se. I'd send a similar email (minus the pom) to a couple JSF groups and see what they say about it. Also I'd try deploying your app to another app server to see if perhaps its simply a Jetty bug. Wayne On 9/8/06, Dudu [EMAIL PROTECTED] wrote: I don't know what to do... i'm migrating my project to maven, but always happen a problem with dependencies... I'm using adf faces, tomahawk and Sun RI. To corrige this error, I'm trying to add some libraries... This is the error: HTTP ERROR: 500 /sag/index.jspx(47,19) PWC6317: The attributes for a standard action cannot be deferred expressions RequestURI=/SagWeb/sag/index.jspx *Powered by Jetty:// http://jetty.mortbay.org/* My index.jspx is this: ?xml version='1.0' encoding='windows-1252'? jsp:root xmlns:jsp=http://java.sun.com/JSP/Page; version=2.0 xmlns:h=http://java.sun.com/jsf/html; xmlns:f=http://java.sun.com/jsf/core; xmlns:af=http://xmlns.oracle.com/adf/faces; xmlns:afh=http://xmlns.oracle.com/adf/faces/html; xmlns:x=http://myfaces.apache.org/tomahawk; jsp:directive.page contentType=text/html;charset=windows-1252/ f:view afh:html f:loadBundle basename=br.com.sag.view.backing.messages var=msg/ afh:head title=#{msg.nomeAplicacao} - #{ usuario.currentModule.nome } link href=../css/sag.css rel=stylesheet media=screen/ afh:script source=/js/indexCode.js/ afh:script source=/js/indexRefreshCondicoes.js/ /afh:head afh:body id=body af:panelPage id=panelPage1 f:facet name=menu2/f:facet f:facet name=infoUser/f:facet f:facet name=messages/f:facet f:facet name=search/f:facet f:facet name=actions/f:facet f:facet name=brandingAppContextual x:jscookMenu layout=hbr theme=ThemeOffice binding=#{backing_sag_index.jscookMenu1} id=jscookMenu1 x:navigationMenuItems binding=#{backing_sag_index.navigationMenuItems1} id=navigationMenuItems1 value=#{backing_sag_index.menu}/ /x:jscookMenu /f:facet f:facet name=contextSwitcher/f:facet f:facet name=infoFootnote/f:facet f:facet name=infoReturn/f:facet f:facet name=infoStatus af:goLink destination=#ERRO rendered=#{backing_sag_pohecamp2.hasErrors} id=vailink h:graphicImage id=erro style=BORDER:0 url=/css/images/alerta.gif title=#{msg.msgExisteErro} / h:outputText value=#{msg.msgErro}/ /af:goLink /f:facet f:facet name=infoSupplemental/f:facet f:facet name=location/f:facet f:facet name=menu1/f:facet f:facet name=menuGlobal h:panelGroup af:outputText value=Usuário: styleClass=x19/ af:outputLabel value=#{usuario.nome} styleClass=x19/ /h:panelGroup /f:facet f:facet name=branding/f:facet f:facet name=brandingApp/f:facet f:facet name=appCopyright f:verbatimCopyright/f:verbatim /f:facet f:facet name=appPrivacy f:verbatimPrivacidade/f:verbatim /f:facet f:facet name=appAbout f:verbatimSobre/f:verbatim /f:facet f:facet name=menuSwitch af:form af:commandLink text=Trocar módulo shortDesc=Entrar em outro módulo do SAG rendered=#{usuario.codfprod == null} immediate=true action=#{backing_sag_index.actionSwitchModule}/ f:verbatimnbsp;/f:verbatim af:goLink text= Sair shortDesc=Sair do sistema destination=/logoff/af:goLink /af:form /f:facet af:form af:showOneTab binding=#{backing_sag_index.showOneTab} id=_detail /af:showOneTab /af:form x:div rendered=#{backing_sag_index.imageVisible} styleClass=SagTextCentered af:objectImage source=#{backing_sag_index.IMAGE_URL}/af:objectImage /x:div /af:panelPage f:verbatim a name=ERRO / /f:verbatim h:messages showSummary=true showDetail=true
Re: Combining multiple wars
Thanks again Matt. I will give it a shot. I am hoping to be able to keep in touch with updates somehow. Maybe the other nabble thread will keep active. It would be great if a codehaus plugin project could happen for it so others would have access. I had seen other people with the same problem in forums. -- View this message in context: http://www.nabble.com/Combining-multiple-wars-tf2235662.html#a6210485 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
it is in the way cvs update: move away errors :what's ths?
I had a successful build an hour ago( that resulted in the building of 2 ears) , but my latest hourly build has a BUILD FAILURE status.The error message says : Build statistics: State: Error Previous State: Ok Started at: Fri, 8 Sep 2006 17:00:00 +0200 Finished at: Fri, 8 Sep 2006 17:00:27 +0200 Total time: 27s Build Trigger: Schedule Exit code: 0 Building machine hostname: jam-000280 Operating system : Windows XP(Service Pack 2) Java version : 1.5.0_07(Sun Microsystems Inc.) Changes No files changed Build Error: Provider message: The cvs command failed. Command output: --- cvs update: move away eportal-ear/target/application.xml; it is in the way cvs update: move away eportal-ear/target/eportal.ear; it is in the way cvs update: move away eportal-ejb-ear/target/application.xml; it is in the way cvs update: move away eportal-ejb-ear/target/eportal- messaging.ear; it is in the way --- What is this? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042
RE: Surefire report not running on test failures
You need to configure surefire to ignore test failures. Look here for testFailureIgnore: http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html I remember that I have read about a way to have this flag set dynamically so it is only ignored if you plan to generate reports (I think Carlos Sanchez has a blog on this). Andreas -Original Message- From: Martin Gilday [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 7:09 AM To: users@maven.apache.org Subject: Surefire report not running on test failures I am trying to generate the HTML report immediately after running tests, as it seems much easier to locate failures using it rather than the individual log files. However when a test failure occurs the report is not created. This issue http://jira.codehaus.org/browse/MSUREFIREREP-2 states this was fixed in 2.0. I have tried going back to version 2.0 but still no success. build plugins ... plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId version2.0/version /plugin ... /plugins /build Is this still an outstanding problem? Regards, Martin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Eclipse target directory
It seems to be stored in a binary file in the workspace (making it difficult for eclipse:eclipse to do much about ir) but there is an API method for setting it so maybe the m2eclipse eclipse plugin could do that Donnchadh On 9/8/06, Douglas Ferguson [EMAIL PROTECTED] wrote: Awesome! Thanks. Where does it store this value? I can't find it in any of the config files for the project. Could this be added to eclipse:eclipse? -Original Message- From: Donnchadh Ó Donnabháin [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 8:48 AM To: Maven Users List Subject: Re: Eclipse target directory In eclipse right-click on the target folder and select 'Properties...' Then, in the Info page, check the 'derived' check box. This should exlude it from searches and resource lookups. Probably error reporting too but I haven't verified that Donnchadh On 9/5/06, Douglas Ferguson [EMAIL PROTECTED] wrote: When using eclipse on war projects, the target directory will start to collect copies of jsp files, from war:war commands, etc. Is there a way to have eclipse ignore the files when searching and reporting errors? D- - 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: Combining multiple wars
We are using cargo to merge war files: http://cargo.codehaus.org/Merging+WAR+files Andreas -Original Message- From: johne [mailto:[EMAIL PROTECTED] Sent: Thursday, September 07, 2006 2:34 PM To: users@maven.apache.org Subject: Combining multiple wars Hello, I am mostly through the process of switching from Ant to Maven2. I have seperated one big project into 5 sub-projects using a hierarchy of poms. I have the following hierarchy: service-platform.war - baseservices.war - servicesusa.war Originally these were all gobbed together in one war. Now I am trying to have multiple countries supported and needed a better way of packaging due to differences in services. My problem is that they have shared resources that need to be exploded under the ending serviceusa.war's WEB-INF. This is not happening, however and the resources can not be found. I have tried working with the dependency plogin and the war plugin, but i have not figured out how I can have service-platform.war's WEB-INF exlode into baseservice.war's and then having both of those explode into the serviceusa.war. Preferably it would be good to be able to filter on each of these. Is there a way? Does somebody have an example they can post? I have not been able to find anything that helped in examples or other projects I have downloaded. Thanks!!! John -- View this message in context: http://www.nabble.com/Combining-multiple-wars-tf2235662.html#a6198850 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: site.xml inheritence
On 9/8/06, Geoffrey De Smet [EMAIL PROTECTED] wrote: I've already read that, there is no example of the child module's site.xml in there. I've been trying for ages to get the child module's site.xml to inherit the parent's site.xml (which is also the parent pom of it's own pom) and add a few links, with no luck. Here is an example, which is in development and will likely change (possibly to remove the site inheritence). As of now, though, it does illustrate how menus, links and style info can be inherited. Parent pom: http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/pom.xml Parent site.xml: http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/src/site/site.xml Child pom: http://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk/pom.xml Child site.xml: http://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk/src/site/site.xm Installing or deploying the parent POM also deploys/installs the parent site descriptor. There is no reference to the parent in the child site.xml. Apparently, inheritance is triggered by the POM dependency. In the example, the child is not defined as a module of the parent, but it used to be and that worked as well. It could be that in that case you need to do something like mvn -N deploy or mvn -N install from the parent to get the parent descriptor installed before building the child. Style info, links and a menu are inherited in the example. The inherited menu menu name=Commons inherit=bottom uses the inherit attribute for positioning, as mentioned in the docs. Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: site.xml inheritence
Better links (specifying svn revision numbers, so links are stable) Parent pom: http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/pom.xml http://svn.apache.org/viewvc/jakarta/commons/trunks-sandbox/pom.xml?revision=437831 Parent site.xml: http://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox/src/site/site.xml http://svn.apache.org/viewvc/jakarta/commons/trunks-sandbox/src/site/site.xml?revision=430908 Child pom: http://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk/pom.xml http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/pom.xml?revision=430702 Child site.xml: http://svn.apache.org/repos/asf/jakarta/commons/sandbox/csv/trunk/src/site/site.xml http://svn.apache.org/viewvc/jakarta/commons/sandbox/csv/trunk/src/site/site.xml?revision=437546 Phil - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to build JEE 5 EJB-JARs?
Alexander Sack wrote: Yea, I don't like having ejb-jar.xml either and I use JBoss which has its own quirks regarding Class-Path. To answer your question, EJB3 is conceptually SUPPOSE to be simpler and essentially a special JAR file with annotationed classes. What do you envision the EJB3 plugin to do for you exactly? I'm building EJB3's with Maven2 using the jar plugin. Works great minus the fact that I need to hand edit a Class-Path entry within my EJB3 jar under JBoss since it doesn't support the Java EE 5 lib directory feature (Glassfish obviously does). Well, I am not an EJB3 expert, so actually I do not know what EJB 3.0 spec mandates the packaging to be. So is there really no difference to a simple JAR? For what is that planned ejb3 plugin good then? -aps On 9/7/06, Markus KARG [EMAIL PROTECTED] wrote: Actually I didn't want to have a ejb-jar.xml any longer with EJB3. What about the status of that ejb3 plugin: When will it be finished? I mean, this is a thing I expect Maven to do for me. Takashi Nishigaya wrote: The maven-ear-plugin does not recognized the jar project as ejb3 module. If you plan to create ear application with ejb3 modules, the ejb3 project should declare packagingejb/packaging in the pom.xml, and prepare the empty ejb-jar.xml declaring ejb3 schema namespace. src/main/resources/META-INF/ejb-jar.xml: ?xml version=1.0 encoding=UTF-8? ejb-jar xmlns = http://java.sun.com/xml/ns/javaee; xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation = http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd; version = 3.0 /ejb-jar This will work well with glassfish. Thanks, Takashi Nishigaya Alexander Sack wrote: I use packaging type JAR for all EJB3 builds as its just easier then trying to retrofit the current ejb plugin. -aps On 9/6/06, Alexandre Russel [EMAIL PROTECTED] wrote: According to BetterBuildsWithMaven.pdf I switched from packagingejb/packaging to packagingejb3/packaging. Unfortunately change it to jar. Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME Cryptographic Signature
Re: How to build JEE 5 EJB-JARs?
Alexandre Russel wrote: According to BetterBuildsWithMaven.pdf I switched from packagingejb/packaging to packagingejb3/packaging. Unfortunately change it to jar. Alex You mean there is no difference between ejb3 and jar? For what is ejb3 good then? no, I mean the packaging is the same. It is just a jar with a persistence.xml file. the Ejb3 extension/packaging comes from an early draft of the spec. That didn't make to the final draft. The packaging and what ejb3 are good for are unrelated :-) alex So there actually is no more ejb3 plugin but users shall use jar? Cool. Would be great if this would be found in the description of the ejb plugin on the web (or in the BetterBuildsWithMaven.pdf) so people do not spend days with boring questions like mine. ;-) smime.p7s Description: S/MIME Cryptographic Signature
AddressException in notifying with multiple email addresses
Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinuumNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/role /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component roleorg.codehaus.plexus.notification.RecipientSource/role implementationorg.apache.maven.continuum.notification.ContinuumRecipientSource/implementation configuration !-- Setting this propery will make Continuum send all emails to this address instead the address specified in the project configuration -- to-override/to-override /configuration /component component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSender/implementation configuration smtp-hostlocalhost/smtp-host smtp-port25/smtp-port sslProvidercom.sun.net.ssl.internal.ssl.Provider/sslProvider usernamesoa/username passwordsoa1/password sslModefalse/sslMode /configuration /component jvm 1| 2006-09-08 17:44:17,616 [Thread-2] INFO ContinuumBuildExecutor:maven2 - Exit code: 1 jvm 1| 2006-09-08 17:44:17,920 [Thread-2] INFO Notifier:mail - Sending message: From '[EMAIL PROTECTED] [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,920 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,921 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| DEBUG: JavaMail version 1.3.2 jvm 1| DEBUG: java.io.FileNotFoundException: /ctxtools/jdk1.5.0_06/jre/lib/javamail.providers (No such file or directory) jvm 1| DEBUG: !anyLoaded jvm 1| DEBUG: not loading resource: /META-INF/javamail.providers jvm 1| DEBUG: successfully loaded resource: /META-INF/javamail.default.providers jvm 1| DEBUG: Tables of loaded providers jvm 1| DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} jvm 1| DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
Re: How to build JEE 5 EJB-JARs?
Well Maven doc isn't exactly great since its not really centralized. But as many have stated custom packaging part of the EJB3 spec never made it and as such, the JAR plugin is your best bet! :D -aps On 9/8/06, Markus KARG [EMAIL PROTECTED] wrote: Alexandre Russel wrote: According to BetterBuildsWithMaven.pdf I switched from packagingejb/packaging to packagingejb3/packaging. Unfortunately change it to jar. Alex You mean there is no difference between ejb3 and jar? For what is ejb3 good then? no, I mean the packaging is the same. It is just a jar with a persistence.xml file. the Ejb3 extension/packaging comes from an early draft of the spec. That didn't make to the final draft. The packaging and what ejb3 are good for are unrelated :-) alex So there actually is no more ejb3 plugin but users shall use jar? Cool. Would be great if this would be found in the description of the ejb plugin on the web (or in the BetterBuildsWithMaven.pdf) so people do not spend days with boring questions like mine. ;-) -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
running JSUnit tests without ant?
Is there a way to run JSUnit tests without ant? And as an aside, I wish I could manage javascript dependencies too. Wouldn't that be cool?! Thanks, chris
RE: AddressException in notifying with multiple email addresses
Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly since. (A comma separate list is really not a good idea since it circumvents the advantages of well-formed and repeatable XML elements.) ciManagement systemContinuum/system urlhttp://yourcontinuumservermachine:8080/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccesstrue/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier /notifiers /ciManagement I tried adding this notifiers list to the parent POM.XML but that did not work. I had to add it to each sub-module pom.xml. I also tried referencing the list of the developers ids in my parent pom to get their emails but that did not work either. From what I have experienced the developers list and the notifiers lists are separate even though some of the information is duplicated and cannot be connected. Good luck/ - Jonathan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:34 PM To: continuum-users@maven.apache.org Subject: AddressException in notifying with multiple email addresses Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua [EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve [EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera @no.com Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinu umNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/rol e /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component roleorg.codehaus.plexus.notification.RecipientSource/role implementationorg.apache.maven.continuum.notification.ContinuumRecipie ntSource/implementation configuration !-- Setting this propery will make Continuum send all emails to this address instead the address specified in the project configuration -- to-override/to-override /configuration /component component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSend er/implementation configuration smtp-hostlocalhost/smtp-host smtp-port25/smtp-port
antrun plugin can't find proper jars
I'm running into a bit of a problem. Since we require passwords to log into perforce and for security reasons, I'm prevented from having some sort of shell log the build user in, I'm attempting to shell out to ant so maven can sync the project directory. So if I do ant -f test.xml things work just fine, but when I execute maven, I get this: Embedded error: The following error occurred while executing this line: E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task or type of type: p4sync. Ant could not find the task or a class this task relies upon. Any suggestions?
Re: How to build JEE 5 EJB-JARs?
Yes certainly you are right the ejb.jar is nothing else than a normal .jar, but I expected the ejb3 task to optionally produce the ejb-client.jar, containing of the the interfaces and its dependencies, plus creating the Class-Path: entry to the ejb-client.jar in the ejb.jar. So I have to do all that manuall now? This is taken away the magic I hoped maven2 would bring to my builds... :-( Markus Alexander Sack wrote: Well Maven doc isn't exactly great since its not really centralized. But as many have stated custom packaging part of the EJB3 spec never made it and as such, the JAR plugin is your best bet! :D -aps On 9/8/06, Markus KARG [EMAIL PROTECTED] wrote: Alexandre Russel wrote: According to BetterBuildsWithMaven.pdf I switched from packagingejb/packaging to packagingejb3/packaging. Unfortunately change it to jar. Alex You mean there is no difference between ejb3 and jar? For what is ejb3 good then? no, I mean the packaging is the same. It is just a jar with a persistence.xml file. the Ejb3 extension/packaging comes from an early draft of the spec. That didn't make to the final draft. The packaging and what ejb3 are good for are unrelated :-) alex So there actually is no more ejb3 plugin but users shall use jar? Cool. Would be great if this would be found in the description of the ejb plugin on the web (or in the BetterBuildsWithMaven.pdf) so people do not spend days with boring questions like mine. ;-) smime.p7s Description: S/MIME Cryptographic Signature
m2: package, war: moving webapp file, or resource requires clean?
Hi, 1) I run mvn clean package 1) I rename a webapp file, for example, from src/main/webapp/old-app.html to src/main/webapp/new-app.html 2) I run mvn package Result: both old-app.html and new-app.html exist in war output (webapp directory and war file). The same kind of thing happens when I use webResources. If I rename a file in the directory of webResources, both old and new files exist in war output. 'mvn clean package' is the only way I know of removing the old resource file from the target directory, but that forces a whole rebuild, which I don't want. Any thoughts? Thanks, John -- View this message in context: http://www.nabble.com/m2%3A-package%2C-war%3A-moving-webapp-file%2C-or-resource-requires-clean--tf2240827.html#a6214767 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: m2: package, war: moving webapp file, or resource requires clean?
Just run 'mvn clean' Roland On Friday 08 September 2006 20:51, flyboy wrote: Hi, 1) I run mvn clean package 1) I rename a webapp file, for example, from src/main/webapp/old-app.html to src/main/webapp/new-app.html 2) I run mvn package Result: both old-app.html and new-app.html exist in war output (webapp directory and war file). The same kind of thing happens when I use webResources. If I rename a file in the directory of webResources, both old and new files exist in war output. 'mvn clean package' is the only way I know of removing the old resource file from the target directory, but that forces a whole rebuild, which I don't want. Any thoughts? Thanks, John - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Building source bundles without deploying
Changes at Codehaus necessitated that I manually upload the recent Jaxen beta 10 release rather than use maven dist:deploy like I used to. Apparently the deploy step was crucial though. A mere maven dist did not create the source archives. (It did create the binaries.) Is there some way I can tell Maven 1.0 to make source zips and .tar.gzs without deploying? -- Elliotte Rusty Harold [EMAIL PROTECTED] Java I/O 2nd Edition Just Published! http://www.cafeaulait.org/books/javaio2/ http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wayne Naccari is out of the office.
I will be out of the office starting 09/08/2006 and will not return until 09/14/2006. I will respond to your message when I return. If you need help for any of the following: Tools (Knowledge Tree, Forum, Wiki, Fisheye): Robert Hill, Paul Gehring; JIRA: Bill Hackbay) Subversion: Ann Collett, Frank Sauer Other Support Issues: Robert Hill - This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Wayne Naccari is out of the office.
ok, thanks for the heads up wayne - btw - who's the point man for mavnen issues? On 9/8/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I will be out of the office starting 09/08/2006 and will not return until 09/14/2006. I will respond to your message when I return. If you need help for any of the following: Tools (Knowledge Tree, Forum, Wiki, Fisheye): Robert Hill, Paul Gehring; JIRA: Bill Hackbay) Subversion: Ann Collett, Frank Sauer Other Support Issues: Robert Hill - This e-mail and any attachments are intended only for the individual or company to which it is addressed and may contain information which is privileged, confidential and prohibited from disclosure or unauthorized use under applicable law. If you are not the intended recipient of this e-mail, you are hereby notified that any use, dissemination, or copying of this e-mail or the information contained in this e-mail is strictly prohibited by the sender. If you have received this transmission in error, please return the material received to the sender and delete all copies from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Unable to find Mojo/CNFE
Hi. I'm struggling to make my plugin work. It is a 1:1 copy of the http://maven-jaxb1-plugin.dev.java.net/ ported onto jaxb2. I'm getting 'Unable to find the mojo' error and the stack trace shows that I have a ClassNotFoundException. I have hot no idea why. The class is clearly in the jar and the jar is clearly in the realms... Does anyone have any suggestions on how could I debug this stuff? What may be possibly wrong? I'd be grateful for any help. Just can't resolve this myself. Bye. /lexi + Error stacktraces are turned on. Maven version: 2.0.4 [DEBUG] Building Maven user-level plugin registry from: 'C:\Dokumente und Einstellungen\valikov\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Maven\conf\plugin-registry.xml' [INFO] Scanning for projects... [DEBUG] Searching for parent-POM: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-tests::0.1 of project: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-tests-po:jar:null in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-tests-po:jar:null [DEBUG] Searching for parent-POM: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-project::0.1 of project: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-tests:pom:null in relative path: ../pom.xml [DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml' for project: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-tests:pom:null [INFO] [INFO] Building JAXB-2.x Maven-2 Plugin Tests [po] [INFO]task-segment: [clean, install] [INFO] [DEBUG] maven-clean-plugin: resolved to version 2.1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugin-parent::2.0 for project: null:maven-clean-plugin:maven-plugin:2.1 from the repository. [DEBUG] maven-jaxb2-plugin: resolved to version 0.1 from local repository [DEBUG] Retrieving parent-POM: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin-project::0.1 for project: org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:maven-plugin:0.1 from the repository. [DEBUG] org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.1:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for project: org.apache.maven:maven-plugin-api:jar:2.0 from the repository. [DEBUG] org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected for runtime) [DEBUG] Retrieving parent-POM: org.apache.maven.shared:shared-components-parent::1 for project: null:file-management:jar:1.0 from the repository. [DEBUG] org.apache.maven.shared:file-management:jar:1.0:runtime (selected for runtime) [DEBUG] org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (selected for runtime) [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-clean-plugin:2.1:clean' -- [DEBUG] (f) directory = C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target [DEBUG] (f) outputDirectory = C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target\classes [DEBUG] (f) testOutputDirectory = C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target\test-classes [DEBUG] -- end configuration -- [INFO] [clean:clean] [INFO] Deleting directory C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target [DEBUG] Found deletable paths: [] [INFO] Deleting directory C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target\classes [DEBUG] Found deletable paths: [] [INFO] Deleting directory C:\Projects\p2.external\maven-jaxb2-plugin\tests\po\target\test-classes [DEBUG] Found deletable paths: [] [DEBUG] maven-resources-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-resources-plugin:maven-plugin:2.2 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the repository. [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for project: org.apache.maven.plugins:maven-plugins:pom:1 from the repository. [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project: org.apache.maven:maven-parent:pom:1 from the repository. [DEBUG] maven-surefire-plugin: resolved to version 2.2 from repository central [DEBUG] Retrieving parent-POM: org.apache.maven.plugins:maven-plugins::1 for project: null:maven-surefire-plugin:maven-plugin:2.2 from the repository. [DEBUG] Retrieving parent-POM:
RE: antrun plugin can't find proper jars
Here's a better question - is anyone trying to use any of the optional tasks in ant via maven? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:50 PM To: users@maven.apache.org Subject: antrun plugin can't find proper jars I'm running into a bit of a problem. Since we require passwords to log into perforce and for security reasons, I'm prevented from having some sort of shell log the build user in, I'm attempting to shell out to ant so maven can sync the project directory. So if I do ant -f test.xml things work just fine, but when I execute maven, I get this: Embedded error: The following error occurred while executing this line: E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task or type of type: p4sync. Ant could not find the task or a class this task relies upon. Any suggestions? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: changelog and changes
Roald Bankras wrote: Hi All What is needed for the changelog and changes plugins to get release? Roald Bankras Software Engineer JTeam b.v. I have started a vote to release the changes plugin on the dev list. After that has been released I plan to do the same for the changelog plugin. -- Dennis Lundberg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Combining multiple wars
Andreas, As I am new to Maven 2 I am still trying to work off of examples and I am having a hard time locating an example for what I am trying to do. I have 5 modules that need to get built as follows: A - A.jar B - B.jar C - A.jar + B.jar + C module C.war D -- C.war + D module D.war E -- C.war + E module E.war I hope this is understandable. Basically I need to have the resources and WEB-INF properties to be made available and usable in the D E wars without overwriting D or E's own files where C's files conflict.The reason for this is C is a service platform with its own admin screens, etc.C D are different internationalized versions with specific different services both built off of C's base infrastructure. I have the build working except that the property (resource files) and XML (WEB-INF) files are not exploded into the final wars causing the final wars to not see that they exist when tomcat runs. Is there any example on how I can do this? I can't even imagine backing off to Ant at this stage having gone so far. Thanks for any help as I will be using this in multiple projects. -- View this message in context: http://www.nabble.com/Combining-multiple-wars-tf2235662.html#a6216901 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Browser Testing - Selenium?
On 9/8/06, Douglas Ferguson [EMAIL PROTECTED] wrote: Anybody have experience with Maven Selenium? http://www.openqa.org/selenium/index.html Yes, we're using Selenium for functional testing in both Shale and MyFaces. Here's a page explaining how I'm configuring Maven to include the necessary Selenium code in the packaged webapp: http://docs.codehaus.org/display/MAVENUSER/Maven+and+Selenium (We also use Cargo to start the container and deploy the example apps.) In addition, we're starting to use HostedQA to automate the Selenium tests: http://www.autoriginate.com/hostedqa.jsp For example: https://myfaces.hostedqa.com/project/54/session/suite/list HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: antrun plugin can't find proper jars
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html Using optional ant tasks Basically you add the optional jars as dependencies to the maven-antrun-plugin itself in the build-plugins-plugin node. Wayne On 9/8/06, EJ Ciramella [EMAIL PROTECTED] wrote: Here's a better question - is anyone trying to use any of the optional tasks in ant via maven? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:50 PM To: users@maven.apache.org Subject: antrun plugin can't find proper jars I'm running into a bit of a problem. Since we require passwords to log into perforce and for security reasons, I'm prevented from having some sort of shell log the build user in, I'm attempting to shell out to ant so maven can sync the project directory. So if I do ant -f test.xml things work just fine, but when I execute maven, I get this: Embedded error: The following error occurred while executing this line: E:\work\up-svcs\lty\proj\LTY-P39\test.xml:4: Could not create task or type of type: p4sync. Ant could not find the task or a class this task relies upon. Any suggestions? - 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: Building source bundles without deploying
Arnaud HERITIER wrote: maven dist:build-bin and/or maven dist:build-src OK. Thanks. Is there a way I can set up project.xml or project.properties so that this happens automatically, or am I just going to have to do this manually each time I release? -- Elliotte Rusty Harold [EMAIL PROTECTED] Java I/O 2nd Edition Just Published! http://www.cafeaulait.org/books/javaio2/ http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven + WTP deployment question
Hello there! I've managed to use WTP + maven thanks to messages on this list :). I've configured my pom, to use WTP folders, and point to the correct context root using maven's war-plugin. But I still get a problem. When using WTP to deploy my app. It deploys it (but none of the libs that lies under the Maven repository are deployed to the server) . Is it possible to instruct eclipse/wtp to fetch those libs and add them to the WebContent/WEB-INF/lib directory? Regards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]