You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Gaydenko <a...@gaydenko.com> on 2009/12/08 21:02:34 UTC

assembly is deprecated. What to use?

All assembly plugin's goals are marked as deprecated. 
What is alterative?

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


Re: assembly is deprecated. What to use?

Posted by Andrew Gaydenko <a...@gaydenko.com>.
On Tuesday 08 December 2009 23:02:34 Andrew Gaydenko wrote:
> All assembly plugin's goals are marked as deprecated.
> What is alterative?

Sorry. Must be read as "alternative"

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


Re: assembly is deprecated. What to use?

Posted by Andrew Gaydenko <a...@gaydenko.com>.
On Tuesday 08 December 2009 23:42:00 Justin Edelson wrote:
> That looks like a bug in the help plugin.

On Tuesday 08 December 2009 23:45:31 Stevo Slavić wrote:
> This help:describe issue is fixed for quite some time (see
> here<http://jira.codehaus.org/browse/MPH-59>)
> but version it is fixed for is not released yet. Plugins sites are updated
> with their release. In source veritas :)
> 
> Regards,
> Stevo.

On Tuesday 08 December 2009 23:45:52 Brett Randall wrote:
> Yes, this one: http://jira.codehaus.org/browse/MPH-59 "Describe goal says
> everything is deprecated".  Says fixed in 2.1.1.

I see, thanks to all!


Andrew

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


Re: assembly is deprecated. What to use?

Posted by Stevo Slavić <ss...@gmail.com>.
This help:describe issue is fixed for quite some time (see
here<http://jira.codehaus.org/browse/MPH-59>)
but version it is fixed for is not released yet. Plugins sites are updated
with their release. In source veritas :)

Regards,
Stevo.

On Tue, Dec 8, 2009 at 9:42 PM, Justin Edelson <ju...@gmail.com>wrote:

> That looks like a bug in the help plugin.
>
> On Tue, Dec 8, 2009 at 3:27 PM, Andrew Gaydenko <a...@gaydenko.com> wrote:
>
> > On Tuesday 08 December 2009 23:09:27 Justin Edelson wrote:
> > > Not all, just some:
> > > http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
> > >
> > > That page tells you which goals to use to replace the deprecated goals.
> > >
> > > Justin
> >
> > Justin,
> >
> > So the (trimmed) output shown below is a lie :-) I'm definitely
> frustrated
> > -
> > have thought "mvn help:describe" outputs most precision information...
> > Where
> > does the most "official" plugins information takes place?
> >
> >
> > Andrew
> >
> >
> > //---------------------
> > $ mvn help:describe
> -Dplugin=org.apache.maven.plugins:maven-assembly-plugin
> > ...
> > [INFO] org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4
> > ...
> > assembly:assembly
> >  Deprecated. No reason given
> >
> > assembly:attached
> >  Deprecated. Use goal: 'assembly' (from the command line) or 'single'
> (from
> > a
> >  lifecycle binding) instead.
> >
> > assembly:directory
> >  Deprecated. No reason given
> >
> > assembly:directory-inline
> >  Deprecated. Use goal: 'directory' (from the command line) or
> >  'directory-single' (from a lifecycle binding) instead.
> >
> > assembly:directory-single
> >  Deprecated. No reason given
> >
> > assembly:help
> >  Deprecated. No reason given
> >
> > assembly:single
> >  Deprecated. No reason given
> >
> > assembly:unpack
> >  Deprecated. Use org.apache.maven.plugins:maven-dependency-plugin goal:
> > unpack
> >  or unpack-dependencies instead.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: assembly is deprecated. What to use?

Posted by "Mark H. Wood" <mw...@IUPUI.Edu>.
Thanks for pointing out my version confusion.

On Wed, Dec 09, 2009 at 04:12:29PM +0100, Jörg Schaible wrote:
> Mark H. Wood wrote at Mittwoch, 9. Dezember 2009 15:09:
> > mwood@mhw ~ $ mvn --version
> > CompilerOracle: exclude
> > org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
> > Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> > Java version: 1.6.0_17
> > Java home: /opt/sun-jdk-1.6.0.17/jre
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "linux" version: "2.6.30-gentoo-r5" arch: "i386" Family:
> > "unix"
> 
> There seems something else fundamentally broken with your setup, looking at 
> this strange CompilerOracle message.

Oh, that is the result of this:

  mwood@mhw ~ $ cat .hotspot_compiler 
  exclude org/eclipse/core/internal/dtree/DataTreeNode forwardDeltaWith
  mwood@mhw ~ $ 

