Re: Maven best practices for easily developer tweakable config file

2018-09-05 Thread Robert Scholte
bq. I have the logging.properties file the app uses at a particular place. So it seems specify the location of this file somewhere, probably with the java.util.logging.config.file property. How about changing the value of this property? Robert On Tue, 04 Sep 2018 16:15:00 +0200, Matthew Clin

Re: liferay plugin version

2018-09-01 Thread Robert Scholte
It seems like you've missed an important message: Maven Central discontinued support for TLSv1.1 and below. Read https://central.sonatype.org/articles/2018/May/04/discontinued-support-for-tlsv11-and-below/ for all the details and how to solve this. thanks, Robert ps. Stack Overflow has s

Re: Blacklisted IP address

2018-09-01 Thread Robert Scholte
Hi, please go to https://issues.sonatype.org/browse/MVNCENTRAL and file your issue there. thanks, Robert On Fri, 31 Aug 2018 22:33:46 +0200, Pavel Zaytsev wrote: Hello, I cannot access https://repo1.maven.org when I am using this IP address: 52.200.38.100 When I try, I get this kind o

Re: How to change "javafxpackager" with "javapackager" in "org.codehaus.mojo:exec-maven-plugin"

2018-08-23 Thread Robert Scholte
with proper value, but the exception happens again. Regards, Miro. On Tue, Aug 14, 2018 at 7:55 PM, Robert Scholte wrote: I'd suggest to add a profile to this project with jdk activation like [9,). Here you reconfigure the execution block of the exec-maven-plugin, changing the na

Re: How to change "javafxpackager" with "javapackager" in "org.codehaus.mojo:exec-maven-plugin"

2018-08-14 Thread Robert Scholte
I'd suggest to add a profile to this project with jdk activation like [9,). Here you reconfigure the execution block of the exec-maven-plugin, changing the name of the executable to javapackager. thanks, Robert [1] https://maven.apache.org/guides/introduction/introduction-to-profiles.html

Re: Double copy of XML in POMs

2018-08-06 Thread Robert Scholte
d the repository and forced a new download.) On Fri, Aug 3, 2018 at 11:07 AM Robert Scholte wrote: Yes, this is a known issue, see MNG-6281[1] Up until Maven 3.3.9 this was never an issue, until we fixed MNG-6020[2]. Before that Maven stopped reading after the closing root-tag. It is very

Re: Double copy of XML in POMs

