Re: Merging with XWiki and WikiModel

2009-02-04 Thread Dennis Lundberg
Vincent Siveton wrote:
> Hi Jason,
> 
> 2009/1/29 Jason van Zyl :
>> Howdy,
>>
>> I've been looking at reporting in Maven 3.x and I've been following the work
>> that Vincent Massol has been doing over at XWiki where he has made some
>> attempts at melding Doxia, the XWiki rendering engine, and WikiModel. You
>> can see the proposal here:
>>
>> http://dev.xwiki.org/xwiki/bin/view/Design/RenderingEngineConvergence
>>
>> I am looking to remove the Doxia dependency from Maven 3.x so that reporting
>> is removed from core and just becomes another set of components. Having
> 
> I definitely agree to decouple Maven from Doxia, or conversely :)
> We actually have a lot of problems due to this coupling, see MNG-3402.
> 
>> Doxia coupled to Maven is not very nice so in the next couple releases of
>> the Maven 3.x alphas the hard dependency on Doxia will be removed. This will
>> open the door for anyone who wants to add a different mechanism. Doxia
>> reports will still work, I'm not planning on removing the functionality just
>> unbinding it from the core. But that opens the door for something new!
> 
> Some questions to clarify what you have in mind:
> - how do you plan to integrate reporting concretely to Maven 3?
> - what about the backward compatibility in the reporting plugins?
> 
>> What I personally think the best path would be is to help what Vincent has
>> started. There are really only three people here who work on Doxia, the
>> releases are very slow in coming and I think you would immediately double or
> 
> Agree but we work when we have time :)
> @Dennis: what are your availabilities to release the version 1.0?

There are only two things left now:

1. Add a Clirr report to make sure we didn't break anything
2. Advertise a Doxia/Site Plugin combo SNAPSHOT version to the community
to allow testing for a little while

I hope to be able to finish that this week.


> After this release, 1.1 could be out, IMHO all stuffs are there.
> 
>> triple the size of the team merging with the XWiki folks and getting the
>> WikiModel developer as well. This is what the XWiki folks do all the time
>> and I think you would get some more velocity in the progress of the project
>> as a whole. Vincent is using Plexus for his stuff so it's not that wildly
>> different but I think you would get more visibility over there and a higher
> 
> The xwiki proposal seems to move the Doxia code to the xwiki umbrella,
> so do you plan to do it?
> 
> @Vincent, could you clarify why a fork is not possible for you?
> 
> Cheers,
> 
> Vincent
> 
>> degree of collaboration. I think you would also get a model that is more
>> complete for things like blogs, wikis, and books.
>>
>> Any thoughts? I've CC'd Vincent too as I'm not sure he's on this list.
>>
>> Thanks,
>>
>> Jason
>>
>> --
>> Jason van Zyl
>> Founder,  Apache Maven
>> jason at sonatype dot com
>> --
>>
>> People develop abstractions by generalizing from concrete examples.
>> Every attempt to determine the correct abstraction on paper without
>> actually developing a running system is doomed to failure. No one
>> is that smart. A framework is a resuable design, so you develop it by
>> looking at the things it is supposed to be a design of. The more examples
>> you look at, the more general your framework will be.
>>
>>  -- Ralph Johnson & Don Roberts, Patterns for Evolving Frameworks
>>
>>
> 


-- 
Dennis Lundberg


Re: Using Doxia 1.1 with Maven 2.0.x and more (WAS: svn commit: r740732 - in /maven/doxia: doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml)

2009-02-04 Thread Jason van Zyl

What happened to doxia 1.0?

On 4-Feb-09, at 5:39 AM, Vincent Siveton wrote:


Hi guys,

The good news is that using the shade plugin, I was able to run a the
latest Doxia plugin (using Doxia 1.1) with mvn 2.0.9 and 2.1.0.M2 and
site-plugin 2.0-beta-7.
The bad news, I don't know what are the potential side effects.

You could do similar things for the pdf plugin [1]. Let's just add the
shade-plugin (and fix prerequisites), install and pdf:pdf : you will
be able to have a nice pdf.

Comments welcome.

Cheers,

Vincent

PS I didn't want to create another branch for this proof of concept so
I committed directly under the trunk, we could revert it if needed.

[1] 
https://svn.apache.org/repos/asf/maven/sandbox/trunk/plugins/maven-pdf-plugin

-- Forwarded message --
From:  
Date: 2009/2/4
Subject: svn commit: r740732 - in /maven/doxia:
doxia/trunk/doxia-maven-plugin/pom.xml site/pom.xml
To: doxia-comm...@maven.apache.org


Author: vsiveton
Date: Wed Feb  4 13:28:25 2009
New Revision: 740732

URL: http://svn.apache.org/viewvc?rev=740732&view=rev
Log:
MNG-3402: MavenArtifactFilterManager needs to not filtering doxia- 
sink-api


o proof of concept for a workaround using shade-plugin
o mvn site on the Doxia site generates correctly the site using Maven
2.0.9 and 2.1.0.M2

Modified:
  maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
  maven/doxia/site/pom.xml

Modified: maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml?rev=740732&r1=740731&r2=740732&view=diff
= 
= 
= 
= 
= 
= 
= 
= 
==

--- maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml (original)
+++ maven/doxia/doxia/trunk/doxia-maven-plugin/pom.xml Wed Feb  4  
13:28:25 2009

@@ -51,6 +51,49 @@
 ${projectVersion}
   
   
+  ${project.groupId}
+  doxia-core
+  ${projectVersion}
+
+
+  ${project.groupId}
+  doxia-logging-api
+  ${projectVersion}
+
+
+
+
+  org.apache.maven.doxia
+  doxia-module-apt
+  ${projectVersion}
+
+
+  org.apache.maven.doxia
+  doxia-module-docbook-simple
+  ${projectVersion}
+
+
+  org.apache.maven.doxia
+  doxia-module-itext
+  ${projectVersion}
+
+
+  org.apache.maven.doxia
+  doxia-module-latex
+  ${projectVersion}
+
+
+  org.apache.maven.doxia
+  doxia-module-xdoc
+  ${projectVersion}
+
+
+  org.apache.maven.doxia
+  doxia-module-xhtml
+  ${projectVersion}
+
+
+
 org.codehaus.plexus
 plexus-utils
   
@@ -61,6 +104,42 @@
   
 

+  
+
+  
+  
+maven-shade-plugin
+1.2
+
+  
+package
+
+  shade
+
+
+  ${project.build.finalName}
+  
+false
+  
+  
+true
+  
+  
+implementation 
= 
"org 
.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer"

/>
+  
+  
+
+  org.apache.maven.doxia:doxia-sink-apiinclude>
+  org.apache.maven.doxia:doxia-logging- 
api

+
+  
+
+  
+
+  
+
+  
+
 
   
 

Modified: maven/doxia/site/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/doxia/site/pom.xml?rev=740732&r1=740731&r2=740732&view=diff
= 
= 
= 
= 
= 
= 
= 
= 
==

--- maven/doxia/site/pom.xml (original)
+++ maven/doxia/site/pom.xml Wed Feb  4 13:28:25 2009
@@ -147,7 +147,7 @@
 
   org.apache.maven.doxia
   doxia-maven-plugin
-1.0-alpha-10
+1.1-SNAPSHOT
   
 
   pre-site


Thanks,

Jason

--
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
--

the course of true love never did run smooth ...

 -- Shakespeare