Re: maven-dependency-plugin unpacking aar format?

2014-09-04 Thread Jörg Hohwiller

Hi there,

just my few cents...
An artifact type is something quite central. IMHO it is not the best way 
to force all artifacts to keep the information how to unpack it in their 
POMs and then magically fiddle it out from there.


If I type mvn foo and there is a maven-foo-plugin or foo-maven-plugin 
in the right groupId, then maven will automatically figure it out. So I 
would expect something similar here.

packagingaar/packaging
could trigger that some aar-maven-plugin is responsible for packaging. 
There could be a convenience goal for unpacking.


If you want to have some proprietary packaging in some other namespace 
(and not available in central) there could be some hint configured in 
settings.xml.


Cheers
  Jörg

Am 22.07.2014 19:41, schrieb Robert Scholte:

Hi,

to be able to unpack/unarchive Maven must know which Unarchiver should 
be used for this type. 'aar' is not one of the few default supported 
types, hence the exception.
The plugin responsible for packaging the aar-file should also have 
configured how to unarchive the aar-file.
In case of dependency:unpack it is quite simple: I would expect that 
the packaging plugin is configured in the pom.xml with a 
extensiontrue/extension. This way Maven can find such information.


However, I can imagine that in case of unpack-dependencies the 
aar-project.pom isn't used to detect the corresponding Unarchiver. 
Sounds like an improvement to me.


thanks,
Robert

ps. this is also an interesting usecase for the consumer-pom or the 
flatten-maven-plugin




Op Mon, 21 Jul 2014 22:40:18 +0200 schreef David Hoffer 
dhoff...@gmail.com:



I'm getting the following error trying to unpack some files from an aar.
 Is this not supported?  Is there any way to do this?

Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.8:unpack-dependencies
(unpack-service) on project service: Unknown archiver type: No such
archiver: 'aar'. - [Help 1]

-Dave


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





smime.p7s
Description: S/MIME Cryptographic Signature


packaging site/doxia content into another multi-module?

2014-09-04 Thread Kevin Burton
I have a multi-module maven build.

In module A I have a site that I generate from doxia which is my products
documentation.

I have another mobile B, that hosts my console / web app and I want the
docs to be packaged here and served from a static Jetty container.

What are my options here?

-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


Re: packaging site/doxia content into another multi-module?

2014-09-04 Thread Dan Tran
you may be able to execute a site:jar execution deploy and consume by your
web module


On Thu, Sep 4, 2014 at 5:04 PM, Kevin Burton bur...@spinn3r.com wrote:

 I have a multi-module maven build.

 In module A I have a site that I generate from doxia which is my products
 documentation.

 I have another mobile B, that hosts my console / web app and I want the
 docs to be packaged here and served from a static Jetty container.

 What are my options here?

 --

 Founder/CEO Spinn3r.com
 Location: *San Francisco, CA*
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 https://plus.google.com/102718274791889610666/posts
 http://spinn3r.com



[ANN] Apache Archiva 2.1.1 Released

2014-09-04 Thread Olivier Lamy
The Apache Archiva team is pleased to announce the release of Archiva
2.1.1. Archiva is available for download from the web site.

Archiva is an application for managing one or more remote
repositories, including administration, artifact handling, browsing
and searching.

If you have any questions, please consult:

the web site: http://archiva.apache.org/
the archiva-user mailing list: http://archiva.apache.org/mail-lists.html

Apache Archiva 2.1.1 is a bugs fix release:

NOTE: jdk 1.7 is now prerequisite with Apache Archiva 2.1.1

Compatibility Changes

If upgrading from earlier versions of Archiva, the list of libraries
in wrapper.conf has changed. If you have customized your copy of
wrapper.conf, please update it for compatibility with the version
distributed with the current release.
As the database storage has been removed, you can remove the JNDI
entry for jdbc/archiva. After upgrading from a previous version, you
will have to run a full scan to populate the new JCR Repository. This
will be done on first start of Archiva.

Refer to the Upgrading Archiva guide for more information.

Release Notes

Bug

[MRM-1832] - RepositoryScannerTest#testDefaultRepositoryScanner fails
on Linux with src release zip
[MRM-1853] - On first start up, you get a perpetual loading indicator.
[MRM-1854] - Last modified date is epoch on directory listing for a group
[MRM-1855] - Loading button never disappears when no one is logged
in in some browsers
[MRM-1856] - archiva-cli does not work


Have fun!
-- 
The Apache Archiva Team

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



Re: packaging site/doxia content into another multi-module?

2014-09-04 Thread Kevin Burton
I was thinking about that but it would be nice if I could use a real
dependency...


On Thu, Sep 4, 2014 at 5:30 PM, Dan Tran dant...@gmail.com wrote:

 you may be able to execute a site:jar execution deploy and consume by your
 web module


 On Thu, Sep 4, 2014 at 5:04 PM, Kevin Burton bur...@spinn3r.com wrote:

  I have a multi-module maven build.
 
  In module A I have a site that I generate from doxia which is my products
  documentation.
 
  I have another mobile B, that hosts my console / web app and I want the
  docs to be packaged here and served from a static Jetty container.
 
  What are my options here?
 
  --
 
  Founder/CEO Spinn3r.com
  Location: *San Francisco, CA*
  blog: http://burtonator.wordpress.com
  … or check out my Google+ profile
  https://plus.google.com/102718274791889610666/posts
  http://spinn3r.com
 




-- 

Founder/CEO Spinn3r.com
Location: *San Francisco, CA*
blog: http://burtonator.wordpress.com
… or check out my Google+ profile
https://plus.google.com/102718274791889610666/posts
http://spinn3r.com


Re: packaging site/doxia content into another multi-module?

2014-09-04 Thread Dan Tran
Why not?

On Thursday, September 4, 2014, Kevin Burton bur...@spinn3r.com wrote:

 I was thinking about that but it would be nice if I could use a real
 dependency...


 On Thu, Sep 4, 2014 at 5:30 PM, Dan Tran dant...@gmail.com javascript:;
 wrote:

  you may be able to execute a site:jar execution deploy and consume by
 your
  web module
 
 
  On Thu, Sep 4, 2014 at 5:04 PM, Kevin Burton bur...@spinn3r.com
 javascript:; wrote:
 
   I have a multi-module maven build.
  
   In module A I have a site that I generate from doxia which is my
 products
   documentation.
  
   I have another mobile B, that hosts my console / web app and I want the
   docs to be packaged here and served from a static Jetty container.
  
   What are my options here?
  
   --
  
   Founder/CEO Spinn3r.com
   Location: *San Francisco, CA*
   blog: http://burtonator.wordpress.com
   … or check out my Google+ profile
   https://plus.google.com/102718274791889610666/posts
   http://spinn3r.com
  
 



 --

 Founder/CEO Spinn3r.com
 Location: *San Francisco, CA*
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 https://plus.google.com/102718274791889610666/posts
 http://spinn3r.com



Re: packaging site/doxia content into another multi-module?

2014-09-04 Thread Dan Tran
http://maven.apache.org/plugins/maven-site-plugin/jar-mojo.html


On Thu, Sep 4, 2014 at 8:11 PM, Dan Tran dant...@gmail.com wrote:

 Why not?


 On Thursday, September 4, 2014, Kevin Burton bur...@spinn3r.com wrote:

 I was thinking about that but it would be nice if I could use a real
 dependency...


 On Thu, Sep 4, 2014 at 5:30 PM, Dan Tran dant...@gmail.com wrote:

  you may be able to execute a site:jar execution deploy and consume by
 your
  web module
 
 
  On Thu, Sep 4, 2014 at 5:04 PM, Kevin Burton bur...@spinn3r.com
 wrote:
 
   I have a multi-module maven build.
  
   In module A I have a site that I generate from doxia which is my
 products
   documentation.
  
   I have another mobile B, that hosts my console / web app and I want
 the
   docs to be packaged here and served from a static Jetty container.
  
   What are my options here?
  
   --
  
   Founder/CEO Spinn3r.com
   Location: *San Francisco, CA*
   blog: http://burtonator.wordpress.com
   … or check out my Google+ profile
   https://plus.google.com/102718274791889610666/posts
   http://spinn3r.com
  
 



 --

 Founder/CEO Spinn3r.com
 Location: *San Francisco, CA*
 blog: http://burtonator.wordpress.com
 … or check out my Google+ profile
 https://plus.google.com/102718274791889610666/posts
 http://spinn3r.com