I have small maven project. I'm trying to add generating site by
maven-site-plugin, but it doesn't work. When I'm building this project i
get following error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-site-plugin:3.3:site (default-site) on
project [MY-PROJECT]: SiteToolException: The site descriptor cannot be
resolved from the repository: ArtifactResolutionException: Unable to
locate site descriptor: Could not transfer artifact
[PARENT-PROJECT]:xml:site_en:1.0 from/to eclipse
(http://maven.eclipse.org/nexus/content/repositories/testing/):
Connection tohttp://maven.eclipse.org <http://maven.eclipse.org/>refused
My project is extension for other project, so in my pom.xml is set
parent project which isn't mine and I can't add site configuration there.
So is there any chance to skip checking parent project's site in site
generation?
My pom.xml looks like this:
| <project>
<parent>
<artifactId>|||[PARENT-PROJECT]|</artifactId>
<groupId>||[PARENT-PROJECT-GROUP]</groupId>
<version>1.0</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.3</version>
<configuration>
<reportPlugins>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
</project>
|
And of course i have site.xml file in src/site directory in my project.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]