which is required to work around a bug in the Sun compiler that is
vigorously exercised by Eclipse, leading to Eclipse crashing on
startup.  It suppresses JIT compilation of that method IIRC, and
I don't see that it would affect Maven at all.

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
Friends don't let friends publish revisable-form documents.

Re: assembly is deprecated. What to use?

Posted by Jörg Schaible <jo...@gmx.de>.
Hi Mark,

Mark H. Wood wrote at Mittwoch, 9. Dezember 2009 15:09:

> On Wed, Dec 09, 2009 at 07:45:52AM +1100, Brett Randall wrote:
>> Yes, this one: http://jira.codehaus.org/browse/MPH-59 "Describe goal says
>> everything is deprecated".  Says fixed in 2.1.1.
> 
> Seems to be broken differently in 2.2:

Don't mix the version of the assembly plugin with the one of the help 
plugin. Latest release of the help plugin is 2.1, 2.1.1 is not released yet.

> mwood@mhw ~ $ mvn help:describe -Ddetail=true -Dplugin=assembly
> CompilerOracle: exclude
> org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith

[snip]

> mwood@mhw ~ $ mvn --version
> CompilerOracle: exclude
> org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
> Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
> Java version: 1.6.0_17
> Java home: /opt/sun-jdk-1.6.0.17/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.30-gentoo-r5" arch: "i386" Family:
> "unix"

There seems something else fundamentally broken with your setup, looking at 
this strange CompilerOracle message. And my environment is quite similar:

====== %< ========
$ mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_17
Java home: /opt/sun-jdk-1.6.0.17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.31-gentoo-r6" arch: "i386" Family: "unix"
====== %< ========

- Jörg


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


Re: assembly is deprecated. What to use?

Posted by "Mark H. Wood" <mw...@IUPUI.Edu>.
On Wed, Dec 09, 2009 at 07:45:52AM +1100, Brett Randall wrote:
> Yes, this one: http://jira.codehaus.org/browse/MPH-59 "Describe goal says
> everything is deprecated".  Says fixed in 2.1.1.

Seems to be broken differently in 2.2:

mwood@mhw ~ $ mvn help:describe -Ddetail=true -Dplugin=assembly
CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'help'.
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Default Project
[INFO]    task-segment: [help:describe] (aggregator-style)
[INFO]
------------------------------------------------------------------------
[INFO] [help:describe {execution: default-cli}]
[INFO] Plugin: 'org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4'
-----------------------------------------------
Group Id:  org.apache.maven.plugins
Artifact Id: maven-assembly-plugin
Version:     2.2-beta-4
Goal Prefix: assembly
Description:

A Maven 2 plugin to create archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.

[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Wed Dec 09 09:04:13 EST 2009
[INFO] Final Memory: 4M/8M
[INFO]
------------------------------------------------------------------------
mwood@mhw ~ $ mvn --version
CompilerOracle: exclude
org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_17
Java home: /opt/sun-jdk-1.6.0.17/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.30-gentoo-r5" arch: "i386" Family:
"unix"
mwood@mhw ~ $ 

-- 
Mark H. Wood, Lead System Programmer   mwood@IUPUI.Edu
Friends don't let friends publish revisable-form documents.

Re: assembly is deprecated. What to use?

Posted by Brett Randall <ja...@gmail.com>.
Yes, this one: http://jira.codehaus.org/browse/MPH-59 "Describe goal says
everything is deprecated".  Says fixed in 2.1.1.

On Wed, Dec 9, 2009 at 7:42 AM, Justin Edelson <ju...@gmail.com>wrote:

> That looks like a bug in the help plugin.
>
> On Tue, Dec 8, 2009 at 3:27 PM, Andrew Gaydenko <a...@gaydenko.com> wrote:
>
> > On Tuesday 08 December 2009 23:09:27 Justin Edelson wrote:
> > > Not all, just some:
> > > http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
> > >
> > > That page tells you which goals to use to replace the deprecated goals.
> > >
> > > Justin
> >
> > Justin,
> >
> > So the (trimmed) output shown below is a lie :-) I'm definitely
> frustrated
> > -
> > have thought "mvn help:describe" outputs most precision information...
> > Where
> > does the most "official" plugins information takes place?
> >
> >
> > Andrew
> >
> >
> > //---------------------
> > $ mvn help:describe
> -Dplugin=org.apache.maven.plugins:maven-assembly-plugin
> > ...
> > [INFO] org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4
> > ...
> > assembly:assembly
> >  Deprecated. No reason given
> >
> > assembly:attached
> >  Deprecated. Use goal: 'assembly' (from the command line) or 'single'
> (from
> > a
> >  lifecycle binding) instead.
> >
> > assembly:directory
> >  Deprecated. No reason given
> >
> > assembly:directory-inline
> >  Deprecated. Use goal: 'directory' (from the command line) or
> >  'directory-single' (from a lifecycle binding) instead.
> >
> > assembly:directory-single
> >  Deprecated. No reason given
> >
> > assembly:help
> >  Deprecated. No reason given
> >
> > assembly:single
> >  Deprecated. No reason given
> >
> > assembly:unpack
> >  Deprecated. Use org.apache.maven.plugins:maven-dependency-plugin goal:
> > unpack
> >  or unpack-dependencies instead.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

