You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Francesco Chicchiriccò <il...@apache.org> on 2012/05/29 09:26:12 UTC

Parent POM & subprojects

Hi all,
we have recently moved some subprojects to new location [1]: as part of 
this process, I've also made a new version (9-SNAPSHOT) of cocoon-parent 
[2] in order to update some items, including reference to latest Apache 
parent POM.

Original 2.2 modules from trunk are linked to cocoon-parent 6-SNAPSHOT.

Now I would like to start applying patches provided over time for 
subprojects and eventually also make a release of these, but I need 
first to release cocoon-parent 9.

If you take a look at [2], you'll see that there is an assembly.xml; the 
original version [3] (i.e. the one from cocoon-parent 8) isn't valid any 
more for assembly plugin: once fixed this, assembly execution is still 
failing

[INFO] --- maven-assembly-plugin:2.3:assembly (default-cli) @ cocoon ---
[WARNING] The following patterns were never triggered in this artifact 
exclusion filter:
o  'org.apache.cocoon:cocoon-webapp'
o  'org.apache.cocoon:cocoon-deployer-minimal-webapp'
o  'org.apache.cocoon:cocoon-dists-modules'

[WARNING] The following patterns were never triggered in this artifact 
inclusion filter:
o  'org.apache.cocoon:cocoon-webapp'

[WARNING] The following patterns were never triggered in this artifact 
exclusion filter:
o  'org.apache.cocoon:cocoon-webapp'
o  'org.apache.cocoon:cocoon-deployer-minimal-webapp'
o  'org.apache.cocoon:cocoon-dists-modules'

[WARNING] NOTE: Currently, inclusion of module dependencies may produce 
unpredictable results if a version conflict occurs.
[WARNING] The following patterns were never triggered in this artifact 
inclusion filter:
o  'org.apache.cocoon:cocoon-webapp'

[WARNING] NOTE: Currently, inclusion of module dependencies may produce 
unpredictable results if a version conflict occurs.
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE

For the moment I've just disabled the assembly plugin, but I'd like to 
know if anyone remembers the original purpose of such assembly.xml or 
whether we can just get rid of it.

Thanks.
Regards.

[1] https://svn.apache.org/repos/asf/cocoon/subprojects/
[2] https://svn.apache.org/repos/asf/cocoon/trunk/parent
[3] 
https://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon/cocoon-8/assembly.xml 


-- 
Francesco Chicchiriccò

ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/


Re: Parent POM & subprojects

Posted by Francesco Chicchiriccò <il...@apache.org>.
On 29/05/2012 09:26, Francesco Chicchiriccò wrote:
> Hi all,
> we have recently moved some subprojects to new location [1]: as part 
> of this process, I've also made a new version (9-SNAPSHOT) of 
> cocoon-parent [2] in order to update some items, including reference 
> to latest Apache parent POM.
>
> Original 2.2 modules from trunk are linked to cocoon-parent 6-SNAPSHOT.
>
> Now I would like to start applying patches provided over time for 
> subprojects and eventually also make a release of these, but I need 
> first to release cocoon-parent 9.
>
> If you take a look at [2], you'll see that there is an assembly.xml; 
> the original version [3] (i.e. the one from cocoon-parent 8) isn't 
> valid any more for assembly plugin: once fixed this, assembly 
> execution is still failing
>
> [INFO] --- maven-assembly-plugin:2.3:assembly (default-cli) @ cocoon ---
> [WARNING] The following patterns were never triggered in this artifact 
> exclusion filter:
> o  'org.apache.cocoon:cocoon-webapp'
> o  'org.apache.cocoon:cocoon-deployer-minimal-webapp'
> o  'org.apache.cocoon:cocoon-dists-modules'
>
> [WARNING] The following patterns were never triggered in this artifact 
> inclusion filter:
> o  'org.apache.cocoon:cocoon-webapp'
>
> [WARNING] The following patterns were never triggered in this artifact 
> exclusion filter:
> o  'org.apache.cocoon:cocoon-webapp'
> o  'org.apache.cocoon:cocoon-deployer-minimal-webapp'
> o  'org.apache.cocoon:cocoon-dists-modules'
>
> [WARNING] NOTE: Currently, inclusion of module dependencies may 
> produce unpredictable results if a version conflict occurs.
> [WARNING] The following patterns were never triggered in this artifact 
> inclusion filter:
> o  'org.apache.cocoon:cocoon-webapp'
>
> [WARNING] NOTE: Currently, inclusion of module dependencies may 
> produce unpredictable results if a version conflict occurs.
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
>
> For the moment I've just disabled the assembly plugin, but I'd like to 
> know if anyone remembers the original purpose of such assembly.xml or 
> whether we can just get rid of it.

Ok, I'll assume that assembly.xml is just a refuse from the past, not 
needed anymore nowadays, and I'll remove it.

Regards.

> [1] https://svn.apache.org/repos/asf/cocoon/subprojects/
> [2] https://svn.apache.org/repos/asf/cocoon/trunk/parent
> [3] 
> https://svn.apache.org/repos/asf/cocoon/tags/cocoon-2.2/cocoon/cocoon-8/assembly.xml
-- 
Francesco Chicchiriccò

ASF Member, Apache Cocoon PMC and Apache Syncope PPMC Member
http://people.apache.org/~ilgrosso/