commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jakarta-commons Wiki] Update of "CreatingSiteWithMaven2" by DennisLundberg
Date Sun, 01 Jan 2006 18:30:55 GMT
Dear Wiki user,

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

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

The comment on the change is:
Added basic instructions for converting a site from Maven 1 to Maven 2

------------------------------------------------------------------------------
  
   * The sites look very similar to the current ones regarding look-and-feel, but there are
some small differences
   * Links to individual components are absolute, both in the menu and in the table, meaning
that you can't click on the generated sandbox front page. If you do you end up on the live
site. See [http://jira.codehaus.org/browse/MSITE-62 MSITE-62]
-  * The left hand side meny ends where the menuitems ends. Previously it went on all the
way down to where the text in the main area ended.
+  * The left hand side meny ends where the menuitems ends. Previously it went on all the
way down to where the text in the main area ended. This new behaviour looks better.
-  * The copyright notice at the bottom if now right-aligned (before it was left-aligned)
and a bit smaller than before
+  * The copyright notice at the bottom is now right-aligned (before it was left-aligned)
and a bit smaller than before
   * There is no text "Doc for <version>" to the right of the publishing date
  
+ == 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.
+  * Add the component as a <module> to the <modules> section in <sandbox>/pom.xml
+  * 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>/xdocs/navigation.xml to <component>/site/site.xml. They
are very similar so there should be no problems.
+  * Move the folder <component>/xdocs/ to <component>/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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message