You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <ja...@takari.io> on 2014/02/11 21:37:31 UTC

[VOTE][CANCELLED] Release Maven 3.2.0

Couple issues cropped up so I'm canceling the vote.

On Feb 10, 2014, at 9:18 PM, Jason van Zyl <ja...@takari.io> wrote:

> Hi,
> 
> Time to release Maven 3.2.0!
> 
> Here is a link to Jira with 33 issues resolved:
> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=15565
> 
> Staging repo:
> https://repository.apache.org/content/repositories/maven-1005/
> 
> The distributable binaries and sources for testing can be found here:
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/
> 
> Specifically the zip, tarball, and source archives can be found here:
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.zip
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.tar.gz
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.zip
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.tar.gz
> 
> Source release checksum(s):
> apache-maven-3.2.0-src.zip sha1: 4bc1ad352c07eef6e6b92c4923d1578d813bc57b
> 
> Staging site:
> http://people.apache.org/~jvanzyl/maven-3.2.0/
> 
> Vote open for 72 hours.
> 
> [ ] +1
> [ ] +0
> [ ] -1
> 
> Thanks,
> 
> The Maven Team
> Thanks,
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

A language that doesn’t affect the way you think about programming is not worth knowing. 
 
 -- Alan Perlis










Re: [VOTE] [CANCELLED] Release Maven 3.2.0

Posted by Mark Derricutt <ma...@talios.com>.
Good to know :)

On 12 Feb 2014, at 15:06, Igor Fedorenko wrote:

> No, Maven will (correctly) close URLClassLoaders on java7 and will
> continue to work as before on older JVMs. Here is the code that
> implements this logic

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE] [CANCELLED] Release Maven 3.2.0

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
No, Maven will (correctly) close URLClassLoaders on java7 and will
continue to work as before on older JVMs. Here is the code that
implements this logic

https://github.com/sonatype/plexus-classworlds/blob/master/src/main/java/org/codehaus/plexus/classworlds/ClassWorld.java#L110

--
Regards,
Igor

On 2/11/2014, 21:02, Mark Derricutt wrote:
> Does this mean Maven will now require Java 7 as the running JVM?
>
> Oddly - I don't see any close() method mentioned on:
>
>    http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html
>
> anywhere?
>
> On 12 Feb 2014, at 12:20, Stuart McCulloch wrote:
>
>> I suspect this is related to the change in Classworlds 2.4.1+ to use the
>> new ClassLoader.close() method available in Java7 to forcibly close plugin
>> ClassLoaders when the plugin/container realm is disposed. This happens
>> after the Maven build is finished, but before JVM shutdown hooks run.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE] [CANCELLED] Release Maven 3.2.0

Posted by Mark Derricutt <ma...@talios.com>.
Does this mean Maven will now require Java 7 as the running JVM?

Oddly - I don't see any close() method mentioned on:

  http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html

anywhere?

On 12 Feb 2014, at 12:20, Stuart McCulloch wrote:

> I suspect this is related to the change in Classworlds 2.4.1+ to use the
> new ClassLoader.close() method available in Java7 to forcibly close plugin
> ClassLoaders when the plugin/container realm is disposed. This happens
> after the Maven build is finished, but before JVM shutdown hooks run.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Stuart McCulloch <mc...@gmail.com>.
On 11 February 2014 23:26, Dan Tran <da...@gmail.com> wrote:

> Thanks Stuart for this confirmation, I am seeing this exact issue happen on
> both 3.1.x and 3.2. My build uses truezip-maven-plugin
>

Yep, TrueZip will leave a JVM shutdown hook registered unless you
explicitly unmount the virtual file system after you're done with it - in
most cases this is just an oversight and unmounting will also help conserve
resources, see example in
https://github.com/klieber/phantomjs-maven-plugin/pull/19/files


> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 19.347s
> [INFO] Finished at: Tue Feb 11 15:24:26 PST 2014
> [INFO] Final Memory: 33M/698M
> [INFO]
> ------------------------------------------------------------------------
> java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsSyncOptions
>         at
>
> de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93)
> Caused by: java.lang.ClassNotFoundException:
> de.schlichtherle.truezip.fs.FsSyncOptions
>         at
>
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.ja
> va:50)
>         at
>
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:
> 259)
>         at
>
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
>         at
>
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
>         ... 1 more
>
>
> On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com>
> wrote:
>
> > On 11 February 2014 22:15, Olivier Lamy <ol...@apache.org> wrote:
> >
> > > Noticed this non blocking issue when using activemq plugin to start an
> > > activemq instance:
> > >
> > > [INFO] BUILD SUCCESS
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > [INFO] Total time: 17.840s
> > >
> > > [INFO] Finished at: Wed Feb 12 09:12:23 EST 2014
> > >
> > > [INFO] Final Memory: 33M/733M
> > >
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > [INFO] Apache ActiveMQ 5.9.0 (localhost,
> > > ID:mb-olamy.local-49682-1392156741632-0:1) is shutting down
> > >
> > > [INFO] Connector tcp://localhost:49681 stopped
> > >
> > > Exception in thread "ActiveMQ ShutdownHook"
> > > java.lang.NoClassDefFoundError:
> > > org/apache/activemq/transport/vm/VMTransportFactory
> > >
> >
> > I suspect this is related to the change in Classworlds 2.4.1+ to use the
> > new ClassLoader.close() method available in Java7 to forcibly close
> plugin
> > ClassLoaders when the plugin/container realm is disposed. This happens
> > after the Maven build is finished, but before JVM shutdown hooks run.
> >
> > Any plugin that registers a JVM shutdown hook which tries to load
> > classes/resources from the original plugin realm will throw a NCDFE -
> > you'll probably see similar issues if a plugin forks threads that are
> still
> > running after the plugin/container realm has been disposed and
> subsequently
> > try to load classes.
> >
> > ( note that the same error will likely occur with Maven 3.1.1 since it
> uses
> > the same version of Classworlds )
> >
> >
> > > at
> org.apache.activemq.broker.BrokerService.stop(BrokerService.java:733)
> > >
> > > at
> > >
> >
> org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:2348)
> > >
> > > at
> > org.apache.activemq.broker.BrokerService$6.run(BrokerService.java:2315)
> > >
> > > Caused by: java.lang.ClassNotFoundException:
> > > org.apache.activemq.transport.vm.VMTransportFactory
> > >
> > > at
> > >
> >
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> > >
> > > at
> > >
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
> > >
> > > at
> > >
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
> > >
> > > at
> > >
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
> > >
> > > ... 3 more
> > >
> > > Not blocker as it work as expected but just a bit annoying
> > >
> > > On 12 February 2014 07:37, Jason van Zyl <ja...@takari.io> wrote:
> > > > Couple issues cropped up so I'm canceling the vote.
> > > >
> > > > On Feb 10, 2014, at 9:18 PM, Jason van Zyl <ja...@takari.io> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> Time to release Maven 3.2.0!
> > > >>
> > > >> Here is a link to Jira with 33 issues resolved:
> > > >>
> > >
> >
> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=15565
> > > >>
> > > >> Staging repo:
> > > >> https://repository.apache.org/content/repositories/maven-1005/
> > > >>
> > > >> The distributable binaries and sources for testing can be found
> here:
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/
> > > >>
> > > >> Specifically the zip, tarball, and source archives can be found
> here:
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.zip
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.tar.gz
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.zip
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.tar.gz
> > > >>
> > > >> Source release checksum(s):
> > > >> apache-maven-3.2.0-src.zip sha1:
> > > 4bc1ad352c07eef6e6b92c4923d1578d813bc57b
> > > >>
> > > >> Staging site:
> > > >> http://people.apache.org/~jvanzyl/maven-3.2.0/
> > > >>
> > > >> Vote open for 72 hours.
> > > >>
> > > >> [ ] +1
> > > >> [ ] +0
> > > >> [ ] -1
> > > >>
> > > >> Thanks,
> > > >>
> > > >> The Maven Team
> > > >> Thanks,
> > > >>
> ---------------------------------------------------------------------
> > > >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > >> For additional commands, e-mail: dev-help@maven.apache.org
> > > >>
> > > >
> > > > Thanks,
> > > >
> > > > Jason
> > > >
> > > > ----------------------------------------------------------
> > > > Jason van Zyl
> > > > Founder,  Apache Maven
> > > > http://twitter.com/jvanzyl
> > > > http://twitter.com/takari_io
> > > > ---------------------------------------------------------
> > > >
> > > > A language that doesn't affect the way you think about programming is
> > > not worth knowing.
> > > >
> > > >  -- Alan Perlis
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Olivier Lamy
> > > Ecetera: http://ecetera.com.au
> > > http://twitter.com/olamy | http://linkedin.com/in/olamy
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> >
> > --
> > Cheers, Stuart
> >
>