2018-08-03 Thread Robert Scholte
Yes, this is a known issue, see MNG-6281[1] Up until Maven 3.3.9 this was never an issue, until we fixed MNG-6020[2]. Before that Maven stopped reading after the closing root-tag. It is very hard to reproduce. One of the possibilities I have in mind is that the same pom is required twice (e

Re: Problem with Maven Tutorial

2018-07-29 Thread Robert Scholte
Documentation has been updated according to the nice (and smallest) suggestion of Nick. Robert On Thu, 26 Jul 2018 17:38:46 +0200, Scott Miller wrote: Hi, I am trying to use Maven for the first time. I have it installed and was working on this tutorial: https://maven.apache.org/guide

Re: Java 9 modules for Maven components for Java 9 based pluggins

2018-07-02 Thread Robert Scholte
On Mon, 02 Jul 2018 12:30:05 +0200, Andreas Sewe wrote: Robert Scholte wrote: If you still think there's a reliable solution to let Maven use Java Modules, I'd like to see your solution, there are probably more people interested. Let me just jump into the discussion at this p

Re: Java 9 modules for Maven components for Java 9 based pluggins

2018-06-30 Thread Robert Scholte
On Sat, 30 Jun 2018 17:57:50 +0200, Václav Haisman wrote: On 28 June 2018 at 20:54, Robert Scholte wrote: Please see https://issues.apache.org/jira/browse/MPLUGIN-341 for the full story: TLDR; No, Maven can't be (Java) modularized, otherwise all plugins become useless. ​I

Re: after upgrade to maven 3.5.4 release plans fail when trying to upload source jar twice

2018-06-30 Thread Robert Scholte
See https://maven.apache.org/general.html#javadoc_jar_built_twice It is very likely that your effective pom defines another explicit call on the maven-javadoc-plugin, which now can be removed. thanks, Robert ps. we had the same issues when we did a similar change for maven-source-plugin

Re: Java 9 modules for Maven components for Java 9 based pluggins

2018-06-28 Thread Robert Scholte
Please see https://issues.apache.org/jira/browse/MPLUGIN-341 for the full story: TLDR; No, Maven can't be (Java) modularized, otherwise all plugins become useless. On Thu, 28 Jun 2018 12:59:13 +0200, Václav Haisman wrote: Hi. Is there any effort to make Maven Java 9 friendly and prov

Re: Building maven plugin: Caused by: java.lang.ArrayIndexOutOfBoundsException: 3411 …

2018-06-20 Thread Robert Scholte
It looks like you're hit by MPLUGIN-328[1] Upgrading the maven-plugin-plugin to the latest version should fix your issue. [1] https://issues.apache.org/jira/browse/MPLUGIN-328 On Wed, 20 Jun 2018 20:25:43 +0200, Tommy Svensson wrote: Hello, I keep getting this exception from maven when

[ANN] Apache Maven Enforcer Plugin 3.0.0-M2 Released

2018-06-16 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Enforcer Plugin, version 3.0.0-M2 The Enforcer plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more built-in rules and user create

Re: Maven coordinates terminology

2018-06-09 Thread Robert Scholte
On Fri, 08 Jun 2018 21:02:29 +0200, Ross Goldberg wrote: Thanks for the insight, Robert. The terminology in my original email was skewed, as I had erroneously thought that resolving was just finding an artifact on a repo from given coordinates; from what you've said, resolving is obviously b

Re: Maven coordinates terminology

2018-06-08 Thread Robert Scholte
Interesting discussion, I don't think there's a clear definition for all. Let me share *my* view: You should split input and output: input is the coordinate, output or result is the artifact. Based on the context you make the proper choice. Coordinates are the groupId, artifactId, version, o

Re: AW: Maven plug-in development: Obtaining name of artifact

2018-06-08 Thread Robert Scholte
reated by Nexus. Beat me why it is this way. I also mentioned that in my last mail from yesterday. Did you get that mail also? Regards, Gerrit -Ursprüngliche Nachricht----- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Donnerstag, 7. Juni 2018 23:03 An: Maven Users List Betreff:

Re: Maven plug-in development: Obtaining name of artifact

2018-06-07 Thread Robert Scholte
What do you mean with "name of the artifact": the value of the name-element in the pom? The name of the file? Robert On Thu, 07 Jun 2018 09:46:25 +0200, wrote: Hello everyone, :-) I'm currently writing a Maven plug-in and I have the coordinates of artifacts (groupId, artifactId, version),

[ANN] Apache Maven Javadoc Plugin 3.0.1 Released

2018-05-28 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Javadoc Plugin, version 3.0.1 The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project. https://maven.apache.org/plugins/maven-javadoc-plugin/ You should specify the version in your

Re: Using Maven 3 with non-standard repository layout (Ivy)

2018-05-24 Thread Robert Scholte
Maven 2 and Maven 3 both use the same structure for repositories ( which is called a maven2 repo. Yes the name is a bit confusing ). If you want Maven to work with a different kind of repository, e.g. ivy to maven2, you need to use a repository manager. The only one I am aware of that supports

Re: [maven-release-plugin] Passing additional parameters

2018-05-18 Thread Robert Scholte
Hi, this is the important part of the commandline that tricked you: -Darguments=-DskipTests so -DskipTests is the only argument being passed. If you want to add more, you need to quote them, e.g -Darguments="-DskipTests -Dkey=value" I noticed -Dcxx="$(CXX)" already has quotes, so you need t

Welcome Christian Stein to the Apache Maven Team

2018-05-07 Thread Robert Scholte
Hi, On behalf of the Apache Maven PMC I am pleased to announce that Christian Stein (sor) has been voted in as a new Apache Maven committer. Christian, welcome on board and have a lot of fun! thanks, Robert - To unsubscribe

Re: AW: AW: Writing own plugin: The parameter annotation - does it work?

2018-04-17 Thread Robert Scholte
a lot for your mail. I create 2 issues about this. About that Maven Invoker Plugin: Are there any examples how to use that in a JUnit test? Regards, Gerrit -Ursprüngliche Nachricht- Von: Robert Scholte [mailto:rfscho...@apache.org] Gesendet: Montag, 16. April 2018 22:12 An: Maven Users Li

Re: AW: Writing own plugin: The parameter annotation - does it work?

2018-04-16 Thread Robert Scholte
Hi, the docs are not up-to-date, all issues have been migrated to http://issues.apache.org/jira/browse/MPLUGINTESTING You are correct that there's not a lot of activity on this subproject, because most of our Maven Plugins use the Maven Invoker Plugin for testing. It's all a matter of prior

