[jira] [Updated] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Barboni updated NETBEANS-3738:
---
Fix Version/s: 12.0

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Assignee: Eric Barboni
>Priority: Major
>  Labels: pull-request-available
> Fix For: 12.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated NETBEANS-3738:
-
Labels: pull-request-available  (was: )

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>  Labels: pull-request-available
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



[jira] [Updated] (NETBEANS-3738) Maven builds: don't specify eventspy when JDK < 1.7

2020-03-10 Thread Eric Barboni (Jira)


 [ 
https://issues.apache.org/jira/browse/NETBEANS-3738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Barboni updated NETBEANS-3738:
---
Component/s: apisupport - Maven

> Maven builds: don't specify eventspy when JDK < 1.7
> ---
>
> Key: NETBEANS-3738
> URL: https://issues.apache.org/jira/browse/NETBEANS-3738
> Project: NetBeans
>  Issue Type: Bug
>  Components: apisupport - Maven
>Affects Versions: 11.2
>Reporter: Anthony Vanelverdinghe
>Priority: Major
>
> The eventspy is compiled with JDK 1.7. However, for some legacy project, I 
> need to build with Maven 3.2.5 and JDK 1.6 So this doesn't work (see below). 
> NetBeans shouldn't specify the eventspy on the commandline if the JDK < 1.7
> {noformat}
> Error injecting: org.netbeans.modules.maven.event.NbEventSpy
> java.lang.TypeNotPresentException: Type 
> org.netbeans.modules.maven.event.NbEventSpy not present
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
> 
>   at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> Caused by: java.lang.UnsupportedClassVersionError: 
> org/netbeans/modules/maven/event/NbEventSpy : Unsupported major.minor version 
> 51.0
>   at java.lang.ClassLoader.defineClass1(Native Method)
> 
>   at 
> org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
>   ... 65 more
> Error executing Maven.
> com.google.inject.ProvisionException: Unable to provision, see the following 
> errors:
> 
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists