Setting up Own Maven Repository

 
 <settings>  
  <mirrors>  
   <mirror>  
    <!--This sends everything else to /public -->  
    <id>nexus</id>  
    <mirrorof>*</mirrorof>  
    <url>http://myhost.com:8080/nexus/content/groups/public</url>  
   </mirror>  
  </mirrors>  
  <profiles>  
   <profile>  
    <id>rakuten</id>  
    <repositories>  
     <repository>  
      <id>myprofile</id>  
      <name>My Internal Repository</name>  
      <releases>  
       <enabled>true</enabled>  
       <updatepolicy>never</updatepolicy>  
      </releases>  
      <snapshots>  
       <enabled>true</enabled>  
       <updatepolicy>always</updatepolicy>  
      </snapshots>  
      <url>http://myhost.com:8080/nexus/content/groups/public</url>  
      <layout>default</layout>  
     </repository>  
    </repositories>  
   </profile>  
  </profiles>  
  <activeprofiles>  
   <activeprofile>myprofile</activeprofile>  
  </activeprofiles>  
 </settings>
 

Comments

Popular posts from this blog

getting android emulator to work normally on 64 bit linux

specs 2, Scala and maven with IntelliJ 12.1 and getting things right

me, akka and scala