Re: maven-compiler-plugin JPMS module resolution

2018-04-16 Thread Robert Scholte
ers to decide how to make available jars from mylib/lib to the runtime. During compilation of the project I still want to force maven-compiler-plugin to reference them on module path so I can see if there are any JPMS issues. Thank you, Roman On Fri, Apr 13, 2018 at 4:07 PM, Robert Scholte wrote

Re: maven-compiler-plugin JPMS module resolution

2018-04-13 Thread Robert Scholte
convenient for users than to additionally decide where to put and how to reference it. Thank you. Roman On Fri, Apr 13, 2018 at 10:17 AM, Robert Scholte wrote: But that means that the dependency is actually required at runtime. Looks to me there are 2 options: - make that dependenc

Re: maven-compiler-plugin JPMS module resolution

2018-04-13 Thread Robert Scholte
Found exception if classes are neither on CP or MP. Roman On Thu, Apr 12, 2018 at 12:46 PM, Martin Desruisseaux < martin.desruisse...@geomatys.com> wrote: Hello Robert Le 11/04/2018 à 18:45, Robert Scholte a écrit : > I am not aware of such problem. Did you create a Jira[1] issue

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Robert Scholte
Hi Martin, I am not aware of such problem. Did you create a Jira[1] issue for it? There should be no reason to have a workaround, all the information is there so Maven is capable to divide jars properly over both paths. If you can add a project so I can reproduce the issue, I can have a look

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Robert Scholte
2018 at 8:55 PM, Robert Scholte wrote: Hi every jar that matches a "requires"-entry of your projects module descriptor and all jars that matches the indirect requirements will be added to the module-path. The rest will stay on the classpath. If you want to do more, you need to verify t

Re: Building and unit-testing MR Jars, easily

2018-04-11 Thread Robert Scholte
must be specified in the toolchain.xml with matching values. The might have more elements, but these are ignored. thanks, Robert Thanks, Russ On Apr 4, 2018, at 3:11 PM, Robert Scholte wrote: Hi Russell, interesting approach. The difference between library developers and application

Re: maven-compiler-plugin JPMS module resolution

2018-04-10 Thread Robert Scholte
Hi every jar that matches a "requires"-entry of your projects module descriptor and all jars that matches the indirect requirements will be added to the module-path. The rest will stay on the classpath. If you want to do more, you need to verify the JPMS options available for java/javac[1]

Re: Building and unit-testing MR Jars, easily

2018-04-04 Thread Robert Scholte
Hi Russell, interesting approach. The difference between library developers and application developers becomes more and more clear and this concept might be useful for library builders. We should probably have a separate page for all the available solutions and menion the pro's and cons.

Re: maven-install-plugin: Why it does not install the artifacts

2018-03-12 Thread Robert Scholte
I think you've missed one of the last lines: pom That also explains why no other plugin is called before the maven-install-plugin Robert On Mon, 12 Mar 2018 17:35:16 +0100, Karl Heinz Marbaise wrote: Hi, On 12/03/18 14:51, Zos Rothko wrote: Hi http://maven.apache.org/POM/4.0.0";

Re: Unexpected copying / recompiling

2018-03-05 Thread Robert Scholte
anged. If I run with -X it tells me that each of the files in question “ has a filtered oil extension.” Thanks, Russ On Mar 5, 2018, at 2:11 PM, Robert Scholte wrote: Normally if at least one source is newer to its matching class, it triggers the compiler. I don't understand

Re: Unexpected copying / recompiling

2018-03-05 Thread Robert Scholte
Thanks, That does indeed prevent the recompilation. What do I need to do to prevent the superfluous recopying? Thanks, Russ On Mar 5, 2018, at 12:41 PM, Robert Scholte wrote: You're probably hit by MCOMPILER-205[1] tl;rd; it is the package-info.java that's causing issues.

Re: Unexpected copying / recompiling

2018-03-05 Thread Robert Scholte
You're probably hit by MCOMPILER-205[1] tl;rd; it is the package-info.java that's causing issues. Try adding -Xpkginfo:always thanks, Robert [1] https://issues.apache.org/jira/browse/MCOMPILER-205 On Mon, 05 Mar 2018 17:03:29 +0100, Russell Gold wrote: In the project at https://gith

[ANN] Apache Maven JDeps Plugin 3.1.1 Released

2018-02-28 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven JDeps Plugin, version 3.1.1 The JDeps Plugin uses the jdeps tool to analyze classes for internal API calls. For more information about the standard jdeps tool, please refer to https://wiki.openjdk.java.net/display/

