Re: How do I stop a plugin from being inherited by child modules?
Adding false to the plugin declaration should take care of this for you. Wayne On 11/18/07, Kevin Stembridge <[EMAIL PROTECTED]> wrote: > Hi folks, > If I define a plugin in a parent pom, how do I prevent it from being > inherited and run by child modules? > Is this something that depends on the plugin itself or is there a Maven > configuration property? > > Cheers, > Kevin > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
New Maven integration for Eclipse project proposed to the Eclipse Foundation
Hi all, I'm proud to say that a new project proposal has been approved at the Eclipse Foundation to add Maven integration into the Eclipse IDE as an official Eclipse project. The proposal is called Eclipse Integration for Apache Maven (Eclipse IAM) http://www.eclipse.org/proposals/iam/ and is the first step to become a project. It's based in the work taking place in Q4E http://code.google.com/p/q4e/ Over the next month discussions about the creation will happen in the newsgroup at server: news.eclipse.org group: eclipse.technology.iam or at http://www.eclipse.org/newsportal/thread.php?group=eclipse.technology.iam The discussions will have as objective gathering the community interested in having the project in the Eclipse Foundation and finding two mentors from the Eclipse Architecture Council http://www.eclipse.org/org/foundation/council.php#architecture When ready, we can go through the creation review process. If you are interested, please join the newsgroup as community interest is crucial for the proposal to become a project. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: no net in java.library.path
Thank you for your quick reply! Wayne Fay wrote: > > What OS? What Java JDK version? What Maven version? > OS - Windows XP JDK - 1.6.0_03 Maven - 2.0.7 Wayne Fay wrote: > > Can you try running mvn with the -X parameter, to capture the full > debug output? > Here is the full debug output. This happens when I try to run ANY command that I have not yet run: mvn -X clean + Error stacktraces are turned on. Maven version: 2.0.7 Java version: 1.6.0_03 OS name: "windows xp" version: "5.1" arch: "x86" [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin gs\Matthew\.m2\plugin-registry.xml' [DEBUG] Building Maven global-level plugin registry from: 'C:\Tools\maven-2.0.7\ bin\..\conf\plugin-registry.xml' [INFO] Scanning for projects... [INFO] - --- [INFO] Building dubbelty-infrastructure [INFO]task-segment: [clean] [INFO] - --- [INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking for update s from central [INFO] [ERROR] FATAL ERROR [INFO] [INFO] no net in java.library.path [INFO] [DEBUG] Trace java.lang.UnsatisfiedLinkError: no net in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682) at java.lang.Runtime.loadLibrary0(Runtime.java:823) at java.lang.System.loadLibrary(System.java:1030) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50) at java.security.AccessController.doPrivileged(Native Method) at java.net.PlainSocketImpl.(PlainSocketImpl.java:82) at java.net.Socket.(Socket.java:117) at sun.net.NetworkClient.doConnect(NetworkClient.java:144) at sun.net.www.http.HttpClient.openServer(HttpClient.java:394) at sun.net.www.http.HttpClient.openServer(HttpClient.java:529) at sun.net.www.http.HttpClient.(HttpClient.java:233) at sun.net.www.http.HttpClient.New(HttpClient.java:306) at sun.net.www.http.HttpClient.New(HttpClient.java:323) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLC onnection.java:788) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConne ction.java:729) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection .java:654) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon nection.java:977) at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD ata(LightweightHttpWagon.java:83) at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(D efaultWagonManager.java:462) at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMeta data(DefaultWagonManager.java:363) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada taManager.resolveAlways(DefaultRepositoryMetadataManager.java:364) at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada taManager.resolve(DefaultRepositoryMetadataManager.java:97) at org.apache.maven.artifact.transform.AbstractVersionTransformation.res olveVersion(AbstractVersionTransformation.java:65) at org.apache.maven.artifact.transform.LatestArtifactTransformation.tran sformForResolve(LatestArtifactTransformation.java:41) at org.apache.maven.artifact.transform.DefaultArtifactTransformationMana ger.transformForResolve(DefaultArtifactTransformationManager.java:57) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:114) at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De faultArtifactResolver.java:73) at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo sitory(DefaultMavenProjectBuilder.java:526) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromReposito ry(DefaultMavenProjectBuilder.java:234) at org.apache.maven.project.artifact.MavenMetadataSource.retrieve(MavenM etadataSource.java:105) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveMe taVersion(DefaultPluginVersionManager.java:672) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:186) at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl uginVersion(DefaultPluginVersionManager.java:90) at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug inManager.java:166) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa ultLifecycleExe
Re: Package and Tag
Excellent. Thank you Marijn. This is exactly what I need. Brad On Sun, 2007-11-18 at 17:52 +0100, Martijn Dashorst wrote: > I think you need the > mvn release:prepare release:perform > > goals. signature.asc Description: This is a digitally signed message part
Re: problem with maven embebed in netbeans 5.5.1
does the same happen when invoking on the command line? worth filing as issue at http://jira.codehaus.org/browse/MEVENIDE Milos On Nov 14, 2007 4:06 PM, logancillo <[EMAIL PROTECTED]> wrote: > > hi everybody, i`using netbeans 5.5.1 with jdk 1.6. App server is embebed > tomcat 5.5.17 and i `m having some troubles when i build the war file. It > seems that WEB-INF/classes dir is not updated! > > i´ll try to explain better! > > my workspace is C:\trabajo\ws\AFEL\sources, where i have pom.xml, > profiles.xml, nbactions.xml and src directory with my web project. If i > run > build goal on netbeans, it extracts to screen something like this: > > [compiler:compile] > [INFO]Compiling 28 source files to > C:\trabajo\ws\AFEL\sources\target\classes > [resources:testResources] > [INFO]Using default encoding to copy filtered resources. > [compiler:testCompile] > [INFO]No sources to compile > [surefire:test] > [INFO]No tests to run. > [war:war] > [INFO]Packaging webapp > [INFO]Assembling webapp[frontal] in > [C:\trabajo\ws\AFEL\sources\target\frontal-1.0-SNAPSHOT] > [INFO]Processing war project > [INFO]Webapp assembled in[6484 msecs] > [INFO]Building war: > C:\trabajo\ws\AFEL\sources\target\frontal-1.0-SNAPSHOT.war > [install:install] > [INFO]Installing C:\trabajo\ws\AFEL\sources\target\frontal- > 1.0-SNAPSHOT.war > to C:\Documents and > > Settings\operador\.m2\repository\es\yell\frontlite\frontal\1.0-SNAPSHOT\frontal- > 1.0-SNAPSHOT.war > > [INFO] > [INFO]BUILD SUCCESSFUL > > [INFO] > [INFO]Total time: 14 seconds > [INFO]Finished at: Wed Nov 14 15:58:51 CET 2007 > [INFO]Final Memory: 47M/87M > > [INFO] > > the content of C:\trabajo\ws\AFEL\sources\target\classes is diferent with > regard to WEB-INF/classes contained in the generated war! > > pls help, how can i fix this strange behavior? > > PD > > i already tried unistalling and purging netbeans files > -- > View this message in context: > http://www.nabble.com/problem-with-maven-embebed-in-netbeans-5.5.1-tf4805705s177.html#a13748536 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Mavenide and NetBeans 6 RC1
check the faq (http://mevenide.codehaus.org/m2-site/faq.html) for answer. Unfurtunately for 6.0 fcs, we're stuck with the current embedder version. I'll be upgrading to latest 2.1-SNAPSHOT embedder binaries soon for trunk, then you will be able to get the bits from http://deadlock.netbeans.org/hudson/job/mevenide/ and install in 6.0. Of course these can have other unexpected sideeffects. The RC2 update center will feature a new version of maven support on Update Center, which has a bug with wrong compile error parsing on command-line invokation fixed, but the embedded version stays the same. Regards Milos Kleint On Nov 16, 2007 5:29 PM, johne <[EMAIL PROTECTED]> wrote: > > Mavenide is failing for me on Netbeans 6.0 RC1. I am using a piece of > AppFuse (warpath plugin) that has a dependency requirement of Maven 2.0.6, > but Mavenide in NB 6.0 RC1 is currently giving a failure for dependencies > of > Maven 2.0.6 and over. > > As a result, I am having to set the additional Maven options and run an > external Maven 2.0.7 compiler to have the build work. This does compile > my > many projects together, but unlike with how the warpath plugin worked > previously in NB 5.5, it fails to find my compilation paths for one of my > WAR compiles. Also I believe having it being external, NB loses some > abilities to understand what is going on. > > I am obviously very limited in my knowledge of all of this. > > I am wondering what the state is for Mavenide and NB6. Is there something > in the works to have it working with NB6? Is there something I can > download > to make some of this work better? > > My project is very complicated and I would not get it working in Eclipse, > so > I am hoping. If there is anything I can do, let me know. > > - john > > -- > View this message in context: > http://www.nabble.com/Mavenide-and-NetBeans-6-RC1-tf4822409s177.html#a13796488 > Sent from the Maven - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Difficulty configuring dependency plugin
I have also determined using -X debugging that the plugin appears to be getting configured: [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-dependency-plugin:2.0-alpha-5-SNAPSHOT:resolve' --> [DEBUG] (f) excludeGroupIds = com.mydomain ... [INFO] [dependency:resolve] [DEBUG] Including Transitive Dependencies. [DEBUG] Excluding 1 GroupId: com.mydomain So, the plugin is correctly configured, however Maven is still trying to download this dependency. It is probably because I have another module with a dependency on this jar and before the resolve plugin has a chance to execute, the simple discovery of dependent POM files is triggering this error. -- jim chago wrote: > > However, when i execute mvn dependency:resolve from the command line, it > still insists on attempting to download archives with a group of > com.somedomain. > > Am I making a mistake? > -- View this message in context: http://www.nabble.com/Difficulty-configuring-dependency-plugin-tf4829454s177.html#a13822556 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Maven Sites Generation Creates Out-Of-Memory Error
It looks like there is a problem with being able to generate Maven sites. Even though plugins like Codestyle and PMD are available, it is not possible to run the full suite of Maven sites because I always get an Out-of-Memory Error. I have tried updating Maven Java memory settings through MAVEN_OPTS, but of course this only affects the top-level Maven process, not the sub-processes which are created. Thus, please tell me what I need to do to stop my builds failing from Site Out-of-Memory errors. If it is not possible to set memory for the site subprocesses, please let me know as well. Thank you. This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1]
Re: The OpenJPA Enhancer tool exited with a non-null exit code.
Hi Julien, Can you try invoking the goal with -X (for debug)? Also, where is the persistence.xml located in your project? Rahul - Original Message - From: "Julien Martin" <[EMAIL PROTECTED]> To: "Maven Users List" ; <[EMAIL PROTECTED]> Sent: Wednesday, October 24, 2007 6:31 AM Subject: The OpenJPA Enhancer tool exited with a non-null exit code. Hello, I use the following goal: openjpa:enhance and I get this when I try to run the goal from netbeans. The OpenJPA Enhancer tool exited with a non-null exit code. Can anyone please help? It seems maven cannot locate the persitence.xmlfile. This is both a netbeans and maven related problem so I post the question on both mailing lists. Thanks in advance, Julien. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Package and Tag
I think you need the mvn release:prepare release:perform goals. Martijn On Nov 18, 2007 5:48 PM, Brad Smith <[EMAIL PROTECTED]> wrote: > I use maven on several projects that provide components to other > applications. I would like to have maven automatically create a tag in > the subversion repository for each time package is run to create a > distributable jar from the project. Is this possible? If so, how might > I accomplish this? > > Thanks, > > Brad > > -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-rc1 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-rc1/
Package and Tag
I use maven on several projects that provide components to other applications. I would like to have maven automatically create a tag in the subversion repository for each time package is run to create a distributable jar from the project. Is this possible? If so, how might I accomplish this? Thanks, Brad signature.asc Description: This is a digitally signed message part
How do I stop a plugin from being inherited by child modules?
Hi folks, If I define a plugin in a parent pom, how do I prevent it from being inherited and run by child modules? Is this something that depends on the plugin itself or is there a Maven configuration property? Cheers, Kevin
Re: SCM
On Nov 18, 2007 9:03 AM, Filippo De Luca <[EMAIL PROTECTED]> wrote: > Dear maven users > I setup a simple project, i have my subversion server an want to upload my > project to the server. ... > but i try to do > > mvn -Dmessage="First try" scm:checkin > > but it failed! > > [ERROR] Provider message: > [ERROR] The svn command failed. > [ERROR] Command output: > [ERROR] svn: 'F:\Documents and > Settings\Filosganga\Documenti\development\DataAccess' is not a working copy > > what's is bad? I don't know how Maven SCM handles it, but with Subversion you'll have to import or add before you commit. (FWIW, most people don't use Maven for this part. Is there some reason you want to use it instead of the usual command line Subversion commands or IDE integration?) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
SCM
Dear maven users I setup a simple project, i have my subversion server an want to upload my project to the server. my scm config is: scm:svn: http://svn.ganga.locale/svn/main/DataAccess/trunk scm:svn: http://svn.ganga.locale/svn/main/DataAccess/trunk http://svn.ganga.locale/svn/main/trunk and org.apache.maven.plugins maven-scm-plugin 1.0 install user password with correct user and password. but i try to do mvn -Dmessage="First try" scm:checkin but it failed! [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: 'F:\Documents and Settings\Filosganga\Documenti\development\DataAccess' is not a working copy what's is bad? -- Filippo De Luca [EMAIL PROTECTED] http://www.filosganga.it -- Circolo Canottieri Roma Lungotevere Flaminio, 39 - 00196 - Roma - Italia http://www.canottieriroma.com --
Emma code coverage
Hi In our project we are using maven2.06. and Emma for the code coverage report but it gives report module wise but we want consolidated coverage report so we would like to fetch the information from emma reports ao can anyone please tell me emma reports are in which format apart from html pages .. so that i can grab the information from those reports and make my own reports.. Regards Vishal.
Difficulty configuring dependency plugin
I am trying to exclude certain artifacts from dependency:resolve, and I am using the following configuration: org.apache.maven.plugins maven-dependency-plugin sources resolve com.somedomain However, when i execute mvn dependency:resolve from the command line, it still insists on attempting to download archives with a group of com.somedomain. Am I making a mistake? -- jim -- View this message in context: http://www.nabble.com/Difficulty-configuring-dependency-plugin-tf4829454s177.html#a13817080 Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]