Re: [ANN] Maven Jarsigner 1.1 Released

2013-11-13 Thread Tony Chemit
On Tue, 12 Nov 2013 23:59:06 +0100 Tony Chemit che...@codelutin.com wrote: The Maven team is pleased to announce the release of the Maven JArsigner, version 1.1 This component provides some utilities to sign/verify jars/files in your Mojos.

Re: Error Installing docbook-xml-5.0-all-resources.zip

2013-11-13 Thread Jeff MAURY
I don't know how you installed the dependency bu can you check the file C:\Users\ssmitz\.m2\repository\net\sf\docbook\docbook-xml\5.0-all\docbook-xml-5.0-all.pom as it does not appear to be a valid XML file. Regards Jeff On Tue, Nov 12, 2013 at 8:03 PM, Sean Smitz ssm...@cssiinc.com wrote: I

Re: System-wide, read-only repository

2013-11-13 Thread Barrie Treloar
On 13 November 2013 17:53, Matthieu Moy Matthieu.Moy@grenoble- It wouldn't be that great. We have a fast internet connection, and our project doesn't have _that_ many dependencies. Hehehe. Isn't common adage that the first use of Maven downloads the Internet (and the kitchen sink)? It's the

[ANN] extra-enforcer-rules 1.0-beta-2 Released

2013-11-13 Thread Baptiste Mathus
Hi, The Mojo team is pleased to announce the release of the Extra Enforcer Rules version 1.0-beta-2. Apache's Maven Enforcer Plugin is used to apply and enforce rules on your Maven projects. The Enforcer plugin ships with a set of standard rules The Mojo project hosts this project to provide

RE: Error Installing docbook-xml-5.0-all-resources.zip

2013-11-13 Thread Sean Smitz
I originally tried just compiling normally, both through NetBeans and command line. I've also tried the following commands to manually perform the installation: mvn install:install-file -Dfile=docbook-xml-5.0-all-resources.zip -DgroupId=net.sf.docbook -DartifactId=docbook-xml

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Tue, 12 Nov 2013 13:02:46 + org.apache.maven.u...@io7m.com wrote: Hello. I've run into a strange but easily reproduced problem with the jar files generated by Maven. Essentially, if I generate a jar file containing a large number of files (= 65536, in practice), then javac becomes

Re: Error Installing docbook-xml-5.0-all-resources.zip

2013-11-13 Thread Jeff MAURY
Why do you perform the installation manually (as it is on central) ? Jeff On Wed, Nov 13, 2013 at 2:49 PM, Sean Smitz ssm...@cssiinc.com wrote: I originally tried just compiling normally, both through NetBeans and command line. I've also tried the following commands to manually perform

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: System-wide, read-only repository

2013-11-13 Thread Wayne Fay
It's the students first contact with Maven (and with tons of other tools), so we really need to make it easy for them (and for the teacher's team too, indeed, we have a bunch of things to maintain, and reducing the list by one is nice). Keeping the default configuration as much as possible is

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

2013-11-13 Thread Russell Gold
Hi James, Start with the basic Agile presumption about unit tests: they are very fast (you should be able to run about 100 unit tests in a second), so that you don’t mind running them with every compile, and must always run at 100% before checkin. Integration tests are pretty much anything

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

2013-11-13 Thread Stephen Connolly
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 entry should read: What do you call an integration test? Any test that takes more than 1 second to run is *not* a unit test.

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

2013-11-13 Thread Ron Wheeler
+1 Very nice and concise summary of testing strategy. Thanks for taking the time to write this. Ron On 13/11/2013 10:35 AM, Russell Gold wrote: Hi James, Start with the basic Agile presumption about unit tests: they are very fast (you should be able to run about 100 unit tests in a second),

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

2013-11-13 Thread Matthew Adams
I don't think timing should be the heuristic here. The fact that unit tests take less is a result of the fact that what you're testing, aka the unit, tends to be small. After all, a unit test should test a unit. An integration test, then, if I were defining it strictly, would be anything that's

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

2013-11-13 Thread Ron Wheeler
+1 While Russell had a more sophisticated explanation, you can't beat the one second rule for clarity:-) Ron On 13/11/2013 10:59 AM, Stephen Connolly 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

Creating a bundled jar file with an external bundler

2013-11-13 Thread Bruce Albrecht
Some of my developers is trying to create a OSGI bundled jar file by creating a jar project which the jar plugin and then calling the external bundler in the packaging phase. They change the output directory in the jar configuration to be a subfolder used by the external bundler. When it

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

2013-11-13 Thread Ron Wheeler
On 13/11/2013 11:16 AM, Matthew Adams wrote: I don't think timing should be the heuristic here. The fact that unit tests take less is a result of the fact that what you're testing, aka the unit, tends to be small. After all, a unit test should test a unit. So what is your definition? An

RE: Error Installing docbook-xml-5.0-all-resources.zip

2013-11-13 Thread Sean Smitz
There's an issue with my network configuration at work that seems to prevent me from downloading some dependencies. There's no proxies that I'm aware of: I'm starting to wonder if it's a firewall issue... Time to bring in IT. Sean -Original Message- From: jeffma...@gmail.com

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

