Re: apache-maven-3.3.9 silently doesn't compile with jdk7 (it does with jdk8)

2017-08-09 Thread Karl Heinz Marbaise

Hi,


On 10/08/17 02:10, Guang Chao wrote:

On Tue, Aug 8, 2017 at 10:38 PM, bamboomy  wrote:


Hey All,

this is my first message on the list :)

I was wondering...

When I compile with jdk8 (or eclipse that runs under jdk8) my (java 7) code
compiles just fine, however it silently doesn't with jdk7 as jdk...



Is it OpenJDK?  Which build?




[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to
C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes

(but the target/classes/ folder is just empty)



It looks weird, but intuition tells me it is not maven problem but config
issue in your box.



We haved dived into that more and it is not a config issue...I can 
reproduce the problem...(We have not yet the root cause)...


But you can see the description here:

https://issues.apache.org/jira/browse/MCOMPILER-302

Kind regards
Karl Heinz Marbaise

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: apache-maven-3.3.9 silently doesn't compile with jdk7 (it does with jdk8)

2017-08-09 Thread Bernd Eckenfels
Hello,

>> [INFO] Changes detected - recompiling the module!
>> [INFO] Compiling 37 source files to
>> C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes
>>
>> (but the target/classes/ folder is just empty)
>
> I t looks weird, but intuition tells me it is not maven problem but config 
> issue in your box.

Yes however the compiler-plugin (or the tools API) may fail to detect failed 
forks/exec, which would also be a thing for Maven to improve.

Gruss
Bernd


Re: apache-maven-3.3.9 silently doesn't compile with jdk7 (it does with jdk8)

2017-08-09 Thread Guang Chao
On Tue, Aug 8, 2017 at 10:38 PM, bamboomy  wrote:

> Hey All,
>
> this is my first message on the list :)
>
> I was wondering...
>
> When I compile with jdk8 (or eclipse that runs under jdk8) my (java 7) code
> compiles just fine, however it silently doesn't with jdk7 as jdk...
>

Is it OpenJDK?  Which build?


>
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 37 source files to
> C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes
>
> (but the target/classes/ folder is just empty)
>

It looks weird, but intuition tells me it is not maven problem but config
issue in your box.


>
> with jdk8:
>
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 37 source files to
> C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes
> [INFO]
> /C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/
> eu/cec/admin/sysper2/document/model/Document.java:
> C:\Project\wss\maven\Sysper2\Reporting_maven\src\main\java\
> eu\cec\admin\sysper2\document\model\Document.java
> uses or overrides a deprecated API.
> [INFO]
> /C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/
> eu/cec/admin/sysper2/document/model/Document.java:
> Recompile with -Xlint:deprecation for details.
> [INFO]
> /C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/
> eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
> Some input files use unchecked or unsafe operations.
> [INFO]
> /C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/
> eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
> Recompile with -Xlint:unchecked for details.
>
> and a well filled target/classes/ folder...
>
> Is this normal or should I file a bug?
>
> Br,
>
> S.
>
>
>
> --
> View this message in context: http://maven.40175.n5.nabble.
> com/apache-maven-3-3-9-silently-doesn-t-compile-with-
> jdk7-it-does-with-jdk8-tp5912087.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



-- 
Guang 


Re: apache-maven-3.3.9 silently doesn't compile with jdk7 (it does with jdk8)

2017-08-09 Thread Karl Heinz Marbaise

Hi,

can you give a full working example of that...

cause it sounds like there is something wrong with your configuration...

What does: "mvn --version" says?

Are you trying to run in console or running from inside of Eclipse?

Kind regards
Karl Heinz Marbaise

On 08/08/17 16:38, bamboomy wrote:

Hey All,

this is my first message on the list :)

I was wondering...

When I compile with jdk8 (or eclipse that runs under jdk8) my (java 7) code
compiles just fine, however it silently doesn't with jdk7 as jdk...

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to
C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes

(but the target/classes/ folder is just empty)

with jdk8:

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to
C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/document/model/Document.java:
C:\Project\wss\maven\Sysper2\Reporting_maven\src\main\java\eu\cec\admin\sysper2\document\model\Document.java
uses or overrides a deprecated API.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/document/model/Document.java:
Recompile with -Xlint:deprecation for details.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
Some input files use unchecked or unsafe operations.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
Recompile with -Xlint:unchecked for details.

and a well filled target/classes/ folder...

Is this normal or should I file a bug?

Br,

S.



-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



apache-maven-3.3.9 silently doesn't compile with jdk7 (it does with jdk8)

2017-08-08 Thread bamboomy
Hey All,

this is my first message on the list :)

I was wondering...

When I compile with jdk8 (or eclipse that runs under jdk8) my (java 7) code
compiles just fine, however it silently doesn't with jdk7 as jdk...

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to
C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes

(but the target/classes/ folder is just empty)

with jdk8:

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 37 source files to
C:\Project\wss\maven\Sysper2\Reporting_maven\target\classes
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/document/model/Document.java:
C:\Project\wss\maven\Sysper2\Reporting_maven\src\main\java\eu\cec\admin\sysper2\document\model\Document.java
uses or overrides a deprecated API.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/document/model/Document.java:
Recompile with -Xlint:deprecation for details.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
Some input files use unchecked or unsafe operations.
[INFO]
/C:/Project/wss/maven/Sysper2/Reporting_maven/src/main/java/eu/cec/admin/sysper2/report/web/BirtConfiguration.java:
Recompile with -Xlint:unchecked for details.

and a well filled target/classes/ folder...

Is this normal or should I file a bug?

Br,

S.



--
View this message in context: 
http://maven.40175.n5.nabble.com/apache-maven-3-3-9-silently-doesn-t-compile-with-jdk7-it-does-with-jdk8-tp5912087.html
Sent from the Maven - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org