maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SebbASF (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSITE-566) site:attach-descriptor removes all comments and filters the content
Date Tue, 15 Mar 2011 20:47:22 GMT

    [ http://jira.codehaus.org/browse/MSITE-566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260260#action_260260
] 

SebbASF commented on MSITE-566:
-------------------------------

Actually it did download, but I get an error:

{noformat}
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO] Cannot find mojo descriptor for: 'site:attach-descriptor' - Treating as non-aggregator.
[INFO] ------------------------------------------------------------------------
[INFO] Building Commons Parent
[INFO]    task-segment: [site:attach-descriptor]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check that the goal name
is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins -DartifactId=maven-site-plugin
-Dversion=2.3-SNAPSHOT -Dpackaging=maven-plugin -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.plugins -DartifactId=maven-site-plugin
-Dversion=2.3-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[u
rl] -DrepositoryId=[id]


  org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


  org.apache.maven.plugins:maven-site-plugin:maven-plugin:2.3-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)


{noformat}

There's only a POM - no jar - in my local repo, though I see one in Nexus.

> site:attach-descriptor removes all comments and filters the content
> -------------------------------------------------------------------
>
>                 Key: MSITE-566
>                 URL: http://jira.codehaus.org/browse/MSITE-566
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site descriptor
>    Affects Versions: 2.2
>            Reporter: SebbASF
>
> The site:attach-descriptor goal processes the site.xml file, and removes all comments,
including the licence header.
> Furthermore, it filters the source, replacing pom.* and project.* properties (any others?)
> This needs to be clearly documented under the goal and in the page "Configuring the Site
Descriptor".
> Also, comments really ought to be retained.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message