2013-11-13 Thread James Green
So where should one place a test that intends on exercising code against something real? We have bits here that involve http calls that pre-date soap and we therefore have no mock. A repeat of the second question from my original post: does the integrate test execute against the artefact produced

Re: System-wide, read-only repository

2013-11-13 Thread Ziga GREGORIC
I'd go for what Wayne is suggesting. Installing Maven Repository Manager on laptops? hmmm... It will cause artifacts to be duplicated in .m2/repository and in Nexus/Artifactory folder structure. There's no way (IMHO) of forcing users not to change settings.xml - but if provided template works for

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

2013-11-13 Thread Ron Wheeler
You will probably get better answers. On 13/11/2013 12:09 PM, James Green wrote: So where should one place a test that intends on exercising code against something real? We have bits here that involve http calls that pre-date soap and we therefore have no mock. It depends on what you are

Re: Creating a bundled jar file with an external bundler

2013-11-13 Thread Wayne Fay
external bundler. When it performs an install or deploy, it uploads the jar created by the jar plugin. Is there some way for me to tell the install and deploy plugins to use the jar file created by the external bundler? You may look into using the build-helper-maven-plugin to attach your

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

2013-11-13 Thread George Wilson
FWIW, I tend to think less about the particular definitions and semantics of testing types and think more about the needs associated with tests. For tests which depend on deployed resources, etc... I use failsafe. For tests which can be handled locally whether resources are mocked or called

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

2013-11-13 Thread George Wilson
James, see my response. It sounds to me like you may need to use Failsafe- particularly if you need to deploy your artifact to your application server and access system resources. If you are doing simple HTTP requests and want to set it up as a unit test- my advise if capture a response and save

Re: Strange issue with generated jars

2013-11-13 Thread George Wilson
Unfortunately, my company's security policies do not allow for the downloading and building of external projects without approval from IT and security so I cannot really test your code (not without going to a committee, etc...). Any chance you can post the errors you are getting? Is this a JVM

Re: Strange issue with generated jars

2013-11-13 Thread Curtis Rueden
Hi George, That's a new one on me. Can you build in an isolated VM? On a personal machine while at work? Not being able to try out code from the Internet seems like a crippling restriction to me. -Curtis On Nov 13, 2013 1:34 PM, George Wilson rmws...@gmail.com wrote: Unfortunately, my

Query Regarding assembly plugin

2013-11-13 Thread Vinayak Samak
Hi, I wanted to create zip out of directory. For that I am using maven-assembly-plugin. It looks like this : plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-assembly-plugin/artifactId configuration appendAssemblyIdfalse/appendAssemblyId descriptorinstaller-assembly.xml/descriptor

Re: Query Regarding assembly plugin

2013-11-13 Thread Anders Hammar
Set includeBaseDirectory to true in the assembly descriptor [1]. /Anders [1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html On Wed, Nov 13, 2013 at 3:54 PM, Vinayak Samak vs.sa...@gmail.com wrote: Hi, I wanted to create zip out of directory. For that I am using

Re: Strange issue with generated jars

2013-11-13 Thread George Wilson
A crippling restriction or not, it is company policy which I do not have any authority over. Its one thing to try a snippet from stack overflow but the restriction is in regards to building a larger project like a maven build. The concern is not being able to evaluate what the code or individual

Using Jenkins Mask Password plugin

2013-11-13 Thread Anand Sudabattula
Hi We like to mask the password that is provided thro’ cq.password parameter in Maven Goals using Mask Password plugin. I was reading about this plugin and found that it support only ANT based builds. I am new to Jenkins, please advise. Thanks in advance. Regards Anand

Re: Strange issue with generated jars

2013-11-13 Thread Curtis Rueden
Hi, org.apache.maven.u...@io7m.com wrote: Can anyone else reproduce this problem? OK, I ran the example (mvn clean package) and the project builds successfully on my system: $ mvn -v Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 10:22:22-0500) Maven home:

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Wed, 13 Nov 2013 11:33:51 -0800 George Wilson rmws...@gmail.com wrote: Unfortunately, my company's security policies do not allow for the downloading and building of external projects without approval from IT and security so I cannot really test your code (not without going to a committee,

Re: Strange issue with generated jars

2013-11-13 Thread Doug Douglass
On Wed, Nov 13, 2013 at 3:32 PM, Curtis Rueden ctrue...@wisc.edu wrote: Hi, org.apache.maven.u...@io7m.com wrote: Can anyone else reproduce this problem? OK, I ran the example (mvn clean package) and the project builds successfully on my system: I ran the sample project on a couple

Re: Strange issue with generated jars

2013-11-13 Thread George Wilson
Hi Curtis, I apologize, I had not recognized that you were not the OP. If you just look at it, you can see that it doesn't do anything bad. - You are correct, I did not bother to download it as it was presented as being a project with several thousand classes. Perhaps in the future I should

Re: Strange issue with generated jars

2013-11-13 Thread org.apache.maven.user
On Wed, 13 Nov 2013 15:52:02 -0700 Doug Douglass douglass.d...@gmail.com wrote: I ran the sample project on a couple systems with different results. ... So it appears to be JDK bug. Thanks. Looks like I'll be taking this up with the OpenJDK people. M