Issue with deploy:deploy-file
Hello, I would like to set up non-trivial configuration of deploy plugin. Sometimes it is necessary to deploy the snapshot of the artifact into public repository and it is not needed to deploy snapshots into private repository at all. I disabled deploy plugin using skip parameter and I created profile for snapshots deploys: ?xml version=1.0 encoding=UTF-8? build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.7/version configuration skiptrue/skip /configuration /plugin ... /plugins /build profiles profile idpublish-snapshot/id build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-deploy-plugin/artifactId version2.7/version executions execution iddeploy-snapshot/id phasedeploy/phase goals goaldeploy-file/goal /goals configuration urlhttp://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots//url repositoryIdzt-public-snapshots/repositoryId file${project.build.directory}/${zt-license-server.finalName}.zip/file version${project.version}/version groupId${project.groupId}/groupId artifactId${project.artifactId}/artifactId generatePomfalse/generatePom packagingzip/packaging /configuration /execution /executions /plugin /plugins /build /profile /profiles To upload the artifact I use the following command: mvn clean deploy -Ppublish-snapshot For some reason the artifact is uploaded twice: [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy (default-deploy) @ jr-license-server-runner --- [INFO] Skipping artifact deployment [INFO] [INFO] --- maven-deploy-plugin:2.7:deploy-file (deploy-snapshot) @ jr-license-server-runner --- Downloading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/maven-metadata.xml Uploading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/jr-license-server-runner-1.4.4-20120206.063112-1.zip Uploaded: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/jr-license-server-runner-1.4.4-20120206.063112-1.zip (32025 KB at 507.4 KB/sec) Downloading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/maven-metadata.xml Uploading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/maven-metadata.xml Uploaded: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/maven-metadata.xml (637 B at 1.1 KB/sec) Uploading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/maven-metadata.xml Uploaded: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/maven-metadata.xml (320 B at 0.4 KB/sec) Uploading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/jr-license-server-runner-1.4.4-20120206.063112-1.zip Uploaded: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/jr-license-server-runner-1.4.4-20120206.063112-1.zip (32025 KB at 922.0 KB/sec) Uploading: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/maven-metadata.xml Uploaded: http://repos.zeroturnaround.com/nexus/content/repositories/zt-public-snapshots/com/zeroturnaround/jr-license-server/jr-license-server-runner/1.4.4-SNAPSHOT/maven-metadata.xml (637 B at 1.3 KB/sec) [INFO] [INFO] BUILD SUCCESS [INFO] Why it happens? -- View this message in context: http://maven.40175.n5.nabble.com/Issue-with-deploy-deploy-file-tp5459611p5459611.html Sent from the Maven - Users mailing list archive at Nabble.com.
resolve dependencies for maven osgi project
I have a working project. it has some dependencies,. i am using pax plugin in to run it. i am using eclipse, and right clicking the project i am choosing maven intall, and then i am using the wrap plugin to make the dependencies as bundles as well.Then i am starting the pax plugin from a command line interface to eliminate eclipse, and installing the project, i have to manually install the dependencies one by one for it to work, but then it works fine. Has anyone used this before? and instruct me on what i am doing wrong? i am sure that there is a different way and not to install the dependencies manually. please help. -- View this message in context: http://maven.40175.n5.nabble.com/resolve-dependencies-for-maven-osgi-project-tp5459677p5459677.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven and wsdl2java
Hi, Hi, I am trying to use maven to generate some client stubs for axis 1.4. The below pom, runs without complaint, but it doesn't generate the required ServiceLocator classes. If I download axis 1.4 and use the standard wsdl2java from the command line, everything is fine. I have seen a similar behaviour recently with a WSDL I got from a colleague: The generated ServiceLocator file had a length of 0 bytes. Comparing the new WSDL with an older version showed me that there was an improperly set wsdlsoap:address entry: (...) wsdl:service name=MyService wsdl:port binding=intf:webservices.test.srv.deSoapBinding name=de.srv.test.webservices ** wsdlsoap:address location=http://server:port/some/more/stuff/ /wsdl:port /wsdl:service (...) I replaced the line marked with ** with wsdlsoap:address location=http://webservices.test.srv.de/ and the ServiceLocator was generated, i.e. the problem was solved... HTH Thorsten
Re: Maven errors on compilation of files with missing imports (files that are not called by the application) compile phase
It appears that maven is validating the classes for missing dependencies regardless of calling compiler:compile or the compile phase. This was not the case previously somehow before my eclipse crashed. I even have the compiled classes for a different project including all of the shared classes. What can possibly be causing maven to validate the imports? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-errors-on-compilation-of-files-with-missing-imports-files-that-are-not-called-by-the-applicatie-tp5458721p5459880.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Maven errors on compilation of files with missing imports (files that are not called by the application) compile phase
This is bizarre. It appears that I ran exec:java (or compile) and it generated class files in the target/classes folder just like in the other project and maven claimed that all files are up to date. I don't know what I did to generate the class files. I did a mvn clean deleting the class files and maven is again erroring on compilation because it no longer has the class files. Perhaps eclipse's builder was triggered to compile the project? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-errors-on-compilation-of-files-with-missing-imports-files-that-are-not-called-by-the-applicatie-tp5458721p5459920.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Copying license files to my jar in maven-jar-plugin
I think you may be looking at the wrong plugin. If I take a look at the Apache Parent Pom [1] I see an execution of the remote-resources-plugin, which is extracting the LICENSE, etc into the directory the jar plugin is going to process. I think you need to change the configuration of the remote-resources-plugin. [1] http://repo1.maven.org/maven2/org/apache/apache/9/apache-9.pom Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Fri, Feb 3, 2012 at 4:14 PM, Lahiru Gunathilake glah...@gmail.com wrote: Hi all, I have an issue with one of the Apache Incubator project when it comes to copying license files. In Apache we use apache parent pom as the main parent pom of our project. So when we use it it simply copy LICENSE,NOTICE files of its own to my jars. I have LICENSE,NOTICE files with me for each module I build. I want to override them and make sure my LICENSE,NOTICE files are there in place when jar get created. But I am having a hard time to do that, because I couldn't find proper configuration of maven-jar-plugin.. if someone can point me to all the configuration parameters of maven-jar-plugin that would be great, or please advice me how to solve this kind of an issue. Regards Lahiru -- System Analyst Programmer PTI Lab Indiana University - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What is the right way to install a file to my local repository?
I think it goes wrong on this line: Installing C:\Documents and Settings\E18538\workspace\myco-productplus-web\~\Downloads\selenium-server-standalone-2.0b3.jar It doesn't seem to be able to resolve the '~' on your system. Could you try to give it a relative path or an absolute path which is not dependend on your '~' shortcut? Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Mon, Feb 6, 2012 at 4:37 PM, laredotornado-3 laredotorn...@gmail.com wrote: Installing C:\Documents and Settings\E18538\workspace\myco-productplus-web\~\Downloads\selenium-server-standalone-2.0b3.jar - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Issue with deploy:deploy-file
I disabled deploy plugin using skip parameter and I created profile for snapshots deploys: ... For some reason the artifact is uploaded twice: Check mvn help:effective-pom to be sure that Maven's generated model matches what you are expecting after evaluation of your profiles. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: What is the right way to install a file to my local repository?
Hi, based on the output you gave the file has been installedBut your setting.xml has some problems...and i would suggest to fix these problems first laredotornado-3 wrote [WARNING] 'repositories.repository.layout' for mycoClearingInternalRelease uses the unsupported value 'legacy', artifact resolution might fail. @ C:\Documents and Settings\E18538\.m2\settings.xml Kind regards Karl Heinz Marbaise - Kind regards Karl Heinz Marbaise http://www.soebes.de http://www.skmwiki.de http://supose.org/wiki/supose -- View this message in context: http://maven.40175.n5.nabble.com/What-is-the-right-way-to-install-a-file-to-my-local-repository-tp5460363p5460473.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus
mschipperheyn wrote: Yeah, but regular expressions in packagingExcludes don't work there. Makes my life a little harder Works for me also in 2.2. - Jörg - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: Issue with deploy:deploy-file
Thank you for the tip! Effective pom has two definitions of maven-deploy-plugin: one is profile and one is plugins section. Second definition has two execution. First execution is generated by Maven. It runs the goal deploy and has configuration/skip = true (I set this parameter it in my profile). Second execution came from profile. Could it be an issue in deploy plugin? Igor On 6 February 2012 18:16, Wayne Fay [via Maven] ml-node+s40175n5460471...@n5.nabble.com wrote: I disabled deploy plugin using skip parameter and I created profile for snapshots deploys: ... For some reason the artifact is uploaded twice: Check mvn help:effective-pom to be sure that Maven's generated model matches what you are expecting after evaluation of your profiles. Wayne - To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] If you reply to this email, your message will be added to the discussion below: http://maven.40175.n5.nabble.com/Issue-with-deploy-deploy-file-tp5459611p5460471.html To unsubscribe from Issue with deploy:deploy-file, click here. NAML -- View this message in context: http://maven.40175.n5.nabble.com/Issue-with-deploy-deploy-file-tp5459611p5460910.html Sent from the Maven - Users mailing list archive at Nabble.com.
Re: maven-pmd-plugin empty pmd.xml
When I'm running mvn clean compile test pmd:pmd pmd:check my pmd.xml inside target dir is empty. put error-prone souce file directly into src/main/java my build fails. So it maybe a problem with lookup of the source files. This suggests that you've customized your source paths in the pom, is that right? Why did you do this? Maven is opinionated and things like this should be avoided unless absolutely required. You probably need to show some more lines from your pom file. Ideally you'd post it at pastebin.com and send a link here rather than sending a full pom. BTW this list strips attachments. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
Basically I've got several modules in one parent dir: AllModules ++Module1 ++Module2 ++Module3 I've got one pom for AllModules that simply integrates all other modules. Here are the poms: http://pastebin.com/DWhWCKcU I've got empty report even if I run pmd using child poms. Thanks. 2012/2/6 Wayne Fay wayne...@gmail.com When I'm running mvn clean compile test pmd:pmd pmd:check my pmd.xml inside target dir is empty. put error-prone souce file directly into src/main/java my build fails. So it maybe a problem with lookup of the source files. This suggests that you've customized your source paths in the pom, is that right? Why did you do this? Maven is opinionated and things like this should be avoided unless absolutely required. You probably need to show some more lines from your pom file. Ideally you'd post it at pastebin.com and send a link here rather than sending a full pom. BTW this list strips attachments. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus
Hmm, strange. I use packagingExcludes/packagingExcludes worked very nice for me in the snapshot but not in 2.2 -- View this message in context: http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5461037.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-war-plugin 2.2 snapshot suddenly throws ClassDefError Plexus
ahh the code got lost in html execution %regex[.*(?!(msa-base[a-z_]{0,3}|min))\.js] -- View this message in context: http://maven.40175.n5.nabble.com/maven-war-plugin-2-2-snapshot-suddenly-throws-ClassDefError-Plexus-tp5454020p5461040.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
I've got empty report even if I run pmd using child poms. ... When I'm running mvn clean compile test pmd:pmd pmd:check my pmd.xml inside target dir is empty. You probably need to run mvn site rather than the complicated clean compile test pmd:pmd etc. Try that and report back. And go back to Maven.org to read up on Intro to Maven documentation so you understand how the lifecycle works. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
Hi Wayene. Thank you very much for answer. There is reason why I use thoses phases -- Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed -- is to enforce coding style and standarts and fail build in case of some violations. There is no need of html/csv reports in my scenario at all. I just don't understand why maven pmd plugin doesn't work as expected in my simpliest poms provided above - perhaps some hidden feature not listed in official documentation. Please advise. PS. site also generates empty report. 2012/2/6 Wayne Fay wayne...@gmail.com I've got empty report even if I run pmd using child poms. ... When I'm running mvn clean compile test pmd:pmd pmd:check my pmd.xml inside target dir is empty. You probably need to run mvn site rather than the complicated clean compile test pmd:pmd etc. Try that and report back. And go back to Maven.org to read up on Intro to Maven documentation so you understand how the lifecycle works. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] DITAOT Maven Plugin 1.0 Beta 3
Hi, The Mojo team is pleased to announce the release of the Maven Dita Plugin version 1.0-beta-3 This plugin is a thin wrapper of DITA Open Toolkit's Ant command line. In addition, it also has extra goals to convert the DITA's Microsoft CHM output to a pure HTML output, and configure Eclipse IDE to allow editing and building DITA. You can see more about the plugin at: http://mojo.codehaus.org/dita-maven-plugin/ Changes to this release is at http://mojo.codehaus.org/dita-maven-plugin/changes-report.html Enjoy, The Mojo team. Regards, -Dan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] Hibernate 3 Maven Plugin version 3.0
Hi, The Mojo team is pleased to announce the release of the Maven Hibernate 3 Plugin version 3.0 This is a complete rewrite of version 2.x to have tighter integration with Hibernate Tooling. Due to this mass changes, this version is not backward compatible with existing version 2.x You can see more about the plugin at: http://mojo.codehaus.org/hibernate3-maven-plugin/ Enjoy, The Mojo team. Regards, -Dan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] DBUpgrade Maven Plugin 1.0 Beta 2
Hi, The Mojo team is pleased to announce the release of the Maven DBUpgrade Plugin version 1.0-beta-2 This plugin lets you incrementally upgrade your project database schema and data during your development/product lifecycles. You can also use it's core component, dbupgrade-core, to perform your application's database upgrade at startup which happens quickly if no newer upgrade detected. You can see more about the plugin at: http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin/ Changes to this release is at http://mojo.codehaus.org/dbupgrade/dbupgrade-maven-plugin//changes-report.html Enjoy, The Mojo team. Regards, -Dan - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed -- is to enforce coding style and standarts and fail build in case of some violations. There is no need of html/csv reports in my scenario at all. I don't use this plugin as a regular thing so I can't tell you why it isn't working. I am simply going on the documentation that is published. If you aren't using the site and just want to have PMD complain about rule violations, you probably don't want to use the reporting section but instead the build section of your pom. And you probably want to use the check goal. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
[ANN] Maven PMD Plugin 2.7 Released
The Maven team is pleased to announce the release of the Maven PMD Plugin, version 2.7 A Maven plugin for the PMD toolkit, that produces a report on both code rule violations and detected copy and paste fragments, as well as being able to fail the build based on these metrics. http://maven.apache.org/plugins/maven-pmd-plugin You should specify the version in your project's plugin configuration: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId version2.7/version /plugin Release Notes - Maven PMD Plugin - Version 2.7 Improvement * [MPMD-141] Add Italian Resource Bundle * [MPMD-138] Use modello to generate models to read pmd and cpd files * [MPMD-135] Update to use and require Java 5 * [MPMD-122] Add @threadSafe support for maven3 New Feature * [MPMD-137] Add French translation for CPD * [MPMD-136] Add Dutch translation Task * [MPMD-140] Require Maven 2.2.1 * [MPMD-134] Update to PMD 4.3 -- allow target to java 7 Enjoy, -The Maven team - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
On Tue, Feb 7, 2012 at 7:19 AM, Wayne Fay wayne...@gmail.com wrote: Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed -- is to enforce coding style and standarts and fail build in case of some violations. There is no need of html/csv reports in my scenario at all. I don't use this plugin as a regular thing so I can't tell you why it isn't working. I am simply going on the documentation that is published. If you aren't using the site and just want to have PMD complain about rule violations, you probably don't want to use the reporting section but instead the build section of your pom. And you probably want to use the check goal. As Wayne says: http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Maven Failure
org.apache.maven.shared.filtering.MavenFilteringException I am getting this message on top of my maven webapp project's pom.xml. I am using maven 3 , jdk 1.7. . Using Springsource. Please help me. Checked all variables and googled the error but no luck, it seems like no one knows the answer to this problem. -- View this message in context: http://maven.40175.n5.nabble.com/Maven-Failure-tp5460076p5460076.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
maven-failsafe-plugin 2.12 incorrectly passes my test suite
Hi everyone, I recently added maven-failsafe-plugin version 2.11 to my build. When running the integration tests in parallel it correctly reports test failures - I know there are some multithreading issues in my code. Now I have changed to version 2.12 and all of a sudden my test suite passes without failures. When changing back to version 2.11 I get the test failures again as before. So I wonder if there have been changes to the class loading between 2.11 and 2.12? I suspect that a separate class instance is used for each test with 2.12. This would explain why it passes the test suite all of a sudden. Looking up the plugin site and JIRA change log has revealed no evidence of this, however. Regards, Christian Schlichtherle
maven-failsafe-plugin incorrect reports when running parallel tests
Hi everyone, I recently added maven-failsafe-plugin version 2.11 to my build. When running the integration tests in parallel it always reports test failures. Now I have changed to version 2.12 and all of a sudden my test suite passes without failures although I know that there are some multithreading issues in my code. When changing back to version 2.11 I get the test failures again as before. So I wonder if there have been changes to the class loading between 2.11 and 2.12? I suspect that a separate class instance is used for each test with 2.12. This would explain why it passes the test suite all of a sudden. Looking up the plugin site and JIRA change log has revealed no evidence of this, however. Regards, Christian Schlichtherle
Re: maven-pmd-plugin empty pmd.xml
I've put pmd config into build section of my pom (exactly as is in documentation). Still no effect and empty pmd.xml: ?xml version=1.0 encoding=UTF-8? pmd version=4.3 timestamp=2012-02-07T08:34:59.070 /pmd Please advise 2012/2/7 Barrie Treloar baerr...@gmail.com On Tue, Feb 7, 2012 at 7:19 AM, Wayne Fay wayne...@gmail.com wrote: Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed -- is to enforce coding style and standarts and fail build in case of some violations. There is no need of html/csv reports in my scenario at all. I don't use this plugin as a regular thing so I can't tell you why it isn't working. I am simply going on the documentation that is published. If you aren't using the site and just want to have PMD complain about rule violations, you probably don't want to use the reporting section but instead the build section of your pom. And you probably want to use the check goal. As Wayne says: http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-pmd-plugin empty pmd.xml
I've put pmd config into build section of my pom (exactly as is in documentation). Still no effect and empty pmd.xml: ?xml version=1.0 encoding=UTF-8? pmd version=4.3 timestamp=2012-02-07T08:34:59.070 /pmd Please advise Zip up your project along with at least one sample Java file with specific directions on what commands you are running etc. Post it somewhere online so someone else can download and attempt to recreate your issue. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: maven-failsafe-plugin incorrect reports when running parallel tests
Depending on your forkMode, there was a classloading issue in 2.11 that caused tests to fail (works in all other versions). (That was SUREFIRE-804, there may have been other permutations of forkMode/useSystemClassLoader that were affected, I tested/closed a few duplicates on this one) As for threading issues, most of them are of intermittent characters, so I will assume any consistent failures would be due to something like 804. Kristian 2012/2/7 Christian Schlichtherle christ...@schlichtherle.de: Hi everyone, I recently added maven-failsafe-plugin version 2.11 to my build. When running the integration tests in parallel it always reports test failures. Now I have changed to version 2.12 and all of a sudden my test suite passes without failures although I know that there are some multithreading issues in my code. When changing back to version 2.11 I get the test failures again as before. So I wonder if there have been changes to the class loading between 2.11 and 2.12? I suspect that a separate class instance is used for each test with 2.12. This would explain why it passes the test suite all of a sudden. Looking up the plugin site and JIRA change log has revealed no evidence of this, however. Regards, Christian Schlichtherle - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org