You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Christian Clauss <Ch...@ptv.de> on 2007/04/04 15:19:50 UTC

Own Repository

Hi everybody.

 

I want to use my own repository for plugins. So I copied everything from my
local repository to my webserver. 

I tried to access the plugins adding following to my settings.xml:

 

<mirrors>

            <mirror>

                        <id>localPlugin</id>

 
<url>http://mywebserver.de:9999/mvnrepos/plugin</url>

                        <mirrorOf>central</mirrorOf>

            </mirror>

</mirrors>

 

But it doesn't work. It says: The plugin
'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid
version could be found

I don't know what's wrong the files are there in the correct layout.

I hope you can help me.

Thanks a lot.

 

Christian


Re: Own Repository

Posted by Antonio Petrelli <an...@gmail.com>.
2007/4/4, Christian Clauss <Ch...@ptv.de>:
> Hi everybody.
>
>
>
> I want to use my own repository for plugins. So I copied everything from my
> local repository to my webserver.

Try this (as we do in Tiles 2):

    <pluginRepositories>
        <pluginRepository>
            <id>apache.snapshots</id>
            <url>http://people.apache.org/repo/m2-snapshot-repository/</url>
            <snapshots>
                <enabled>true</enabled>
            </snapshots>
            <releases>
                <enabled>false</enabled>
            </releases>
        </pluginRepository>
    </pluginRepositories>

HTH

Antonio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Own Repository

Posted by Wendy Smoak <ws...@gmail.com>.
On 4/4/07, Christian Clauss <Ch...@ptv.de> wrote:

> I want to use my own repository for plugins. So I copied everything from my
> local repository to my webserver.
...
> I don't know what's wrong the files are there in the correct layout.

A local repository does not have the same structure as a remote repository.

There are several threads in the archives that have useful info, for example:

http://www.nabble.com/A-local-repository-acting-as-a-remote-one-t1072240s177.html#a2803293

(Found with:
http://www.nabble.com/forum/Search.jtp?forum=177&local=y&query=Creating+a+remote+repository+from+a+local+one
)

-- 
Wendy

>
> I tried to access the plugins adding following to my settings.xml:
>
>
>
> <mirrors>
>
>             <mirror>
>
>                         <id>localPlugin</id>
>
>
> <url>http://mywebserver.de:9999/mvnrepos/plugin</url>
>
>                         <mirrorOf>central</mirrorOf>
>
>             </mirror>
>
> </mirrors>
>
>
>
> But it doesn't work. It says: The plugin
> 'org.apache.maven.plugins:maven-site-plugin' does not exist or no valid
> version could be found
>

>
> I hope you can help me.
>
> Thanks a lot.
>
>
>
> Christian
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org