Re: Getting a list of "to be modularized" dependencies in topological order?

2018-02-20 Thread Robert Scholte
When running Maven with Java9+ and running 'mvn dependency:resolve' on your project, you'll see all the module names and if these modules are automatic modules. It is a list, not a tree, but that's probably the closest you can get right now. thanks, Robert On Tue, 20 Feb 2018 18:05:18 +010

Re: dependency:tree erroring with cxf boot starter

2018-02-19 Thread Robert Scholte
I think you're hitting https://issues.apache.org/jira/browse/MNG-6280 It is fixed in Maven 3.5.2 thanks, Robert On Mon, 19 Feb 2018 20:34:22 +0100, castlec wrote: Hello all. I'm not sure if there is an error in my pom, in the cxf pom, or in the dependency plugin. I'm able to get a tree from

[ANN] Apache Maven Resolver 1.1.1 Released

2018-02-19 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Resolver, version 1.1.1 Apache Maven Artifact Resolver is a library for working with artifact repositories and dependency resolution. Maven Artifact Resolver deals with the specification of local repository, remo

[ANN] Apache Maven Shared Utils 3.2.1 Released

2018-02-10 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Shared Utils, version 3.2.1 This project aims to be a functional replacement for plexus-utils in Maven. https://maven.apache.org/shared/maven-shared-utils/ You should specify the version in your project's dependency

Re: Skip deploy of test-jars?

2018-01-30 Thread Robert Scholte
Chris Am 29.01.18, 18:47 schrieb "Robert Scholte" : This makes me wonder: is the pack/unpack already hackish? Wouldn't it be nicer to simply copy the content from target/classes + target/test-classes? With a Maven plugin is it quite simple to acces

Re: Skip deploy of test-jars?

2018-01-29 Thread Robert Scholte
This makes me wonder: is the pack/unpack already hackish? Wouldn't it be nicer to simply copy the content from target/classes + target/test-classes? With a Maven plugin is it quite simple to access this as part of the reactor. thanks, Robert On Sun, 28 Jan 2018 12:52:14 +0100, Christofer Du

[ANN] Apache Maven Dependency Analyzer 1.8 Released

2018-01-17 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Dependency Analyzer, version 1.8 This component analyzes the dependencies of a project for undeclared or unused artifacts. https://maven.apache.org/shared/maven-dependency-analyzer/ You should specify the version

Re: Make custom plugin executed only once in multimodule (inherited=false? aggregator?)

2018-01-09 Thread Robert Scholte
Based on the current requirement as described by Karl Heinz there seems to be room for it. I don't expect this to be part of Maven3, but we have more lifecycle related improvements planned for a next major[1]. Just create the issue as an improvement, and let's see what the impact will be. t

Re: Make custom plugin executed only once in multimodule (inherited=false? aggregator?)

2018-01-08 Thread Robert Scholte
IIUC the aggregator only works when calling a goal directly, not as part of the lifecycle. That's why release:prepare / release:perform works I can't think of a plugin that is part of the lifecycle AND which act as an aggregator. thanks, Robert On Mon, 08 Jan 2018 14:25:36 +0100, Francois

[ANN] Apache Maven Checkstyle Plugin 3.0.0 Released

2018-01-07 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 3.0.0 The Checkstyle Plugin generates a report regarding the code style used by the developers. For more information about Checkstyle, see http://checkstyle.sourceforge.net/. This versi

Re: Exporting and importing Maven properties

2017-12-22 Thread Robert Scholte
"The two Maven builds are separated Jenkins build, but the 1st triggers the 2nd." This tells me it is probably not a Maven issue but more of a Jenkins issue. What you are probably searching for is: https://wiki.jenkins.io/display/JENKINS/Copy+Artifact+Plugin thanks, Robert On Tue, 19 Dec 201

[ANN] Apache Maven Javadoc Plugin 3.0.0 Released

2017-12-06 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Javadoc Plugin, version 3.0.0 This plugin uses the Javadoc tool to generate javadocs for the specified project. https://maven.apache.org/plugins/maven-javadoc-plugin/ You should specify the version in your project

Re: Handling password

2017-12-06 Thread Robert Scholte
Is ${settings.proxies[0].username} an options? Robert On Wed, 06 Dec 2017 17:28:20 +0100, ahardy42 wrote: After a bit of creative thinking, I put the username:password into variables in a profile in the settings file and let maven substitute them into the file at build time. Now the secu

Re: Loading groovy as a Jigsaw auto-module

