Set Windows File Version metadata?

2017-04-10 Thread James Green
Is this possible? I'm looking at wrapping my jar file in a Windows installer package and it would be a lot easier if the jar on disk had a version attribute set by Maven. Can't see much beyond Google answers about how to use Maven on Windows :( Thanks, James

Convention for shipped artefacts?

2015-11-04 Thread James Green
Open question: I am looking at a project that consists of two or three dozen small maven modules. Out of this we ship maybe six artefacts. Does anyone have experience of managing this? I'm having difficulty locating those projects that actually result in a shipped artefact. Perhaps it's

Finding transitive dependencies imported into our code

2015-08-07 Thread James Green
Hi, I want to know about any imports within our package base that are resolved by a transitive dependency. There must be a command or tool for this - I'm not sure I've ever seen one though? This probably should form a report of warnings during the build... Thanks, James

Re: Finding transitive dependencies imported into our code

2015-08-07 Thread James Green
See in-line On 7 August 2015 at 12:05, Björn Raupach raupach.bjo...@googlemail.com wrote: hi, On 07 Aug 2015, at 12:33, James Green james.mk.gr...@gmail.com wrote: Hi, I want to know about any imports within our package base that are resolved by a transitive dependency

Re: [ANN] Apache Maven 3.3.3 Release

2015-05-11 Thread James Green
Pure curiosity: what happened to 3.3.2? On 28 April 2015 at 18:57, Jason van Zyl ja...@takari.io wrote: Hi! The Apache Maven Team is pleased to announce the release of 3.3.3 The release notes can be found here: http://maven.apache.org/docs/3.3.3/release-notes.html The release can be

Re: Adding comments to dependencies in POM

2015-04-17 Thread James Green
. Robert Op Wed, 27 Aug 2014 12:15:00 +0200 schreef domi d...@fortysix.ch: +1 I think this would be a good idea, let us know about the issue, so we can vote on it. Domi On 27.08.2014, at 09:12, James Green james.mk.gr...@gmail.com wrote: I have in the past wasted hours of effort

Re: Adding comments to dependencies in POM

2015-04-17 Thread James Green
Subject: Re: Adding comments to dependencies in POM +1 Gary Original message From: James Green james.mk.gr...@gmail.com Date: 04/17/2015 04:58 (GMT-08:00) To: Maven Users List users@maven.apache.org Subject: Re: Adding comments to dependencies in POM [ Dragging

Re: [ANN] Jira migration from Codehaus to Apache

2015-04-07 Thread James Green
Congratulations to those involved and thank you for keeping us updated. On 6 April 2015 at 11:36, Hervé Boutemy hbout...@apache.org wrote: As announced previously, Jira migration for every Apache Maven Jira project from Codehaus to Apache was done this week-end. The new Jira projects are now

Re: Deploying to Nexus through haproxy does not work

2015-04-07 Thread James Green
And now https://issues.apache.org/jira/browse/MRELEASE-880 On 31 March 2015 at 22:16, Robert Scholte rfscho...@apache.org wrote: See http://jira.codehaus.org/browse/MRELEASE-880 Let's try to gather information there. thanks, Robert Op Tue, 31 Mar 2015 14:30:19 +0200 schreef James Green

Re: Deploying to Nexus through haproxy does not work

2015-04-07 Thread James Green
://issues.apache.org/jira/browse/MRELEASE-880 On 31 March 2015 at 22:16, Robert Scholte rfscho...@apache.org wrote: See http://jira.codehaus.org/browse/MRELEASE-880 Let's try to gather information there. thanks, Robert Op Tue, 31 Mar 2015 14:30:19 +0200 schreef James Green

Re: Maven and pre-emptive authentication

2015-03-31 Thread James Green
be slightly irritating. We now avoid deploying ear files altogether by using the skip argument of the deploy plugin. Regards, Gord Cody On Mon, Mar 30, 2015 at 4:34 AM, James Green james.mk.gr...@gmail.com wrote: I am a little confused. According to: https://maven.apache.org/guides

Deploying to Nexus through haproxy does not work

2015-03-31 Thread James Green
We have recently moved our Sonartype Nexus installation (latest version) behind haproxy (again latest version). When Jenkins performs a snapshot, it is able to upload the artefacts without problem. When Jenkins performs a release, the procedure fails with an SocketException during the PUT of an

Re: Maven and pre-emptive authentication

2015-03-31 Thread James Green
as indicated in the comments. On 31 March 2015 at 10:30, Arnaud Héritier aherit...@gmail.com wrote: Is it related to comments in https://jira.codehaus.org/browse/WAGON-405 ??? For sure the documentation can be updated if required On Tue, Mar 31, 2015 at 9:57 AM, James Green james.mk.gr...@gmail.com

Maven and pre-emptive authentication

2015-03-30 Thread James Green
I am a little confused. According to: https://maven.apache.org/guides/mini/guide-http-settings.html Maven 3.0.4 defaults to pre-emptive authentication for HTTP PUTs. According to my haproxy logs, each PUT is done twice: 1. PUT happens, receives a 401 response from Nexus 2. PUT happens,

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-09 Thread James Green
it. There are already issue for Checkstyle 6.1.1 (MCHECKSTYLE-261) and 6.2 (MCHECKSTYLE-272). On Fri, Feb 6, 2015 at 3:08 PM, James Green james.mk.gr...@gmail.com wrote: The plugin page Upgrading at runtime mentions 5.8 is the default but that upgrading to the latest should be possible. Does

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-06 Thread James Green
The plugin page Upgrading at runtime mentions 5.8 is the default but that upgrading to the latest should be possible. Does this take into account the 6.x releases? Either way may be prudent to add a declaration to this page to avoid others wondering the same question. Thanks, James On 5

Re: [ANN] Apache Maven quarterly report

2015-02-02 Thread James Green
* We're studying Jira migration from Codehaus to Apache for better end-users consistency, since we've got feedback about users lost when requiring to create a Jira account at Codehaus. Thumbs up for this. Is there (ahem) a ticket to follow for progress? James

maven-shade-plugin question

2015-01-14 Thread James Green
What am I supposed to do with dependency-reduced-pom.xml? Add it to revision control or ignore it? Not entirely clear why I need it, but it's added by default so assume it's important. Also, the documentation for it is incorrect. The file is by default written to the base dir and not the same

Re: [VOTE] Name our mascot: Shotgun vs The Maven Owl

2014-12-17 Thread James Green
B On 15 December 2014 at 10:39, Stephen Connolly stephen.alan.conno...@gmail.com wrote: After the run-off round, we are left with two names standing. This second vote will be a straight and simple majority wins. The vote will be open for at least 72 hours (with the potential of an

Re: Little documentation issues

2014-12-17 Thread James Green
I've been wondering how to apply explanations to things. With ActiveMQ and Camel I just edit the Confluence wiki. If I can issue a GitHub pull request and see the change within a day or two that's fine. On 9 December 2014 at 16:52, Stephen Connolly stephen.alan.conno...@gmail.com wrote: Do you

Re: [VOTE] Run-off for mascot's name

2014-12-11 Thread James Green
B L G On 9 December 2014 at 10:52, Stephen Connolly stephen.alan.conno...@gmail.com wrote: This is a run-off vote to select the top two options for our new mascot's name. The entries with the highest number of votes will be selected for the final round. If there is only one entry with the

Re: [VOTE] Change project logo and adopt owl as mascot

2014-11-25 Thread James Green
+1

Re: Sorting javadoc output by importance of documentation and length of docs?

2014-11-19 Thread James Green
If your project contains a large number of classes, perhaps for summation purposes you could wrap these up into a higher level project with fewer classes that expose the essentials with documentation? Another alternative I'm seeing out there is a docs folder alongside src that holds information

JIRA project per Maven Project?

2014-10-29 Thread James Green
We have a few JIRA projects and many more Maven projects. Some are one-to-one related, in several cases many Maven projects make up a JIRA project. Just wondering how other organisations lay stuff out. Particularly of relevance given Jenkins can operate JIRA projects as it builds releases Maven

Why does reporting exist?

2014-10-29 Thread James Green
According to: * http://maven.apache.org/plugins/maven-site-plugin/examples/configuring-reports.html * http://maven.apache.org/plugins/maven-checkstyle-plugin/usage.html * http://mojo.codehaus.org/findbugs-maven-plugin/usage.html * http://maven.apache.org/plugins/maven-pmd-plugin/usage.html and

Company-wide checkstyle.xml ?

2014-10-20 Thread James Green
Is there a good practice to achieve this? I have a company-parent POM which has config to deal with site generation and distributionMangement. Everything has this as it's parent. I also have a build-tools JAR that supplies checkstyle.xml. The problem is company-parent depends-on build-tools

Re: usage with Jenkins

2014-09-24 Thread James Green
On 23 September 2014 18:37, Curtis Rueden ctrue...@wisc.edu wrote: Hi James, I can no longer see Deploy artifacts to Maven repository as a post-build action. Just add a build step that does mvn deploy or similar. See this for me is a post-build action. I guess Jenkins doesn't see it

Re: usage with Jenkins

2014-09-23 Thread James Green
On 23 September 2014 02:23, Curtis Rueden ctrue...@wisc.edu wrote: Also, stay away from the Jenkins Maven style job. Freestyle is more flexible and less buggy. Based on ..?

Re: usage with Jenkins

2014-09-23 Thread James Green
On Tuesday, 23 September 2014, James Green james.mk.gr...@gmail.com wrote: On 23 September 2014 02:23, Curtis Rueden ctrue...@wisc.edu javascript:; wrote: Also, stay away from the Jenkins Maven style job. Freestyle is more flexible and less buggy. Based

Is this sign-up process for real..?

2014-09-02 Thread James Green
On checking http://maven.apache.org/issue-tracking.html I'm told I'll need an account at http://xircles.codehaus.org/signup to file Maven issues (which seemed a little odd given the Apache.org parentage). Even stranger the codehause signup page is powered by a project claiming to bridge open

Adding comments to dependencies in POM

2014-08-27 Thread James Green
I have in the past wasted hours of effort trying to weed out dependency issues where something has been added for reasons unknown. Removal leads to breakage. It would be helpful if, inside a POM, it were possible to add a comment element to a dependency. I realise this is possible as an XML

ISO 27001: Use of Maven

2014-08-14 Thread James Green
Has anyone here got advice on using Maven to help provide evidence of ISO 27001 implementation? We're preparing to get audited and the standard asks for us to provide evidence of secure development. I wondered if anyone had any specific advice on techniques or particular tasks that helps provide

Sharing of values across dependant projects?

2014-05-15 Thread James Green
I have two projects - A and B. B depends on A. A is built with a number (call it a build number). B needs to which number is in A at the time B builds. Any ideas how to achieve this without any human intervention? FWIW the use case here is that A is software distributed by B (a WAR archive). A

Re: maven-failsafe-plugin: what is it actually intended for?

2013-11-15 Thread James Green
On 15 November 2013 06:57, Vincent Latombe vincent.lato...@gmail.comwrote: maven-failsafe-plugin implies some specific steps are required *before* (pre-integration-test) and *after* (post-integration-test) the test execution, which allows to do fire up a container then turn it off after the

maven-failsafe-plugin: what is it actually intended for?

2013-11-13 Thread James Green
I love the FAQ entry that states that it is intended for running integration tests. The next entry should read: What do you call an integration test? I've asked around and no-one comes up with a consistent answer. I guess it depends on what is executing the integration test. In this case maven

Re: maven-failsafe-plugin: what is it actually intended for?

2013-11-13 Thread James Green
or against the original source code? On 13 November 2013 15:59, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 13 November 2013 15:20, James Green james.mk.gr...@gmail.com wrote: I love the FAQ entry that states that it is intended for running integration tests. The next

Jacoco:check - pom example?

2013-10-07 Thread James Green
Under build I have: plugin groupIdorg.jacoco/groupId artifactIdjacoco-maven-plugin/artifactId version${version.jacoco}/version executions execution idprepare/id

Re: Jacoco:check - pom example?

2013-10-07 Thread James Green
According to the documentation they both/all bind to default phases and I'm in no position to disagree. On 7 October 2013 14:00, thorsten.h...@vkb.de wrote: Hi, Under build I have: plugin groupIdorg.jacoco/groupId

Re: Jacoco:check - pom example?

2013-10-07 Thread James Green
/executions /plugin On 7 October 2013 14:11, James Green james.mk.gr...@gmail.com wrote: According to the documentation they both/all bind to default phases and I'm in no position to disagree. On 7 October 2013 14:00, thorsten.h...@vkb.de wrote: Hi, Under build I have

Re: dependency:tree gets wrong version?

2013-10-02 Thread James Green
joerg.schai...@gmx.de wrote: Hi James, James Green wrote: org.apache.maven.plugins:maven-dependency-plugin:2.8 The only way we resolved our problem was by loading the project into Eclipse and viewing the graph of dependencies, then dropping each that had a transitive dependency

Re: dependency:tree gets wrong version?

2013-09-20 Thread James Green
...@scalaris.comwrote: Hi James, James Green wrote: Gotta be a simple one this! Upgraded ourselves to apache-cxf-2.7.6 and we've been getting errors since. Well-publicised solution is to find and remove any dependencies on woodstox prior to 4.2.0. So dependency:tree only shows us

dependency:tree gets wrong version?

2013-09-19 Thread James Green
Gotta be a simple one this! Upgraded ourselves to apache-cxf-2.7.6 and we've been getting errors since. Well-publicised solution is to find and remove any dependencies on woodstox prior to 4.2.0. So dependency:tree only shows us having 4.2.0. Yet clean build results in WEB-INF/lib having 4.1.2.

Re: Downloading a file for shipping in an artifact

2013-06-12 Thread James Green
22:44, Stephen Connolly stephen.alan.conno...@gmail.comwrote: On 11 June 2013 22:27, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 11 June 2013 22:03, James Green james.mk.gr...@gmail.com wrote: If you search for maven-download-plugin you should reach a project on GitHub

Re: Downloading a file for shipping in an artifact

2013-06-12 Thread James Green
the war plugin has executed, or that the war plugin does not include the .exe (even though the documentation states everything is included)? On the right track at least! Thanks, James On 11 June 2013 22:27, Stephen Connolly stephen.alan.conno...@gmail.comwrote: On 11 June 2013 22:03, James Green

antrun plugin 404

2013-06-11 Thread James Green
I'm reading from http://maven.apache.org/plugins/maven-antrun-plugin/ that I should write a build.xml and call it using the ant/ task. Trouble is, the link to the documentation comes back 404 Not Found. Is this stuff therefore still valid? James

Re: antrun plugin 404

2013-06-11 Thread James Green
Thanks for this, my point was more that the web site should work instead of people asking for help in the list. But I appreciate your time! 2013/6/11 Martin Gainty mgai...@hotmail.com James- you can use ant antfile attribute to specify the exact location of build.xml here basedir is the

Downloading a file for shipping in an artifact

2013-06-11 Thread James Green
We have a maven project that results in a web archive. We want to ship a file (a .exe) within this for simple download by customers. I've looked at the wagon plugin ( http://mojo.codehaus.org/wagon-maven-plugin/download-mojo.html) but this requires the target URL to be a directory from which a

Re: Downloading a file for shipping in an artifact

2013-06-11 Thread James Green
Nexus is used to host the .exe file. As the exe originates from a separate Maven project, and it needs to live somewhere, I folded the exe generation into an ant task as part of that maven project. Now I have versioned hosting of the exe. But our customers are trapped behind a strict firewall. We

Re: Downloading a file for shipping in an artifact

2013-06-11 Thread James Green
See responses inline. On 11 June 2013 21:47, Wayne Fay wayne...@gmail.com wrote: Nexus is used to host the .exe file. As the exe originates from a separate Maven project, and it needs to live somewhere, I folded the exe generation into an ant task as part of that maven project. Now I