[ANN] CodeNarc Maven Plugin version 0.17-2 Released

2012-08-03 Thread LeClaire Garvin
Hi, The Mojo team is pleased to announce the release of the CodeNarc Maven Plugin version 0.17-2 . CodeNarc scans Groovy source code, looking for violations of predefined or custom rules and generates an HTML report of the results. These rules include checks for coding standards, or searching

Re: [ANN] Maven FindBugs Plugin version 2.5.2 Released

2012-08-03 Thread LeClaire Garvin
Hi, The Mojo team is pleased to announce the release of the Maven FindBugs Plugin version 2.5.2. FindBugs uses static analysis to inspect Java bytecode for occurrences of bug patterns. You can see more about the plugin at: http://mojo.codehaus.org/findbugs-maven-plugin/ To get this

(java.net.SocketException) caught when connecting to the target host: Invalid argument: connect

2012-08-03 Thread Gary White
I encountered the above error (more complete listing at end of email/post) on a new Windows 7 64 bit machine that I'm in the process of setting up. I originally encountered problems running mvn against a few projects that I had moved from an XP machine and decided to troubleshoot using the

Can Maven edit a WAR?

2012-08-03 Thread Jared Hall
I would like to be able to modify the contents of a WAR file. Goal: I would like to be in a directory with my WAR and a pom.xml. When I type 'maven configure', I would like maven to apply a filter to some of the files in the war, and then leave behind the exact same WAR, with the filters

Re: Can Maven edit a WAR?

2012-08-03 Thread Ron Wheeler
On 03/08/2012 12:04 PM, Jared Hall wrote: I would like to be able to modify the contents of a WAR file. Goal: I would like to be in a directory with my WAR and a pom.xml. When I type 'maven configure', I would like maven to apply a filter to some of the files in the war, and then leave behind

RE: Can Maven edit a WAR?

2012-08-03 Thread Matt Walsh
Can you not do this using filtered overlays in the maven-war-plugin. Build a generic war, then have other war projects dependent on the generic war as an overlay and apply property filters to it. So you'd have one generic-war project, built in the usual way, with no property filters. Then one or

how to fix an errant object in maven central?

2012-08-03 Thread Russ Tremain
Hi, we have a dependency on the cas:cas-server:3.0.4 pom that is inherited via org.acegisecurity:acegi-security-adapters:1.0.6. however, the pom on central is saved under /cas/cas-server/3.0.4/cas-server-3.0.4.pom- (note the dash at the end). dependency groupIdcas/groupId

Re: Can Maven edit a WAR?

2012-08-03 Thread Doug Douglass
Jared, I think the best practice in this area is to configure the deployment environment (i.e. app server) and not the deployable (WAR, EAR,...). It prevents potential failures that could be introduced if you change a known-good deployable, or forget to change when you graduate the deployable to

Re: Can Maven edit a WAR?

2012-08-03 Thread Jared Hall
@Ron I see what you're saying, but I don't think I'm asking much here. I'm trying to follow best practice for graduating WARs between environments, and I've assumed Maven will be helpful. If that assumption is bad, it's Maven's fault! @Matt I will check these overlays. I think that the

Illegal character in path when using version range in plugins section

2012-08-03 Thread Garrison, Jim (ETW)
According to http://maven.apache.org/ref/3.0.3/maven-model/maven.html#class_plugin, which is linked from the build plugins plugin ... section of the model description, you can specify a version range in a plugin version. But when I try to do this, as shown below,

Re: how to fix an errant object in maven central?

2012-08-03 Thread Anders Hammar
File a JIRA ticket here: https://issues.sonatype.org/browse/MVNCENTRAL /Anders On Fri, Aug 3, 2012 at 7:29 PM, Russ Tremain ru...@releasetools.org wrote: Hi, we have a dependency on the cas:cas-server:3.0.4 pom that is inherited via org.acegisecurity:acegi-security-adapters:1.0.6. however,

Re: Can Maven edit a WAR?

2012-08-03 Thread Anders Hammar
@Doug What you said is exactly what I'm talking about. I WANT to externalize my configuration, and am almost set up to have it completely external. My problem has been figuring out how to get the external properties back into the WAR. For this, I'll check how powerful these overlays that

Re: Illegal character in path when using version range in plugins section

2012-08-03 Thread Stephen Connolly
version ranges are not supported for plugins On 3 August 2012 19:08, Garrison, Jim (ETW) jim.garri...@nike.com wrote: According to http://maven.apache.org/ref/3.0.3/maven-model/maven.html#class_plugin, which is linked from the build plugins plugin ...

Re: Can Maven edit a WAR?

2012-08-03 Thread Ron Wheeler
This is a common problem that we all face. It has been discussed ad nauseum in the forum so I wrote these articles. I hope that they help. http://blog.artifact-software.com/tech/?p=150 http://blog.artifact-software.com/tech/?p=58 On 03/08/2012 4:09 PM, Anders Hammar wrote: @Doug What you

javancss-maven-plugin Java 7 try-with-resources syntax failure

2012-08-03 Thread David Hoffer
I'm getting the following error using javancss-maven-plugin (version 2.0) on my Java 7 project...seems it can't handle try-with-resources? [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-cli) on project dashboard-core: Error during page generation:

[ANN] idlj-maven-plugin 1.2.1 released

2012-08-03 Thread Russell Gold
Hi, The Mojo team is pleased to announce the release of the idlj-maven-plugin version 1.2.1 Maven 2.x CORBA IDL Compiler Plugin - Version 1.2.1 http://mojo.codehaus.org/idlj-maven-plugin The get this update, simply specify the version in your project's plugin configuration: plugin