You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Ted X. Toth (JIRA)" <ji...@codehaus.org> on 2006/04/14 16:32:48 UTC

[jira] Created: (MSITE-117) 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line

'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line
------------------------------------------------------------------------------------------------------

         Key: MSITE-117
         URL: http://jira.codehaus.org/browse/MSITE-117
     Project: Maven 2.x Site Plugin
        Type: Bug

    Versions: 2.0-beta-4    
    Reporter: Ted X. Toth


I have occasion to build at locations where I don't have internet access but I do have access to a cvs repository where I have added
my local maven repository. So I build a local repository with a check out from cvs and then I build my project with 'mvn -o clean install'.
However I get the following error:
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
[INFO] ----------------------------------------------------------------------------

but it's there!

 ls ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/
CVS  maven-site-plugin-2.0-beta-4.jar  maven-site-plugin-2.0-beta-4.pom

While testing this build process I have internet access and if I remove ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4 and build 'online' the same files (maven-site-plugin-2.0-beta-4.jar,maven-site-plugin-2.0-beta-4.pom)
end up in the same place (~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/) and the build works. 


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


[jira] Commented: (MSITE-117) 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line

Posted by "paul browne (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102670 ] 

paul browne commented on MSITE-117:
-----------------------------------

Offtopic, but the way I resolved this is to remove the directory ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/

Run maven again, and it should download a fresh copy (if you have resolved the internet connection issue e.g. setup the proxy correctly)

<a href="http://www.firstpartners.net/kb">Paul</a>

> 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line
> ------------------------------------------------------------------------------------------------------
>
>                 Key: MSITE-117
>                 URL: http://jira.codehaus.org/browse/MSITE-117
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-beta-4
>            Reporter: Ted X. Toth
>            Assignee: Brett Porter
>
> I have occasion to build at locations where I don't have internet access but I do have access to a cvs repository where I have added
> my local maven repository. So I build a local repository with a check out from cvs and then I build my project with 'mvn -o clean install'.
> However I get the following error:
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
> [INFO] ----------------------------------------------------------------------------
> but it's there!
>  ls ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/
> CVS  maven-site-plugin-2.0-beta-4.jar  maven-site-plugin-2.0-beta-4.pom
> While testing this build process I have internet access and if I remove ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4 and build 'online' the same files (maven-site-plugin-2.0-beta-4.jar,maven-site-plugin-2.0-beta-4.pom)
> end up in the same place (~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/) and the build works. 

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

        

[jira] Closed: (MSITE-117) 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSITE-117?page=all ]
     
Brett Porter closed MSITE-117:
------------------------------

     Assign To: Brett Porter
    Resolution: Won't Fix

not a bug in the site plugin. The same would be true of any plugin.

There is discussion of this on the users list and there are open issues in MNG.

> 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version when building off line
> ------------------------------------------------------------------------------------------------------
>
>          Key: MSITE-117
>          URL: http://jira.codehaus.org/browse/MSITE-117
>      Project: Maven 2.x Site Plugin
>         Type: Bug

>     Versions: 2.0-beta-4
>     Reporter: Ted X. Toth
>     Assignee: Brett Porter

>
>
> I have occasion to build at locations where I don't have internet access but I do have access to a cvs repository where I have added
> my local maven repository. So I build a local repository with a check out from cvs and then I build my project with 'mvn -o clean install'.
> However I get the following error:
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] The plugin 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid version could be found
> [INFO] ----------------------------------------------------------------------------
> but it's there!
>  ls ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/
> CVS  maven-site-plugin-2.0-beta-4.jar  maven-site-plugin-2.0-beta-4.pom
> While testing this build process I have internet access and if I remove ~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4 and build 'online' the same files (maven-site-plugin-2.0-beta-4.jar,maven-site-plugin-2.0-beta-4.pom)
> end up in the same place (~/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.0-beta-4/) and the build works. 

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