I'm trying to convince the m2 site plugin to build a site from an
m1-formatted project. (Using 2.0.4-SNAPSHOT from the vote thread.)
I've created src/site/site.xml (pasted the example from the guide),
and configured as follows:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<xdocDirectory>${basedir}/xdocs</xdocDirectory>
</configuration>
</plugin>
It ran, but it wasn't picking up any xdocs. I built the site plugin
from source to make sure I had the latest of everything. Now mvn site
complains:
$ mvn site
[INFO] Scanning for projects...
[INFO] -------------------------------------------------------------------------
---
[INFO] Building Struts Action Framework
[INFO] task-segment: [site]
[INFO] -------------------------------------------------------------------------
---
[INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus
.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [site:site]
Downloading: http://cvs.apache.org/repository/org.apache.struts.action/xmls/stru
ts-build-1.3.2-SNAPSHOT-site_en.xml
[WARNING] Unable to get resource from repository apache-internal (http://cvs.apa
che.org/repository)
Downloading: http://cvs.apache.org/repository/org.apache.struts.action/xmls/stru
ts-build-1.3.2-SNAPSHOT-site.xml
[WARNING] Unable to get resource from repository apache-internal (http://cvs.apa
che.org/repository)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[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 retrieved and built maven/skins/trunk, but that didn't help.
What am I missing?
Thanks,
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]