You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2007/08/05 22:53:03 UTC

[Commons Wiki] Update of "CreatingSiteWithMaven2" by DennisLundberg

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Commons Wiki" for change notification.

The following page has been changed by DennisLundberg:
http://wiki.apache.org/commons/CreatingSiteWithMaven2

The comment on the change is:
Add info about the maven-one-plugin that can be used to convert a project.xml

------------------------------------------------------------------------------
  == Converting from Maven 1 ==
  
   * If you run into trouble, have a look at the sandbox components exec and openpgp. They are using Maven 2 for site generation.
-  * Convert <component>/project.xml to <component>/pom.xml. A tool that helps doing this is being worked on by the Maven community. For now you have to do it manually.
+  * Convert <component>/project.xml to <component>/pom.xml. There is a Maven 2 plugin that helps you do this. Just run this command in the root directory of your component: '''mvn one:convert'''
   * Convert <component>/xdocs/navigation.xml to <component>/src/site/site.xml. They are very similar so there should be no problems.
   * Move the folder <component>/xdocs/ to <component>/src/site/xdoc/ ('''Note:''' the new folder is called ''xdoc'' not ''xdocs''). Exclude the file navigation.xml since it is replaced by the file site.xml.
  

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