Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add info about the maven-one-plugin that can be used to convert a project.xml

...

  • 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.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.