2017-12-03 Thread Robert Scholte
d. Running m-dependency-p, I see: o.c.groovy:groovy:jar:2.4.13:compile (optional) -- module groovy (auto) Again, thank you very much for your help, -- Ceki On 03.12.2017 14:06, Robert Scholte wrote: On Sun, 03 Dec 2017 13:40:51 +0100, Ceki Gulcu wrote: Hello all, The logback pro

Re: Loading groovy as a Jigsaw auto-module

2017-12-03 Thread Robert Scholte
[INFO] --- maven-dependency-plugin:3.0.2:resolve (default-cli) @ maven-javadoc-plugin --- [INFO] Can't extract module name from groovy-2.4.13.jar: Provider class groovy not in module Maybe this helps You can confirm this with JShell: String artifact = "" // path to artifact System.out.p

Re: Loading groovy as a Jigsaw auto-module

2017-12-03 Thread Robert Scholte
On Sun, 03 Dec 2017 13:40:51 +0100, Ceki Gulcu wrote: Hello all, The logback project, more specifically logback-classic, offers the possibility of configuration via a script written in Groovy. Thus, logback-classic has source files written in Java and a few source files in Groovy. Whi

Re: Commit message for release plugin

2017-11-27 Thread Robert Scholte
Hi Sander, Messages are part of a "component"[1][2] And here is where the message is created[3] So yes, it is configuration, but not configurable at runtime (yet?) If you want to patch it, now you know the locations. And if such a patch in interesting/flexible enough for the plugin, we're alwa

Re: Is it poor practice to use Maven repo (ie: Nexus) to store non maven artifacts?

2017-11-26 Thread Robert Scholte
If you consider an artifact repository as a dependency repository, does it make sense now? In a Maven project you can add dependencies required for that project. If that means a dependency with static resources, IMHO that's fine. thanks, Robert On Sun, 26 Nov 2017 20:36:07 +0100, Eric B wrot

Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-21 Thread Robert Scholte
Hi Andreas, have a look at https://maven.apache.org/shared/maven-artifact-transfer/comparison.html that should explain the difference between type/package/file-extension If it is still not clear enough, please help imrpove the documentation. There's a reason why it is not yet a 1.0.0. I can'

Re: maven-artifact-transfer: How to build the classpath for arbitrary GAVs?

2017-11-20 Thread Robert Scholte
Hi Andreas, DependencyResolver is indeed the correct class to use. Any of the overloaded methods will do: When you have the dependecy, you can use it directly. In other cases use DependableCoordinate, which represents an instance that can contain dependencies. That can either be a MavenProje

[ANN] Apache Maven JDeprScan Plugin 3.0.0-alpha-1 Released

2017-11-17 Thread Robert Scholte
The Apache Maven team is pleased to announce the first release of the Apache Maven JDeprScan Plugin, version 3.0.0-alpha-1 The Maven JDeprScan plugin is used to scan class files for uses of deprecated API elements. It uses the jdeprscan tool as provided with Java 9. https://maven.apache.o

Re: Unrecognised tag: 'testResources'

2017-10-31 Thread Robert Scholte
On Mon, 30 Oct 2017 11:07:53 +0100, Ernst Reissner wrote: Hi all, When I run mvn resources:testResources i obtain |Non-parseable POM /home/ernst/Software/pom.xml:Unrecognisedtag:'testResources'| This is not the complete line. It must tell you what Maven expected and on which line/column

Re: How to get a Wagon TransferListener wrapping the default Aether TransferListener

2017-10-10 Thread Robert Scholte
Sounds like something which has to be added to maven-artifact-transfer[1] [1] https://maven.apache.org/shared/maven-artifact-transfer/ On Sat, 07 Oct 2017 22:29:26 +0200, Andreas Sewe wrote: Hi, I am writing a Maven plugin that needs a *Wagon* TransferListener (org.apache.maven.wagon.even

Re: Strange NoSuchMethodError in plugin, any idea?

2017-10-10 Thread Robert Scholte
My guess would be a corrupt jar Robert On Tue, 10 Oct 2017 15:51:34 +0200, Thomas Broyer wrote: Hi all, A net.ltgt.gwt.maven:gwt-maven-plugin user reported to me today [1] that after updating the plugin from the latest release to the latest snapshot, he faces a NoSuchMethodError on org.co

Re: [ANN] Apache Maven Doxia Sitetools 1.7.5 Released

