Re: Easy way to test maven / surefire with only changed classes? javac dependencies?

2015-02-10 Thread Andreas Gudian
Hi, You can't do that with javac, but the takari-plugins maintain a fine grained dependency graph in order to do incremental builds. With tests, it is a different thing, though. Their runtime behaviour may depend on more than their class dependency might tell you: property/xml files, dependency i

Easy way to test maven / surefire with only changed classes? javac dependencies?

2015-02-10 Thread Kevin Burton
Is there an easy way to build the Java dependency tree from the compiler? I was thinking that if you can get the Java dependency tree built, then you take take a look at a diff and look at which files have changed. Then from there you could take say 1000 test and reduce that to only 10 test if on

Analyzing dependencies of a project with a non-Maven build

2015-02-10 Thread Curtis Rueden
Hi everyone, I am trying to interface with a largish project that publishes artifacts to a Maven repository, but does not do its builds using Maven. (It uses Ant+Ivy.) The problem is that the published POM dependencies have problems in both directions: undeclared-but-used dependencies, and declar

Re: [ANN] Apache Maven Checkstyle Plugin 2.14 Released

2015-02-10 Thread Dennis Lundberg
James, Yes, there are lenghy discussions on this topic in JIRA. Have look at MCHECKSTYLE-251 for example. Version 2.15-SNAPSHOT is already using Checkstyle 6.1.1 and 2.16 will be using version Checkstyle 6.2. -- Dennis Lundberg Den 9 feb 2015 16:35 skrev "James Green" : > Dennis, > > Thanks for

Re: Assembly plugin: excluding dependencies

2015-02-10 Thread Zmicer Kashlach
Thank you! You're right, it was problem with transitive dependencies. Setting provided solved the issue. -- View this message in context: http://maven.40175.n5.nabble.com/Assembly-plugin-excluding-dependencies-tp5826295p5826308.html Sent from the Maven - Users mailing list archive at Nabble.co

Re: Assembly plugin: excluding dependencies

2015-02-10 Thread Adrien Rivard
There is also a tag in assembly descriptor format. And a with default value to false which I'm not totally sure what it does but could explain why your syntax does'nt work. see http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html On Tue, Feb 10, 2015 at 11:06 AM, Anders Hamma

Re: Assembly plugin: excluding dependencies

2015-02-10 Thread Anders Hammar
Well, you're probably getting transitive dependencies. Typically they are required as well. Are they not? You could try excluding them in standard Maven way (dependencies/dependency/exclusions). /Anders On Tue, Feb 10, 2015 at 10:59 AM, Zmicer Kashlach wrote: > Hi all, > > I have a pom.xml wi

Assembly plugin: excluding dependencies

2015-02-10 Thread Zmicer Kashlach
Hi all, I have a pom.xml with assembly descriptor. My problem that assembly is fetching dependencies, which are not defined in pom.xml As a result - huge *.zip file with distribution. I've tried the following example: *spring*:jar:* but it does not help - *.jar files remain in *.zip a