-- 
Cheers, Stuart

Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Dan Tran <da...@gmail.com>.
Thanks Stuart for this confirmation, I am seeing this exact issue happen on
both 3.1.x and 3.2. My build uses truezip-maven-plugin

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19.347s
[INFO] Finished at: Tue Feb 11 15:24:26 PST 2014
[INFO] Final Memory: 33M/698M
[INFO]
------------------------------------------------------------------------
java.lang.NoClassDefFoundError: de/schlichtherle/truezip/fs/FsSyncOptions
        at
de.schlichtherle.truezip.fs.FsSyncShutdownHook$Hook.run(FsSyncShutdownHook.java:93)
Caused by: java.lang.ClassNotFoundException:
de.schlichtherle.truezip.fs.FsSyncOptions
        at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.ja
va:50)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:
259)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
        at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
        ... 1 more


On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com> wrote:

> On 11 February 2014 22:15, Olivier Lamy <ol...@apache.org> wrote:
>
> > Noticed this non blocking issue when using activemq plugin to start an
> > activemq instance:
> >
> > [INFO] BUILD SUCCESS
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Total time: 17.840s
> >
> > [INFO] Finished at: Wed Feb 12 09:12:23 EST 2014
> >
> > [INFO] Final Memory: 33M/733M
> >
> > [INFO]
> > ------------------------------------------------------------------------
> >
> > [INFO] Apache ActiveMQ 5.9.0 (localhost,
> > ID:mb-olamy.local-49682-1392156741632-0:1) is shutting down
> >
> > [INFO] Connector tcp://localhost:49681 stopped
> >
> > Exception in thread "ActiveMQ ShutdownHook"
> > java.lang.NoClassDefFoundError:
> > org/apache/activemq/transport/vm/VMTransportFactory
> >
>
> I suspect this is related to the change in Classworlds 2.4.1+ to use the
> new ClassLoader.close() method available in Java7 to forcibly close plugin
> ClassLoaders when the plugin/container realm is disposed. This happens
> after the Maven build is finished, but before JVM shutdown hooks run.
>
> Any plugin that registers a JVM shutdown hook which tries to load
> classes/resources from the original plugin realm will throw a NCDFE -
> you'll probably see similar issues if a plugin forks threads that are still
> running after the plugin/container realm has been disposed and subsequently
> try to load classes.
>
> ( note that the same error will likely occur with Maven 3.1.1 since it uses
> the same version of Classworlds )
>
>
> > at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:733)
> >
> > at
> >
> org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:2348)
> >
> > at
> org.apache.activemq.broker.BrokerService$6.run(BrokerService.java:2315)
> >
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.activemq.transport.vm.VMTransportFactory
> >
> > at
> >
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> >
> > at
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
> >
> > at
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
> >
> > at
> >
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
> >
> > ... 3 more
> >
> > Not blocker as it work as expected but just a bit annoying
> >
> > On 12 February 2014 07:37, Jason van Zyl <ja...@takari.io> wrote:
> > > Couple issues cropped up so I'm canceling the vote.
> > >
> > > On Feb 10, 2014, at 9:18 PM, Jason van Zyl <ja...@takari.io> wrote:
> > >
> > >> Hi,
> > >>
> > >> Time to release Maven 3.2.0!
> > >>
> > >> Here is a link to Jira with 33 issues resolved:
> > >>
> >
> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=15565
> > >>
> > >> Staging repo:
> > >> https://repository.apache.org/content/repositories/maven-1005/
> > >>
> > >> The distributable binaries and sources for testing can be found here:
> > >>
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/
> > >>
> > >> Specifically the zip, tarball, and source archives can be found here:
> > >>
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.zip
> > >>
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.tar.gz
> > >>
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.zip
> > >>
> >
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.tar.gz
> > >>
> > >> Source release checksum(s):
> > >> apache-maven-3.2.0-src.zip sha1:
> > 4bc1ad352c07eef6e6b92c4923d1578d813bc57b
> > >>
> > >> Staging site:
> > >> http://people.apache.org/~jvanzyl/maven-3.2.0/
> > >>
> > >> Vote open for 72 hours.
> > >>
> > >> [ ] +1
> > >> [ ] +0
> > >> [ ] -1
> > >>
> > >> Thanks,
> > >>
> > >> The Maven Team
> > >> Thanks,
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > >> For additional commands, e-mail: dev-help@maven.apache.org
> > >>
> > >
> > > Thanks,
> > >
> > > Jason
> > >
> > > ----------------------------------------------------------
> > > Jason van Zyl
> > > Founder,  Apache Maven
> > > http://twitter.com/jvanzyl
> > > http://twitter.com/takari_io
> > > ---------------------------------------------------------
> > >
> > > A language that doesn't affect the way you think about programming is
> > not worth knowing.
> > >
> > >  -- Alan Perlis
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > Olivier Lamy
> > Ecetera: http://ecetera.com.au
> > http://twitter.com/olamy | http://linkedin.com/in/olamy
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
>
>
> --
> Cheers, Stuart
>