2017-10-08 Thread Robert Scholte
Indeed, that would be the next step. Robert On Sun, 08 Oct 2017 18:07:10 +0200, Gary Gregory wrote: Can we expect a site plugin update that uses this latest version soon? Gary On Oct 8, 2017 09:54, "Robert Scholte" wrote: The Apache Maven team is pleased to announce the

[ANN] Apache Maven Doxia Sitetools 1.7.5 Released

2017-10-08 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Doxia Sitetools, version 1.7.5 Doxia Sitetools is an extension of base Doxia component that generates either HTML sites, consisting of decoration and content that was generated by Doxia, or documents like RTF or PD

Re: How to enforce running my Maven Plugin with a certain Java version

2017-09-28 Thread Robert Scholte
Hi, AFAIK there's no solution for it out of the box. The pom model has no option to specify it, so it cannot be solved there. The plugin descriptor is a Maven-only file, so that might work, but requires Maven to understand it. The other possible solution it to write an extension for it, which w

Re: Doxia 1.7.4 Site tools fails on Java 9

2017-09-26 Thread Robert Scholte
@Enrico, commons-lang2 must be replaced with commons-lang3, which includes code changes due to the new package structure. @Martijn, indeed, let's do a release. thanks, Robert On Tue, 26 Sep 2017 14:07:31 +0200, Enrico Olivelli wrote: which is the broken dependency ? maybe you could over

Re: how can I prevent maven-deploy-plugin:deploy-file from deploying main artifact?

2017-09-20 Thread Robert Scholte
Are you asking the right question? it seems to me you want to deploy files of this project. if you want to convert/replace the main artifact, I suggest to use the same filename. also have a look at http://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html deploy-file is

Re: Where does shaded JAR get its POM?

2017-09-04 Thread Robert Scholte
On Mon, 04 Sep 2017 22:31:41 +0200, Sander Verhagen wrote: I don't think that's correct. One of the drawbacks with using classifiers is that there is just ONE pom, which is used for all artifacts. +1 This is exactly my observation, hence the question. I believe, for this use case, it'

[ANN] Apache Maven Compiler Plugin 3.7.0 Released

2017-09-04 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.7.0 The Compiler Plugin is used to compile the sources of your project. https://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin confi

[ANN] Apache Maven JDeps Plugin 3.1.0 Released

2017-09-02 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven JDeps Plugin, version 3.1.0 The JDeps Plugin uses the jdeps tool to analyze classes for internal API calls. https://maven.apache.org/plugins/maven-jdeps-plugin/ You should specify the version in your project's plu

Re: There must be a better way.

2017-08-30 Thread Robert Scholte
m.github.jaiimageio.impl.plugins.wbmp.WBMPImageReaderSpi > com.github.jaiimageio.impl.plugins.bmp.BMPImageReaderSpi > com.github.jaiimageio.impl.plugins.pcx.PCXImageReaderSpi > com.github.jaiimageio.impl.plugins.pnm.PNMImageReaderSpi > com.github.jaiimageio.impl.plugins.raw.RawImageReaderSpi > com.github.jaiima

Re: There must be a better way.

2017-08-30 Thread Robert Scholte
eReaderSpi com.github.jaiimageio.impl.plugins.raw.RawImageReaderSpi com.github.jaiimageio.impl.plugins.tiff.TIFFImageReaderSpi Actual output: com.github.jaiimageio.jpeg2000.impl.J2KImageReaderSpi Best regards Daniel On Wed, Aug 30, 2017 at 11:24 AM, Robert Scholte wrote: On Wed, 30 Aug 2017 08:5

Re: There must be a better way.

2017-08-30 Thread Robert Scholte
On Wed, 30 Aug 2017 08:52:45 +0200, Daniel Persson wrote: Hi, everyone. I maintain a java tool that uses all the image libraries under the sun. And they all expose the javax.imageio.spi.ImageReaderSpi service. Because it's hard to actually merge all the service definition files I've opte

Re: Are multi-release jars supported?

2017-08-28 Thread Robert Scholte
Hi Russ, I think Hervés approach[1] is still the most cleanest possible solution. Main advantages: - works with every IDE as it is a standard multimodule project. - real unit testing for every version due to its isolation as Maven module. The assembly-part at the end is the most ugly part. With

Re: How does maven handle Java module dependencies?

2017-08-28 Thread Robert Scholte
ery motivated to do what I can to help maven get there. Thanks, Russ On Aug 27, 2017, at 8:38 AM, Robert Scholte wrote: Hi Russ, this is how it works: in case there's a module descriptor, the module-path with be used. With the help of plexus-java it is possible to divide all ja

