[ANN] Apache Maven Compiler Plugin 3.13.0 Released

2024-03-18 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.13.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

[ANN] Apache Maven Compiler Plugin 3.12.1 Released

2023-12-24 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.12.1 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

RE: maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread Stefan CORDES
compiler plugin 3.12.0 and Kotlin project I tried to update Maven compiler plugin version to the latest 3.12.0 version, and got the error message like the following when compiling the projects: [INFO] --- compiler:3.12.0:compile (default-compile) @ mongodb-kotlin --- [INFO] Recompiling the module

Re: maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread Slawomir Jaranowski
hantsy bai napisał(a): > I tried to update Maven compiler plugin version to the latest 3.12.0 > version, and got the error message like the following when compiling the > projects: > > [INFO] --- compiler:3.12.0:compile (default-compile) @ mongodb-kotlin --- > [INFO] Recompiling

maven compiler plugin 3.12.0 and Kotlin project

2023-12-21 Thread hantsy bai
I tried to update Maven compiler plugin version to the latest 3.12.0 version, and got the error message like the following when compiling the projects: [INFO] --- compiler:3.12.0:compile (default-compile) @ mongodb-kotlin --- [INFO] Recompiling the module because of changed dependency. [INFO

[ANN] Apache Maven Compiler Plugin 3.12.0 Released

2023-12-18 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.12.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

Re: maven-compiler-plugin adds all dependencies to the module-path when executing test-compile when it shouldn't

2023-10-12 Thread Martin Desruisseaux
Hello Siddharth Le 2023-10-13 à 00 h 02, Siddharth Jain a écrit : IIUC, this is a separate issue. At minimum we need to make the behavior of compile vs. testCompile consistent. Currently it is not. Understood, but what I think is the common point is that Maven currently uses heuristic rules

Re: maven-compiler-plugin adds all dependencies to the module-path when executing test-compile when it shouldn't

2023-10-12 Thread Siddharth Jain
Hi Martin, Thanks for your response. please see inline: > Which approach did you choose for the tests? One approach is to > duplicate the module-info.java file in the test directory [1], but this > is not the only way. > Yes, that is the approach I took. Basically, the test code is put in its

Re: maven-compiler-plugin adds all dependencies to the module-path when executing test-compile when it shouldn't

2023-10-12 Thread Martin Desruisseaux
Hello Siddharth I do not have a precise answer to your question, but below is a few notes. Le 2023-10-12 à 23 h 07, Siddharth Jain a écrit : I have observed the maven-compiler-plugin behaves differently for test vs. main compilation. Which approach did you choose for the tests? One approach

maven-compiler-plugin adds all dependencies to the module-path when executing test-compile when it shouldn't

2023-10-12 Thread Siddharth Jain
Hello, I am building a project that uses modules (JPMS) I have observed the maven-compiler-plugin behaves differently for test vs. main compilation. I have a project and the main compilation works but the test code does not compile. when i looked at the logs, i see during the test-compile phase

[ANN] Maven Compiler Plugin 3.11.0 released

2023-02-27 Thread Guillaume Nodet
The Apache Maven team is pleased to announce the release of the Maven Compiler Plugin 3.11.0 https://maven.apache.org/plugins/maven-compiler-plugin/ Release Notes - Maven Compiler Plugin - Version 3.11.0 ** Bug * [MCOMPILER-347] - Includes and excludes not passed into CompilerConfiguration

Re: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread Bernd Eckenfels
Von: KARR, DAVID Gesendet: Friday, April 1, 2022 8:02:37 PM An: Maven Users List Betreff: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default? I noticed that we have one build that is trying to compile so

Re: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread Benjamin Marwell
ID > > Sent: Friday, April 1, 2022 11:03 AM > > To: Maven Users List > > Subject: How can I tell what value of "maxmem" the maven-compiler-plugin > > is using by default? > > > > I noticed that we have one build that is trying to compile so many files

RE: How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Friday, April 1, 2022 11:03 AM > To: Maven Users List > Subject: How can I tell what value of "maxmem" the maven-compiler-plugin > is using by default? > > I noticed that we have one build that

How can I tell what value of "maxmem" the maven-compiler-plugin is using by default?

2022-04-01 Thread KARR, DAVID
I noticed that we have one build that is trying to compile so many files that it is running out of memory in the maven-compiler-plugin execution. I see that I can set the "maxmem" property in that plugin's configuration. What would be nice to know is what the default value is.

[ANN] Apache Maven Compiler Plugin 3.10.1 Released

2022-03-10 Thread Olivier Lamy
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.10.1 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

[ANN] Apache Maven Compiler Plugin 3.10.0 Released

2022-02-14 Thread Olivier Lamy
Hi The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.10.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

[ANN] Maven Compiler Plugin 3.9.0 released

2022-01-12 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Compiler Plugin version 3.9.0. https://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-compiler-plugin 3.9.0

Re: Maven compiler plugin Unsupported major.minor version

2021-02-13 Thread Benjamin Marwell
without preview features? > > > > > > > > > > On Mon, 8 Feb 2021, 15:30 Andrea Vacondio, < > > andrea.vacon...@gmail.com> > > > > > wrote: > > > > > > > > > > > Thanks for the reply. I tried that and I got: > > > > &

Re: Maven compiler plugin Unsupported major.minor version

2021-02-11 Thread Andrea Vacondio
gt; > > [ERROR] Failed to execute goal > > > > > org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile > > > > > (default-compile) on project pdfblack-model: Execution > default-compile of > > > > > goal org.apache.maven.plugins:maven-compiler-plugin

Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Benjamin Marwell
n.plugins:maven-compiler-plugin:3.8.1:compile > > > failed: A > > > > required class was missing while executing > > > > org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile: > > > > > > > org/codehaus/plexus/languages/java/jpms/Re

Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Benjamin Marwell
rce > > > [ERROR] ----- > > > [ERROR] realm = > > > plugin>org.apache.maven.plugins:maven-compiler-plugin:3.8.1 > > > [ERROR] strategy = > > > org.codehaus.plexus.classworlds.strategy.SelfF

Re: Maven compiler plugin Unsupported major.minor version

2021-02-10 Thread Andrea Vacondio
ds.strategy.SelfFirstStrategy > > [ERROR] urls[0] = > > > file:/home/torakiki/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.8.1/maven-compiler-plugin-3.8.1.jar > > [ERROR] urls[1] = > > > file:/home/torakiki/.m2/repository/org/codehaus/plexus/plexus-jav

Re: Maven compiler plugin Unsupported major.minor version

2021-02-09 Thread Benjamin Marwell
iler-plugin:3.8.1 > [ERROR] strategy = > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/home/torakiki/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.8.1/maven-compiler-plugin-3.8.1.jar > [ERROR] urls[1] = > file:/home/torakiki/.m2/repository/org/codehaus/plexus/plexus-java/0.9.11/p

Re: Maven compiler plugin Unsupported major.minor version

2021-02-08 Thread Andrea Vacondio
ven-compiler-plugin:3.8.1 [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy [ERROR] urls[0] = file:/home/torakiki/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.8.1/maven-compiler-plugin-3.8.1.jar [ERROR] urls[1] = file:/home/torakiki/.m2/repository/

Re: Maven compiler plugin Unsupported major.minor version

2021-02-07 Thread Benjamin Marwell
Hi Andrea, looking at the maven-compiler-plugin, it uses plexus-java 0.9.10 which in turn uses an old 6.x asm version. Try adding a more recent version of plexus-java (which uses asm 9.0) and see if that works. org.apache.maven.plugins maven-compiler-plugin 3.8.1 15

Maven compiler plugin Unsupported major.minor version

2021-02-05 Thread Andrea Vacondio
Hi, I hope this is the right channel. I have a multi module project that I'm trying to modularize in the JPMS sense. It's configured to run maven with java 11 and run the compiler plugin using java 15 through the toolchain plugin and this is what I get: [INFO] --- maven-compiler-plugin:3.8.1

RE: Problem with the maven-compiler-plugin

2020-03-13 Thread Nelligan, Steven M
Thank you for the feedback. I should have been using –verbose not –version. When using –verbose the plugin is working as expected. Thank you for your time. From: Thomas Broyer Sent: Friday, March 13, 2020 3:02 AM To: Maven Users List Subject: Re: Problem with the maven-compiler-plugin

Re: Problem with the maven-compiler-plugin

2020-03-13 Thread Thomas Broyer
ler-plugin is not working or I am doing > something wrong.* > > > > *I have the following in the POM file.* > > > > > > > > org.apache.maven.plugins > >

Problem with the maven-compiler-plugin

2020-03-13 Thread Nelligan, Steven M
It appears that the maven-compiler-plugin is not working or I am doing something wrong. I have the following in the POM file. org.apache.maven.plugins maven-compiler-plugin 3.8.1

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
" wrote: > > Hi, > > this is documented on the documentation page[1] > > which can be achieved by using the following: > > >[...] > > [...] >

Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
Hello, I'd like to pass -parameters and enable-preview arguments to the test compiler but I can't figure out how, the closest I got is: How can I pass two arguments to the test compiler where one of them requires double dash? Best Regards,

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Thomas Broyer
, 14:46, "Karl Heinz Marbaise" wrote: > > Hi, > > this is documented on the documentation page[1] > > which can be achieved by using the following: > > >[...] > > [...] > >

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Tommy Svensson
Can't you use a profile for the test case, where you redefine the maven-compiler-plugin settings to what you need for test ?  I thinks settings in profiles overrides previously seen definitions, but I'm not 100% sure of that. In worst case you might need 2 different profiles. Cheers, Tommy

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
e: Hi, this is documented on the documentation page[1] which can be achieved by using the following: [...] [...] org.apache.maven.plugins maven-compiler-plugin 3.8.1

Re: Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Karl Heinz Marbaise
Hi, this is documented on the documentation page[1] which can be achieved by using the following: [...] [...] org.apache.maven.plugins maven-compiler-plugin 3.8.1 --enable-preview wished supplemental

Maven compiler plugin - test compiler arguments with double dash

2019-10-09 Thread Lovro Pandzic
Hello, I'd like to pass -parameters and enable-preview arguments to the test compiler but I can't figure out how, the closest I got is: How can I pass two arguments to the test compiler where one of them requires double dash? Best Regards,

[ANN] Apache Maven Compiler Plugin Version 3.8.1

2019-05-02 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin Version 3.8.1 https://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin configuration: Important Notes since Version 3.8.0 * The default value

Re: maven compiler plugin multiReleaseOutput option and previous versions

2019-02-12 Thread Russell Gold
d written an IT for it, but can't find it. > Looks like you found a bug. > > Robert > > On Tue, 12 Feb 2019 20:03:10 +0100, Russell Gold > wrote: > >> But it doesn’t appear to be working for me. >> >>> [INFO] --- maven-compiler-plugin:3.8.0:compile (

Re: maven compiler plugin multiReleaseOutput option and previous versions

2019-02-12 Thread Robert Scholte
I thought I had written an IT for it, but can't find it. Looks like you found a bug. Robert On Tue, 12 Feb 2019 20:03:10 +0100, Russell Gold wrote: But it doesn’t appear to be working for me. [INFO] --- maven-compiler-plugin:3.8.0:compile (java9) @ pfl-basic --- [DEBUG] Configuring mojo

Re: maven compiler plugin multiReleaseOutput option and previous versions

2019-02-12 Thread Russell Gold
But it doesn’t appear to be working for me. > [INFO] --- maven-compiler-plugin:3.8.0:compile (java9) @ pfl-basic --- > [DEBUG] Configuring mojo > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile from plugin > realm ClassRealm[plugin>org.apache.maven.plugins:maven-

Re: maven compiler plugin multiReleaseOutput option and previous versions

2019-02-12 Thread Robert Scholte
Hi Russ, There's no way to configure this, the plugin will do it for you[1] thanks, Robert [1] https://github.com/apache/maven-compiler-plugin/blob/master/src/main/java/org/apache/maven/plugin/compiler/CompilerMojo.java#L328-L346 On Tue, 12 Feb 2019 18:56:52 +0100, Russell Gold wrote

maven compiler plugin multiReleaseOutput option and previous versions

2019-02-12 Thread Russell Gold
Version 3.8.0 of the maven-compiler-plugin supports a multiReleaseOutput option which can compile classes directly to the appropriate META-INF/versions/{release} directory, which is very nice. What I don’t see, though, is how to tell it to use the previous release as its dependency

Re: Why maven-compiler-plugin seems to not take advantage of already compiled .class files?

2018-12-01 Thread Martin Desruisseaux
Le 01/12/2018 à 21:17, Robert Scholte a écrit : > This is a dangerous advice. > > Yes, it'll only compile the touched files, but not the source files > using it. For example method signature changes are not detected and > you will hit that issue at runtime with a NoSuchMethodException, which > is

Re: Why maven-compiler-plugin seems to not take advantage of already compiled .class files?

2018-12-01 Thread Robert Scholte
): maven-compiler-plugin false Martin - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Why maven-compiler-plugin seems to not take advantage of already compiled .class files?

2018-12-01 Thread Martin Desruisseaux
Hello Francesco Have you tried following configuration? It seems counter-intuitive, but last time I tried it made compilation much faster (i.e. it seems to have the opposite effect of what we would expect): maven-compiler-plugin false

Re: Why maven-compiler-plugin seems to not take advantage of already compiled .class files?

2018-12-01 Thread Robert Scholte
that call this method (and throw a compilation error if you forgot to change this class). Basically there are 2 options: analyze every class and decide if it must be recompiled OR simply recompile everything. The maven-compiler-plugin does the latter by default because the java compiler should

Why maven-compiler-plugin seems to not take advantage of already compiled .class files?

2018-12-01 Thread Francesco Caliumi - Diennea
source file changed, among 2680 others left unchanged): 01:06 min In case 3 I'm expecting a time closer to case 2, not to case 1. Both case 1 and 3 reports "Compiling 2680 source files". Are there some options to make maven-compiler-plugin skip compiling sources where the xxx.class

Re: [ANN] Apache Maven Compiler Plugin Version 3.8.0 Released

2018-07-30 Thread mike digioia
com/in/nigamnaman> > > > On Mon, Jul 30, 2018 at 2:10 AM Karl Heinz Marbaise > > wrote: > > > The Apache Maven team is pleased to announce the release of the > > Apache Maven Compiler Plugin Version 3.8.0 > > > > https://maven.apache.org/plugins/maven-comp

Re: [ANN] Apache Maven Compiler Plugin Version 3.8.0 Released

2018-07-29 Thread Naman Nigam
team is pleased to announce the release of the > Apache Maven Compiler Plugin Version 3.8.0 > > https://maven.apache.org/plugins/maven-compiler-plugin/ > > You should specify the version in your project's plugin configuration: > > Important Notes since Version 3.8.0 > > * The defau

[ANN] Apache Maven Compiler Plugin Version 3.8.0 Released

2018-07-29 Thread Karl Heinz Marbaise
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin Version 3.8.0 https://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin configuration: Important Notes since Version 3.8.0 * The default value

Re: maven-compiler-plugin JPMS module resolution

2018-04-16 Thread Robert Scholte
nses. IMHO What the maven-compiler-plugin currently offers matches the specs quite good. thanks, Robert [1] http://mail.openjdk.java.net/pipermail/jpms-spec-experts/2017-May/000687.html On Mon, 16 Apr 2018 11:58:03 +0200, Roman Grigoriadi <roman.grigori...@gmail.com> wrote:

Re: maven-compiler-plugin JPMS module resolution

2018-04-16 Thread Roman Grigoriadi
of the main jar and let up to users 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

Re: maven-compiler-plugin JPMS module resolution

2018-04-13 Thread Robert Scholte
Here you hit the nail on the head! This is exactly my concern and I've spoken about this on several conferences. TLDR: Don't publish libraries to Maven Central that depend on at least one filename-based automatic module. You must wait until all your dependencies are explicit modules. In

Re: maven-compiler-plugin JPMS module resolution

2018-04-13 Thread Roman Grigoriadi
I guess you are right. I wasn't sure if it is a good idea to include a name for a module in my descriptor for a dependency which is actually not named (automatic) and release with such descriptor. But given this dependency is fixed version, it will not get any other name than I am referencing and

Re: maven-compiler-plugin JPMS module resolution

2018-04-13 Thread Robert Scholte
But that means that the dependency is actually required at runtime. Looks to me there are 2 options: - make that dependency a requirement - restructure your code so it can be a static requirement One of the benefits I do like about the modularization is that it forces you to do clean coding.

Re: maven-compiler-plugin JPMS module resolution

2018-04-12 Thread Roman Grigoriadi
Hi Robert, I don't think my case is suitable for requires static / optional. Runtime will fail with ClassNotFound 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

Re: maven-compiler-plugin JPMS module resolution

2018-04-12 Thread Martin Desruisseaux
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 for it? > Done: https://issues.apache.org/jira/browse/MCOMPILER-336     Thanks         Martin -

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Martin Desruisseaux
odule-info.java mvn install -Pjdk9 But maven-compiler-plugin then fails on the next module, unless I touch the module-info.java of that next module too, /etc./ I will see if I can do a new attempt at creating a minimal test case later this week.     Martin [1] https://github.com/opengeospatial/geoapi

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Robert Scholte
at it. thanks, Robert [1] https://issues.apache.org/jira/projects/MCOMPILER On Wed, 11 Apr 2018 14:24:36 +0200, Martin Desruisseaux <martin.desruisse...@geomatys.com> wrote: I also have the case where maven-compiler-plugin puts a dependency in classpath while it should be in modu

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Robert Scholte
to place some of the project dependencies to --module-path to make them automatic "derived name" modules during project compilation. I can see that maven-compiler-plugin:3.7.0 tries to find module-info.class and Automatic-Module-Name entry in MANIFEST. If found it uses those jar

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Martin Desruisseaux
I also have the case where maven-compiler-plugin puts a dependency in classpath while it should be in modulepath. Strangely, the plugin does the correct thing when executed with "mvn _clean_ install" but not when executing "mvn install" without clean. This is

Re: maven-compiler-plugin JPMS module resolution

2018-04-11 Thread Roman Grigoriadi
gt; > On Tue, 10 Apr 2018 16:23:10 +0200, Roman Grigoriadi < > roman.grigori...@gmail.com> wrote: > > Hi, >> >> I would like to place some of the project dependencies to --module-path to >> make them automatic "derived name" modules during project compilation. I >&g

Re: maven-compiler-plugin JPMS module resolution

2018-04-10 Thread Robert Scholte
derived name" modules during project compilation. I can see that maven-compiler-plugin:3.7.0 tries to find module-info.class and Automatic-Module-Name entry in MANIFEST. If found it uses those jars as modules. Is there any way I can force placement non-modularized dependencies on modul

maven-compiler-plugin JPMS module resolution

2018-04-10 Thread Roman Grigoriadi
Hi, I would like to place some of the project dependencies to --module-path to make them automatic "derived name" modules during project compilation. I can see that maven-compiler-plugin:3.7.0 tries to find module-info.class and Automatic-Module-Name entry in MANIFEST. If found it uses

[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

[ANN] Apache Maven Compiler Plugin 3.6.2

2017-07-31 Thread Olivier Lamy
Hi The Apache Maven team is pleased to announce the release of the Apache Maven Compiler plugin, version 3.6.2. http://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your project's plugin configuration: org.apache.maven.plugins maven-compiler-plugin 3.6.2

[ANN] Apache Maven Compiler Plugin 3.6.1 Released

2017-01-16 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.6.1 Most important change is the support for test-compile when using JDK 9 build b148+ https://maven.apache.org/plugins/maven-compiler-plugin/ You should specify the version in your

maven-compiler-plugin problem

2016-11-29 Thread big data
I use maven-compiler-plugin to load /lib/*.jar files, like this in pom.xml: org.apache.maven.plugins maven-compiler-plugin 3.0 1.7 1.7 UTF-8

Apache Maven Compiler Plugin 3.6.0 Released

2016-10-30 Thread Robert Scholte
The Apache Maven team is pleased to announce the release of the Apache Maven Compiler Plugin, version 3.6.0 The Compiler Plugin is used to compile the sources of your project. This version introduces support of several new features of Java 9, such as: JEP 247: Compile for Older Platform

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Robert Scholte
I've been fixing and closing quite some issues for the maven-compiler-plugin lately. There are still 2 categories with several issues: incremental builds and annotation processing. It's too much to fix for 3.6.0 (Java 9 prep-release), but we should have a good look at all these issues

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Stephen Connolly
ig deal to do this one-time operation... :-) > > > -Original Message- > From: Christopher [mailto:ctubb...@apache.org <javascript:;>] > Sent: Sunday, October 23, 2016 12:02 PM > To: Maven Users List; Robert Patrick > Subject: Re: Maven Compiler Plugin 3.5.1 bug > >

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Robert Patrick
le > > Von: Robert Patrick > Gesendet: Sonntag, 23. Oktober 2016 18:45 > An: Maven Users List > Betreff: RE: Maven Compiler Plugin 3.5.1 bug > > That's why we use IntelliJ :-) > > It understands Maven projects and uses Maven to build them. In the > IDE, you si

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Christopher
gt; Gesendet: Sonntag, 23. Oktober 2016 18:45 > An: Maven Users List > Betreff: RE: Maven Compiler Plugin 3.5.1 bug > > That's why we use IntelliJ :-) > > It understands Maven projects and uses Maven to build them. In the IDE, > you simply cancel the exclusion on the target dir

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread ecki
:45 An: Maven Users List Betreff: RE: Maven Compiler Plugin 3.5.1 bug That's why we use IntelliJ :-) It understands Maven projects and uses Maven to build them. In the IDE, you simply cancel the exclusion on the target directory and mark the appropriate subdirectory(ies) as a generated sources r

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Robert Patrick
- From: Christopher [mailto:ctubb...@apache.org] Sent: Sunday, October 23, 2016 11:42 AM To: Maven Users List Subject: Re: Maven Compiler Plugin 3.5.1 bug The build-helper-maven-plugin method has the advantage of having a corresponding build-helper plugin in Eclipse, to automatically add

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-23 Thread Christopher
for yet another plugin to fill the functionality gaps...don't you think? > > > -Original Message- > From: Curtis Rueden [mailto:ctrue...@wisc.edu] > Sent: Saturday, October 22, 2016 5:48 PM > To: Maven Users List > Subject: RE: Maven Compiler Plugin 3.5.1 bug >

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Robert Patrick
] Sent: Saturday, October 22, 2016 5:48 PM To: Maven Users List Subject: RE: Maven Compiler Plugin 3.5.1 bug You can add source directories using the build-helper-maven-plugin. On Oct 22, 2016 4:39 PM, "Robert Patrick" <robert.patr...@oracle.com> wrote: > I am using the

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Curtis Rueden
ct.build.directory}/generated-sources/ > annotations > > > > The documentation claims that the default value for the > generatedSourcesDirectory is this directory so you are saying that somehow > the fact that the maven-compiler-plugin no longer includes the

RE: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Robert Patrick
that the maven-compiler-plugin no longer includes the directory in the build is a feature? I looked through the compiler plugin's documentation and couldn't figure out a way to add a directory to the build. I know how to add the directory to the build if I write my own plugin but that seems pretty

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread John Patrick
hi robert, what is the plugin that creates files and puts them into the generated-sources/annotations directory as from how i understand it works, the plugin should on execution dynamically register that new extra directory into the list of source directories that the maven-compiler-plugin

Re: Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Thomas Broyer
I update the versions of the Maven plugins for my projects. > Today was one of those days. What I found is that the > maven-compiler-plugin 3.5.1's compile goal no longer seems to not be > including the ${project.build.directory}/generated-sources/annotations > > directory in the com

Maven Compiler Plugin 3.5.1 bug

2016-10-22 Thread Robert Patrick
Periodically, I update the versions of the Maven plugins for my projects. Today was one of those days. What I found is that the maven-compiler-plugin 3.5.1's compile goal no longer seems to not be including the ${project.build.directory}/generated-sources/annotations directory in the compile

Re: Problem With Maven Compiler Plugin

2016-05-12 Thread Anders Hammar
lity.com] > Sent: Thursday, May 12, 2016 3:14 PM > To: users@maven.apache.org > Subject: Re: Problem With Maven Compiler Plugin > > Just to confirm though.. latest versions of M2e need Java 1.8... > > Anders Hammar wrote on 2016-05-12 09:25: > > > As Mark pointed out,

RE: Problem With Maven Compiler Plugin

2016-05-12 Thread Michael.CTR.Tarullo
)485-5294 -Original Message- From: Manfred Moser [mailto:manf...@simpligility.com] Sent: Thursday, May 12, 2016 3:14 PM To: users@maven.apache.org Subject: Re: Problem With Maven Compiler Plugin Just to confirm though.. latest versions of M2e need Java 1.8... Anders Hammar wrote on 2016

Re: Problem With Maven Compiler Plugin

2016-05-12 Thread Manfred Moser
> Thanks >> >> Michael Tarullo >> Contractor (Engility Corp) >> Software Engineer >> FAA WJH Technical Center >> (609)485-5294 >> >> -----Original Message----- >> From: Martin Gainty [mailto:mgai...@hotmail.com] >> Sent: Wednesday, May 11, 2

RE: Problem With Maven Compiler Plugin

2016-05-12 Thread Anders Hammar
..@hotmail.com] > Sent: Wednesday, May 11, 2016 1:13 PM > To: users@maven.apache.org > Subject: RE: Problem With Maven Compiler Plugin > > Nota Bene: to detect missing dependencies i run dependency:tree and bind > to initialize phase before compilation > http://stackover

RE: Problem With Maven Compiler Plugin

2016-05-12 Thread Michael.CTR.Tarullo
Subject: RE: Problem With Maven Compiler Plugin Nota Bene: to detect missing dependencies i run dependency:tree and bind to initialize phase before compilation http://stackoverflow.com/questions/17978768/how-to-determine-which-maven-dependency-is-needing-a-missing-dependency HTH! Martin (decidedly

RE: Problem With Maven Compiler Plugin

2016-05-11 Thread Martin Gainty
rom: michael.ctr.taru...@faa.gov > To: users@maven.apache.org > Subject: RE: Problem With Maven Compiler Plugin > Date: Wed, 11 May 2016 15:14:24 + > > Thank you for the reply Mark. > > This problem "fixed itself". Just thought I'd explain here in the event > an

RE: Problem With Maven Compiler Plugin

2016-05-11 Thread Michael.CTR.Tarullo
0, 2016 10:24 AM To: users@maven.apache.org Subject: Re: Problem With Maven Compiler Plugin On 10-05-16 16:12, michael.ctr.taru...@faa.gov wrote: > When attempting to build with Maven from Eclipse I am getting the following > error: > > [ERROR] Failed to execute goal > org.a

Re: Problem With Maven Compiler Plugin

2016-05-10 Thread Mark Prins
On 10-05-16 16:12, michael.ctr.taru...@faa.gov wrote: When attempting to build with Maven from Eclipse I am getting the following error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project camel-activemq: Fatal error

Problem With Maven Compiler Plugin

2016-05-10 Thread Michael.CTR.Tarullo
\..\lib\tools.jar -> [Help 1] I'm confused about why the plugin is looking in the JRE for tools.jar, when this JAR exists in the JDK. Here is the build tag in my POM: install org.apache.maven.plugins maven-compiler-plugin 2.5.1

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-27 Thread Andreas Gudian
Am Sonntag, 27. März 2016 schrieb Mark Derricutt : > On 27 Mar 2016, at 0:28, Andreas Gudian wrote: > > > Right, in 3.5.1 I fixed an oversight that caused the modules direct > > dependencies to also show up in -processorpath. > > Hrm, actually that's the reason I was looking at using this method

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-27 Thread Mark Derricutt
On 27 Mar 2016, at 0:28, Andreas Gudian wrote: > Right, in 3.5.1 I fixed an oversight that caused the modules direct > dependencies to also show up in -processorpath. Hrm, actually that's the reason I was looking at using this method over just listing the deps in the first place - since the

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-26 Thread Andreas Gudian
rs 2016 00:37, Mark Derricutt <m...@talios.com > <javascript:;>> a écrit : > > > > > Hey all, > > > > > > Has anyone successfully used the new setting > > > in the maven-compiler-plugin at all? > > > > > > I'm adding: >

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-25 Thread Mark Derricutt
g with -X. > > Le jeu. 24 mars 2016 00:37, Mark Derricutt <m...@talios.com> a écrit : > > > Hey all, > > > > Has anyone successfully used the new setting > > in the maven-compiler-plugin at all? > > > > I'm adding: > > > > > >

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-25 Thread Thomas Broyer
Have you set source and target to at least 1.6 or 6? You should see the -processorpath argument being passed to JavaC when running with -X. Le jeu. 24 mars 2016 00:37, Mark Derricutt <m...@talios.com> a écrit : > Hey all, > > Has anyone successfully used the new setting > in

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-24 Thread Curtis Rueden
ugins/blob/cb254e434a40b7ff58c936abbb3f823029a0e466/maven-compiler-plugin/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java#L227-L254 [2] https://github.com/apache/maven-plugins/tree/cb254e434a40b7ff58c936abbb3f823029a0e466/maven-compiler-plugin/src/it/MCOMPILER-203-processorpath [3] https://

Re: Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-24 Thread Christopher
it with any other annotation processor, which would work without being on the classpath. On Wed, Mar 23, 2016 at 7:37 PM Mark Derricutt <m...@talios.com> wrote: > Hey all, > > Has anyone successfully used the new setting > in the maven-compiler-plugin at a

Anyone using annotationProcessorPaths in maven-compiler-plugin

2016-03-23 Thread Mark Derricutt
Hey all, Has anyone successfully used the new `` setting in the `maven-compiler-plugin` at all? I'm adding: ```xml com.google.dagger dagger-compiler 2.1 ``` to my compiler plugins configuration but it doesn't seem to work, when running maven with -X I see

  1   2   3   4   5   6   >