Believe it or not, I trolled some forums and found a solution that works for
me.  I have to create a dummy site.xml in the src/main/site directory that
defines the skin version.  Amazing.

In my case, it is triggered by moving the site plugin to an internal
repository.  When I use the external repository (central), it somehow
resolves this on its own.  Move it inside the company to our private repo,
and bam, I have to create these annoying site.xml files to "force" the
version of the skin.

Let me know if you are able to refine my findings further.  Hopefully, a
quick site.xml creation will solve the issue for you as a workaround.

-Matthew McCullough
Ambient Ideas, 
www.ambientideas.com


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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/The-skin-does-not-exist%3A-Unable-to-determine-the-release-version-tf4574534s177.html#a13065938
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to