Re: [VOTE] [CANCELLED] Release Maven 3.2.0

Posted by Olivier Lamy <ol...@apache.org>.
On 12 February 2014 13:03, Mark Derricutt <ma...@talios.com> wrote:
> Glad I wasn't the only one confused.
>
> Still, as I mention in my other post on this - does this not now mean that
> Maven MUST run on JDK7?

nope there is a check here
https://github.com/sonatype/plexus-classworlds/blob/master/src/main/java/org/codehaus/plexus/classworlds/realm/ClassRealm.java#L63

To know if the current class support the interface or not (a sort of
isJdk1.7 autodetect)

>
> Mark
>
>
> On 12 Feb 2014, at 12:41, Igor Fedorenko wrote:
>
>> http://download.java.net/jdk8/docs/api/java/net/URLClassLoader.html
>>
>> --
>> Regards,
>> Igor
>>
>> On 2/11/2014, 18:38, Laird Nelson wrote:
>>>
>>> On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com>
>>> wrote:
>>>
>>>> I suspect this is related to the change in Classworlds 2.4.1+ to use the
>>>> new ClassLoader.close() method available in Java7 to forcibly close
>>>> plugin
>>>> ClassLoaders when the plugin/container realm is disposed.
>>>
>>>
>>>
>>> Just as an aside, this sent me scrambling to my Javadocs; I see no such
>>> close() method on ClassLoader in any version of Java?  (See for example
>>> http://download.java.net/jdk8/docs/api/java/lang/ClassLoader.html)
>>>
>>> Typo?
>>>
>>> Best,
>>> Laird
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE] [CANCELLED] Release Maven 3.2.0

Posted by Mark Derricutt <ma...@talios.com>.
Glad I wasn't the only one confused.

Still, as I mention in my other post on this - does this not now mean 
that Maven MUST run on JDK7?

Mark

On 12 Feb 2014, at 12:41, Igor Fedorenko wrote:

> http://download.java.net/jdk8/docs/api/java/net/URLClassLoader.html
>
> --
> Regards,
> Igor
>
> On 2/11/2014, 18:38, Laird Nelson wrote:
>> On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com> 
>> wrote:
>>
>>> I suspect this is related to the change in Classworlds 2.4.1+ to use 
>>> the
>>> new ClassLoader.close() method available in Java7 to forcibly close 
>>> plugin
>>> ClassLoaders when the plugin/container realm is disposed.
>>
>>
>> Just as an aside, this sent me scrambling to my Javadocs; I see no 
>> such
>> close() method on ClassLoader in any version of Java?  (See for 
>> example
>> http://download.java.net/jdk8/docs/api/java/lang/ClassLoader.html)
>>
>> Typo?
>>
>> Best,
>> Laird
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
http://download.java.net/jdk8/docs/api/java/net/URLClassLoader.html

--
Regards,
Igor

On 2/11/2014, 18:38, Laird Nelson wrote:
> On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com> wrote:
>
>> I suspect this is related to the change in Classworlds 2.4.1+ to use the
>> new ClassLoader.close() method available in Java7 to forcibly close plugin
>> ClassLoaders when the plugin/container realm is disposed.
>
>
> Just as an aside, this sent me scrambling to my Javadocs; I see no such
> close() method on ClassLoader in any version of Java?  (See for example
> http://download.java.net/jdk8/docs/api/java/lang/ClassLoader.html)
>
> Typo?
>
> Best,
> Laird
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Laird Nelson <lj...@gmail.com>.
On Tue, Feb 11, 2014 at 3:20 PM, Stuart McCulloch <mc...@gmail.com> wrote:

> I suspect this is related to the change in Classworlds 2.4.1+ to use the
> new ClassLoader.close() method available in Java7 to forcibly close plugin
> ClassLoaders when the plugin/container realm is disposed.


Just as an aside, this sent me scrambling to my Javadocs; I see no such
close() method on ClassLoader in any version of Java?  (See for example
http://download.java.net/jdk8/docs/api/java/lang/ClassLoader.html)

Typo?

Best,
Laird

-- 
http://about.me/lairdnelson

Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Stuart McCulloch <mc...@gmail.com>.
On 11 February 2014 22:15, Olivier Lamy <ol...@apache.org> wrote:

> Noticed this non blocking issue when using activemq plugin to start an
> activemq instance:
>
> [INFO] BUILD SUCCESS
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 17.840s
>
> [INFO] Finished at: Wed Feb 12 09:12:23 EST 2014
>
> [INFO] Final Memory: 33M/733M
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Apache ActiveMQ 5.9.0 (localhost,
> ID:mb-olamy.local-49682-1392156741632-0:1) is shutting down
>
> [INFO] Connector tcp://localhost:49681 stopped
>
> Exception in thread "ActiveMQ ShutdownHook"
> java.lang.NoClassDefFoundError:
> org/apache/activemq/transport/vm/VMTransportFactory
>

I suspect this is related to the change in Classworlds 2.4.1+ to use the
new ClassLoader.close() method available in Java7 to forcibly close plugin
ClassLoaders when the plugin/container realm is disposed. This happens
after the Maven build is finished, but before JVM shutdown hooks run.

Any plugin that registers a JVM shutdown hook which tries to load
classes/resources from the original plugin realm will throw a NCDFE -
you'll probably see similar issues if a plugin forks threads that are still
running after the plugin/container realm has been disposed and subsequently
try to load classes.

( note that the same error will likely occur with Maven 3.1.1 since it uses
the same version of Classworlds )


> at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:733)
>
> at
> org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:2348)
>
> at org.apache.activemq.broker.BrokerService$6.run(BrokerService.java:2315)
>
> Caused by: java.lang.ClassNotFoundException:
> org.apache.activemq.transport.vm.VMTransportFactory
>
> at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
>
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)
>
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)
>
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)
>
> ... 3 more
>
> Not blocker as it work as expected but just a bit annoying
>
> On 12 February 2014 07:37, Jason van Zyl <ja...@takari.io> wrote:
> > Couple issues cropped up so I'm canceling the vote.
> >
> > On Feb 10, 2014, at 9:18 PM, Jason van Zyl <ja...@takari.io> wrote:
> >
> >> Hi,
> >>
> >> Time to release Maven 3.2.0!
> >>
> >> Here is a link to Jira with 33 issues resolved:
> >>
> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=15565
> >>
> >> Staging repo:
> >> https://repository.apache.org/content/repositories/maven-1005/
> >>
> >> The distributable binaries and sources for testing can be found here:
> >>
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/
> >>
> >> Specifically the zip, tarball, and source archives can be found here:
> >>
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.zip
> >>
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.tar.gz
> >>
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.zip
> >>
> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.tar.gz
> >>
> >> Source release checksum(s):
> >> apache-maven-3.2.0-src.zip sha1:
> 4bc1ad352c07eef6e6b92c4923d1578d813bc57b
> >>
> >> Staging site:
> >> http://people.apache.org/~jvanzyl/maven-3.2.0/
> >>
> >> Vote open for 72 hours.
> >>
> >> [ ] +1
> >> [ ] +0
> >> [ ] -1
> >>
> >> Thanks,
> >>
> >> The Maven Team
> >> Thanks,
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >> For additional commands, e-mail: dev-help@maven.apache.org
> >>
> >
> > Thanks,
> >
> > Jason
> >
> > ----------------------------------------------------------
> > Jason van Zyl
> > Founder,  Apache Maven
> > http://twitter.com/jvanzyl
> > http://twitter.com/takari_io
> > ---------------------------------------------------------
> >
> > A language that doesn't affect the way you think about programming is
> not worth knowing.
> >
> >  -- Alan Perlis
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> Olivier Lamy
> Ecetera: http://ecetera.com.au
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