Re: assembly is deprecated. What to use?

Posted by Justin Edelson <ju...@gmail.com>.
That looks like a bug in the help plugin.

On Tue, Dec 8, 2009 at 3:27 PM, Andrew Gaydenko <a...@gaydenko.com> wrote:

> On Tuesday 08 December 2009 23:09:27 Justin Edelson wrote:
> > Not all, just some:
> > http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
> >
> > That page tells you which goals to use to replace the deprecated goals.
> >
> > Justin
>
> Justin,
>
> So the (trimmed) output shown below is a lie :-) I'm definitely frustrated
> -
> have thought "mvn help:describe" outputs most precision information...
> Where
> does the most "official" plugins information takes place?
>
>
> Andrew
>
>
> //---------------------
> $ mvn help:describe -Dplugin=org.apache.maven.plugins:maven-assembly-plugin
> ...
> [INFO] org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4
> ...
> assembly:assembly
>  Deprecated. No reason given
>
> assembly:attached
>  Deprecated. Use goal: 'assembly' (from the command line) or 'single' (from
> a
>  lifecycle binding) instead.
>
> assembly:directory
>  Deprecated. No reason given
>
> assembly:directory-inline
>  Deprecated. Use goal: 'directory' (from the command line) or
>  'directory-single' (from a lifecycle binding) instead.
>
> assembly:directory-single
>  Deprecated. No reason given
>
> assembly:help
>  Deprecated. No reason given
>
> assembly:single
>  Deprecated. No reason given
>
> assembly:unpack
>  Deprecated. Use org.apache.maven.plugins:maven-dependency-plugin goal:
> unpack
>  or unpack-dependencies instead.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: assembly is deprecated. What to use?

Posted by Andrew Gaydenko <a...@gaydenko.com>.
On Tuesday 08 December 2009 23:09:27 Justin Edelson wrote:
> Not all, just some:
> http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html
> 
> That page tells you which goals to use to replace the deprecated goals.
> 
> Justin

Justin,

So the (trimmed) output shown below is a lie :-) I'm definitely frustrated - 
have thought "mvn help:describe" outputs most precision information... Where 
does the most "official" plugins information takes place?


Andrew


//---------------------
$ mvn help:describe -Dplugin=org.apache.maven.plugins:maven-assembly-plugin
...
[INFO] org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-4                      
...
assembly:assembly
  Deprecated. No reason given                                                  

assembly:attached
  Deprecated. Use goal: 'assembly' (from the command line) or 'single' (from a 
  lifecycle binding) instead.                                                  

assembly:directory
  Deprecated. No reason given                                                  

assembly:directory-inline
  Deprecated. Use goal: 'directory' (from the command line) or                 
  'directory-single' (from a lifecycle binding) instead.                       

assembly:directory-single
  Deprecated. No reason given

assembly:help
  Deprecated. No reason given

assembly:single
  Deprecated. No reason given

assembly:unpack
  Deprecated. Use org.apache.maven.plugins:maven-dependency-plugin goal: 
unpack
  or unpack-dependencies instead.

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


Re: assembly is deprecated. What to use?

Posted by Justin Edelson <ju...@gmail.com>.
Not all, just some:
http://maven.apache.org/plugins/maven-assembly-plugin/plugin-info.html

That page tells you which goals to use to replace the deprecated goals.

Justin

On Tue, Dec 8, 2009 at 3:02 PM, Andrew Gaydenko <a...@gaydenko.com> wrote:

> All assembly plugin's goals are marked as deprecated.
> What is alterative?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>