If you have a windows share server, so you can easyly share a 3rdParty
Repository. You will also need same jar's that are not available in
the 'maven'-web like activation.jar etc.

So I haven't the configuration here at home, but it should be
something like that: (settings.xml)

<repository>
        <id>Test Snapshots</id>
        <url>file:///k:/temp/rep/</url>
        <snapshots>
        <enabled>true</enabled>
        </snapshots>
        <releases>
        <enabled>true</enabled>
        </releases>
</repository>


<pluginRepositories>
        <pluginRepository>
                <snapshots>
                        <enabled>true</enabled>
                </snapshots>
                <id>kdg_PlugInSnapshotRepo</id>
                <name>mvnPlugInSnapshotRepo</name>
                <url>file:///v:/mvnPlugInSnapshotRepo</url>
        </pluginRepository>
</pluginRepositories>

We did it with a Samba share and it works. So you can save the work
for scp/ssh etc.

We also use all the same maven.bat from a samba share. So we all use
the same settings.xml. So only my colleague and me knows the
configuration and all others just use it.

I think you know http://www.mergere.com/m2book_download.jsp ?! If not,
I think it would help much. But I've not read it ;-)

Fredy


2006/10/24, Adam Perry-Pelletier <[EMAIL PROTECTED]>:
While experimenting with Maven2 I experienced the following error:



Missing:

----------

1) jsr170:jcr:jar:1.0



  Try downloading the file manually from the project website.



  Then, install it using the command:

      mvn install:install-file -DgroupId=jsr170 -DartifactId=jcr \

          -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file



  Path to dependency:

        1) com.moesol.bv:BattlespaceVideo:jar:1.0-SNAPSHOT

        2) jsr170:jcr:jar:1.0



So I took the error message's advice and did the "mvn install:install-file
.".  That fixed the problem and patched my local repository.  However this
leads sort an uncomfortable situation.  If I have 15 developers on my team I
now have to notify them to manually patch their repositories and answer
their queries about how "I broke the build."  Not a tolerable situation.



So what I'd like to do is this.  I'd like to host a maven repository on our
server (linux running apache and ssh).  However I don't want it to be a
full-blown rsynch'ed repository that mirrors www.ibiblio.org/maven2.  I want
the repository to be just like my local repository in that it has only the
jars that our project needs, but one that I can point all our development
team to.  So when I come across this problem in the future, I can go out to
that one shared, but local and minimal, repository do the "mvn
install:install-file" and all our developers will see the change.  Although
I can find docs on how to accomplish the rsynch'ed full mirror repository
model, I can't find much about how to have a local repository that can be
shared.  In terms of layout, our developers develop on windows supplemented
by cygwin and the available server would be a linux box with apache web
server and ssh.



Any help would be appreciated.



Adam





--
Mit freundlichen Grüßen
Fred Robert Hauschel
+49 179 6917092

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to