Using a Subversion based remote repository in Maven 2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Using a Subversion based remote repository in Maven 2

Mar Maven
Hi,
  I'm a new maven user,
  I need to setup a maven remote repository into subversion using http:
  Could you help me to define my pom.xml or my settings.xml file?
  Do I need to define aditional dependencies or plugg-ins?
   
  Thank you very much.
  Regards
   
   
  settings.xml:
  <repositories>
        <repository>
          <id>Internal</id>
          <url>scm:svn:http://usuario:password@myserver/svnroot/repository</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <releases>
            <enabled>false</enabled>
          </releases>
       </repository>
  </repositories>
  <pluginRepositories>
       <pluginRepository>
         <id>Internal</id>
         <url>scm:svn:http://usuario:password@myserver/svnroot/repository</url>
         <snapshots>
           <enabled>true</enabled>
         </snapshots>
         <releases>
           <enabled>true</enabled>
         </releases>
       </pluginRepository>
  <pluginRepositories>
   
  pom.xml:
  <build>
    <extensions>
      <extension>
        <groupId>org.apache.maven.wagon</groupId>
        <artifactId>wagon-scm</artifactId>
        <version>1.0-alpha-7-SNAPSHOT</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.scm</groupId>
        <artifactId>maven-scm-manager-plexus</artifactId>
        <version>1.0-beta-3-SNAPSHOT</version>
      </extension>
      <extension>
        <groupId>org.apache.maven.scm</groupId>
        <artifactId>maven-scm-provider-svnexe</artifactId>
        <version>1.0-beta-3-SNAPSHOT</version>
      </extension>
    </extensions>
  </build>


 
---------------------------------
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
Loading...