Re: Excluding certain files from compilation or checking

2017-08-27 Thread Robert Scholte
tein > Carnegie Mellon University > Computer Science Dept > 7111 GHC > 412-268-3828 > > On Sat, Aug 26, 2017 at 6:47 AM, Robert Scholte > wrote: > >> I would expect it to be **/.* >> **/ means zero or more directories >> .* any file with a dot followed by a

Re: How does maven handle Java module dependencies?

2017-08-27 Thread Robert Scholte
Hi Russ, this is how it works: in case there's a module descriptor, the module-path with be used. With the help of plexus-java it is possible to divide all jars over the module-path and classpath. This mechanism is implemented in the maven-compiler-plugin (will do an official release soon w

Re: How to create a repository snapshot pruner mojo?

2017-08-26 Thread Robert Scholte
Hi Steinar, as you have discovered, a remote repository must be managed. IIRC the first version of Maven Central had a setup comparable to yours. Nowadays that is just not suitable anymore. please read the following pages: https://maven.apache.org/guides/introduction/introduction-to-reposit

Re: Excluding certain files from compilation or checking

2017-08-26 Thread Robert Scholte
I would expect it to be **/.* **/ means zero or more directories .* any file with a dot followed by anything Robert ps. repeating the same element within configuration like you did with means the last one will win. On Fri, 25 Aug 2017 23:26:58 +0200, Seth Goldstein wrote: I am trying to e

[ANN] Animal Sniffer Maven Plugin 1.16 Released

2017-08-23 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Animal Sniffer Maven Plugin version 1.16. Animal Sniffer provides tools to assist verifying that classes compiled with a newer JDK/API are compatible with an older JDK/API. http://www.mojohaus.org/animal-sniffer/ To get this upd

[ANN] Apache Maven Shade Plugin 3.1.0 Released

2017-08-22 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Shade Plugin, version 3.1.0 This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies. https://ma

Re: Unable to do a release with Java 9

2017-08-16 Thread Robert Scholte
Hi Russ, a quick scan of the code and the dependencies of the maven-gpg-plugin suggests there's no need for any changes; this should work with Java 9 as well. MSITE-794 is actually a maven-javadoc-plugin issue which has been fixed. Looks like one of the report plugin is picking up an older

[ANN] Apache Maven Enforcer Plugin 3.0.0-M1 Released

2017-07-30 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Enforcer Plugin, version 3.0.0-M1 The Enforcer plugin provides goals to control certain environmental constraints such as Maven version, JDK version and OS family along with many more standard rules and user create

Re: rat:check bad default?

2017-07-21 Thread Robert Scholte
Hi, just wondering, are both plugins part of the effective pom? When using a plugin prefix like "rat", Maven should first go over all plugins and verify if the prefix matches. Ensuring that org.apache.rat is above org.codehaus.mojo should help. thanks, Robert On Fri, 21 Jul 2017 19:48:08 +02

[ANN] Apache Maven Javadoc Plugin 3.0.0-M1 Released

2017-07-21 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Javadoc Plugin, version 3.0.0-M1 The Javadoc Plugin uses the Javadoc tool to generate javadocs for the specified project. https://maven.apache.org/plugins/maven-javadoc-plugin/ You should specify the version in yo

Re: maven-javadoc-plugin, Java 9 and maven-javadoc-plugin and java 9 and ExceptionInInitializerError

2017-07-17 Thread Robert Scholte
Yes, we are aware of this issue. I've just started a vote[1]. All feedback is appreciated! thanks, Robert [1] http://markmail.org/message/4nssutboqsahx5kb On Mon, 17 Jul 2017 18:12:22 +0200, Gary Gregory wrote: When I try to build our Apache HttpComponent HttpClient from git master with J

Re: ClassNotFoundException: org.sonatype.aether.collection.DependencyCollectionException

2017-06-17 Thread Robert Scholte
Hi, it looks like the plugin is pretty old ;) They should try to have an implementation based on maven-artifact-transfer[1], which supports both Aether implementations. thanks, Robert [1] https://maven.apache.org/shared/maven-artifact-transfer/ On Fri, 16 Jun 2017 16:19:52 +0200, Sergio Fer

Re: How can resolve an artifact from a remote Repo from within my Component

