[ 
https://issues.apache.org/jira/browse/MNG-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16239559#comment-16239559
 ] 

Robert Scholte commented on MNG-6298:
-------------------------------------

bisect result

{noformat}
a7dddcb87626fec256f1b8ccbe957f94cdf401e4 is the first bad commit
commit a7dddcb87626fec256f1b8ccbe957f94cdf401e4
Author: Dan Tran <dant...@apache.org>
Date:   Sun Sep 11 21:07:39 2016 -0700

[MNG-6084] Support JSR 250 annotations

:040000 040000 edca56f4652fa10dc0881cf9f8220ca08db6b9a0 
6dbca280754abd9cc5a3240fc7d8770ce5037fd3 M      maven-core
:040000 040000 581a1beedef2ce71beaa87729e370c7404c0d2fa 
258f3592fd311031c5371ca029cde30fe31c35e8 M      maven-embedder
:100644 100644 5e12e36201f2afe4a84f52018adb113fa6543ecd 
d6f165cd3ff3475c7f8fd5fa42fdeb4fff7f00f4 M      pom.xml
{noformat}

> 3.5.2: ClassNotFoundException: javax.annotation.security.RolesAllowed
> ---------------------------------------------------------------------
>
>                 Key: MNG-6298
>                 URL: https://issues.apache.org/jira/browse/MNG-6298
>             Project: Maven
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 3.5.2
>         Environment: Mac OS X 10.12.6, Ubuntu 15.10 64 bit, and Windows is 
> presumed.
>            Reporter: Ryan Heaton
>            Priority: Critical
>             Fix For: 3.5.3-candidate
>
>
> Maven 3.5.2 appears to have introduces some kind of a class loading error, 
> manifesting itself like this:
> {noformat}
> Caused by: java.lang.ClassNotFoundException: 
> javax.annotation.security.RolesAllowed
>       at 
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>       at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
>       at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
>       at 
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
>       ... 184 more
> {noformat}
> Previous versions of Maven do not manifest this.
> To reproduce this:
> * Clone [the Enunciate sample 
> project|https://github.com/stoicflame/enunciate-sample].
> * Build the project (mvn clean package) with 3.5.0 and note the success.
> * Build the project with 3.5.2 and note the failure.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to