You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by RobJac <ro...@caritor.com> on 2006/05/03 12:30:21 UTC

Issue with multi project site

I am using Maven 2.0.4. I was trying to create a multi project web site from
my parent project. I wanted a web site to be created by my parent project
when i run a mvn site. This web site should contain links to all the modules
under parent project pom xml. I was going thru a link in this forum 
http://www.nabble.com/Support-for-Multi-project-Web-Sites-t1484154.html#a4172319,
which was guiding me untill i got stuck at  the below error while trying to
run mvn site for my parent project. 

[INFO] The skin does not exist: Unable to determine the release version

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.skins
-DartifactId=maven
-default-skin \
        -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file


  org.apache.maven.skins:maven-default-skin:jar:RELEASE

I have not mentioned maven-default-skin in my parent site.xml. I dont know
why its still refering to the this plugin. I downloaded the skin and
executed
mvn -DupdateReleaseInfo=true install:install-file
-DgroupId=org.apache.maven.skins -DartifactId=maven-site-skin
-Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=SkinPlugin.jar as mentioned in
http://www.nabble.com/Support-for-Multi-project-Web-Sites-t1484154.html#a4172319

My site.xml looks like this

<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="Maven">
  <bannerLeft>
    <name>Maven</name>
    <src>http://maven.apache.org/images/apache-maven-project.png</src>
    <href>http://maven.apache.org/</href>
  </bannerLeft>
  <bannerRight>
    <src>http://maven.apache.org/images/maven-small.gif</src>
  </bannerRight>
<skin> 
                <groupId>org.apache.maven.skins</groupId> 
                <artifactId>maven-site-skin</artifactId> 
                <version>1.0-SNAPSHOT</version> 
    </skin>
   
   
  <body>
    <links>
      <item name="Apache" href="http://www.apache.org/" />
      <item name="Maven 1.0" href="http://maven.apache.org/"/>
      <item name="Maven 2" href="http://maven.apache.org/maven2/"/>
    </links>

    <menu name="Maven 2.0">
      <item name="APT Format" href="format.html"/>
      <item name="FAQ" href="faq.html"/>
      <item name="Xdoc Example" href="xdoc.html"/>      
    </menu>
    <menu ref="modules" /> 
    </body>
</project>

Am i doing something wrong here?
--
View this message in context: http://www.nabble.com/Issue-with-multi-project-site-t1549021.html#a4207750
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org