2017-05-24 Thread Robert Scholte
Hi, you kind of answered your own question already without knowing it :) You should have a look at the Maven Artifact Resolver[1] It used to be called Aether. We're using the same classes but with different groupIds/artifactIds. The documentation[2] hasn't been ported (yet) thanks, Robert [

[ANN] Apache Maven Invoker Plugin 3.0.0 Released

2017-05-23 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Invoker Plugin, version 3.0.0 The Invoker Plugin is used to run a set of Maven projects. The plugin can determine whether each project execution is successful, and optionally can verify the output generated from a

Re: Excessive download/upload of maven-metadata.xml during maven deploy

2017-05-12 Thread Robert Scholte
My guess: references to snapshots or version ranges in one of your (transitive) dependencies. Robert On Fri, 12 May 2017 07:05:35 +0200, Dan Tran wrote: Hi About 20 pairs of the below lines [INFO] Downloading: http://myComp:8081/artifactory/snapshots//maven-metadata.xml

Re: generate a POM with dependencies only?

2017-05-03 Thread Robert Scholte
Yes, http://www.mojohaus.org/flatten-maven-plugin/ On Wed, 03 May 2017 20:37:52 +0200, Richard Sand wrote: Is there a plugin/goal that will generate a "reduced" POM for a project that only contains the dependencies, but none of the other build/profile or any other tags? May sound like

Re: Any way to change the color scheme in Maven 3.5.0?

2017-04-11 Thread Robert Scholte
I still wonder if we want to have this. It is less interesting which colors are used, but instead more interesting the colors you want. So having a list with the available options would be good enough for me. Robert On Tue, 11 Apr 2017 00:42:15 +0200, Hervé BOUTEMY wrote: there is no fea

[ANN] Apache Maven Archetype Plugin 3.0.1 Released

2017-04-11 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Archetype Plugin, version 3.0.1 In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fi

Re: maven-artifact-transfer not able to resolve SNAPSHOT artifact

2017-04-05 Thread Robert Scholte
Hi Dan, can you create an Jira ticket? I agree that it is very unlikely that maven-artifact-transfer causes this, it's either Maven Core or maybe Maven Artifact Resolver (fka Aether) Robert On Mon, 03 Apr 2017 08:57:35 +0200, Dan Tran wrote: yes snapshots: [enabled => false, update =>

[ANN] Mock Repository Manager 1.1.0 Released

2017-03-31 Thread Robert Scholte
Hi, The Mojo team is pleased to announce the release of the Mock Repository Manager version 1.1.0. The Mock Repository Manager suite of projects are used to provide mock or lightweight Maven Repository Managers for use during integration testing of Maven plugins. http://www.mojohaus.org

[ANN] Mock Repository Manager 1.0.1 Released

2017-03-06 Thread Robert Scholte
://www.mojohaus.org/mrm/index.html To get this update, simply specify the version in your project's plugin configuration: org.codehaus.mojo mrm-maven-plugin 1.0.1 Release Notes https://github.com/mojohaus/mrm/milestone/3?closed=1 Enjoy, The Mojo team. Robert Sc

[ANN] Exec Maven Plugin 1.6.0 Released

2017-03-06 Thread Robert Scholte
lugin configuration: org.codehaus.mojo exec-maven-plugin 1.6.0 Release Notes https://github.com/mojohaus/exec-maven-plugin/milestone/3?closed=1 Enjoy, The Mojo team. Robert Scholte - To unsubscribe, e-mail:

Re: Treat maven warnings as errors

2017-03-06 Thread Robert Scholte
https://issues.apache.org/jira/browse/MNG-6065 is what you are looking for. So the answer is: no, not yet. Robert On Mon, 06 Mar 2017 15:57:32 +0100, Yaron Golan wrote: Anyone? "No" is an answer as well, you know ... :) -Original Message- From: Yaron Golan [mailto:ygo...@interwi

Re: Configuring the surefire plugin - a question

2017-02-24 Thread Robert Scholte
execution-block you kind of fixed that. Robert Regards, - Paul On Fri, Feb 17, 2017 at 2:00 PM, Robert Scholte wrote: When you only want to change the pom (not the tests), a set of executionblocks will do the trick: org.apache.maven.plugins maven-

Re: Configuring the surefire plugin - a question

2017-02-17 Thread Robert Scholte
When you only want to change the pom (not the tests), a set of executionblocks will do the trick: org.apache.maven.plugins maven-surefire-plugin 2.18.1 unit-tests **/*Unit*.java

[ANN] Apache Maven Archetype Plugin 3.0.0 Released

2017-02-12 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Archetype Plugin, version 3.0.0 The Archetype Plugin allows the user to create a Maven project from an existing template called an archetype. It also allows the user to create an archetype from an existing project.

<    1   2   3   4   5   6   >