Judging by the error message, you have not specified a version for the skin you are using. If you specify the version I think you will get around this problem. Here's how, just put this in your site.xml

<project>
  ...
  <skin>
    <groupId>org.apache.maven.skins</groupId>
    <artifactId>maven-classic-skin</artifactId>
    <version>1.0</version>
  </skin>
  ...
</project>

You can read more on this page:

http://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html

Graham Leggett wrote:
Hi all,

Out of the blue this morning, our maven docs build is suddenly failing
like below.

Doing a search in our project for maven-default-skin comes up with
nothing, and doing help:effective-pom also shows up no references to
help:effective-pom.

A Google search shows up this problem as having something to do with
SNAPSHOTs, but no clear answer has been found. We have encountered this
error in the past, and a clean rebuild usually makes it go away, but not
this time for no clear reason.

Can someone describe how to make this error go away permanently once and
for all?

[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
Alternatively, if you host your own repository you can deploy the file
there:     mvn deploy:deploy-file -DgroupId=org.apache.maven.skins
-DartifactId=maven-default-skin \
        -Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file \
         -Durl=[url] -DrepositoryId=[id]


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

The site plugin is configured like so:

      <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-site-plugin</artifactId>
       <version>2.0-beta-5</version>
       <configuration>
         <siteDirectory>${basedir}</siteDirectory>
       </configuration>
      </plugin>

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to