-- 
Cheers, Stuart

Re: [VOTE][CANCELLED] Release Maven 3.2.0

Posted by Olivier Lamy <ol...@apache.org>.
Noticed this non blocking issue when using activemq plugin to start an
activemq instance:

[INFO] BUILD SUCCESS

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 17.840s

[INFO] Finished at: Wed Feb 12 09:12:23 EST 2014

[INFO] Final Memory: 33M/733M

[INFO] ------------------------------------------------------------------------

[INFO] Apache ActiveMQ 5.9.0 (localhost,
ID:mb-olamy.local-49682-1392156741632-0:1) is shutting down

[INFO] Connector tcp://localhost:49681 stopped

Exception in thread "ActiveMQ ShutdownHook"
java.lang.NoClassDefFoundError:
org/apache/activemq/transport/vm/VMTransportFactory

at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:733)

at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:2348)

at org.apache.activemq.broker.BrokerService$6.run(BrokerService.java:2315)

Caused by: java.lang.ClassNotFoundException:
org.apache.activemq.transport.vm.VMTransportFactory

at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)

at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)

at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:235)

at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)

... 3 more

Not blocker as it work as expected but just a bit annoying

On 12 February 2014 07:37, Jason van Zyl <ja...@takari.io> wrote:
> Couple issues cropped up so I'm canceling the vote.
>
> On Feb 10, 2014, at 9:18 PM, Jason van Zyl <ja...@takari.io> wrote:
>
>> Hi,
>>
>> Time to release Maven 3.2.0!
>>
>> Here is a link to Jira with 33 issues resolved:
>> https://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10500&version=15565
>>
>> Staging repo:
>> https://repository.apache.org/content/repositories/maven-1005/
>>
>> The distributable binaries and sources for testing can be found here:
>> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/
>>
>> Specifically the zip, tarball, and source archives can be found here:
>> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.zip
>> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-bin.tar.gz
>> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.zip
>> https://repository.apache.org/content/repositories/maven-1005/org/apache/maven/apache-maven/3.2.0/apache-maven-3.2.0-src.tar.gz
>>
>> Source release checksum(s):
>> apache-maven-3.2.0-src.zip sha1: 4bc1ad352c07eef6e6b92c4923d1578d813bc57b
>>
>> Staging site:
>> http://people.apache.org/~jvanzyl/maven-3.2.0/
>>
>> Vote open for 72 hours.
>>
>> [ ] +1
>> [ ] +0
>> [ ] -1
>>
>> Thanks,
>>
>> The Maven Team
>> Thanks,
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> http://twitter.com/takari_io
> ---------------------------------------------------------
>
> A language that doesn't affect the way you think about programming is not worth knowing.
>
>  -- Alan Perlis
>
>
>
>
>
>
>
>
>



-- 
Olivier Lamy
Ecetera: http://ecetera.com.au
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org