settings.xml 3.31 KB
Newer Older
Comune di Salerno's avatar
Comune di Salerno committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<settings xmlns="http://maven.apache.org/settings/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
 <servers>
        <server>
            <id>nexus</id>
            <username>METTERE_UTENTE</username>
            <password>METTERE_PASSWORD</password>
        </server>
       <server>
            <id>releases</id>
            <username>METTERE_UTENTE</username>
            <password>METTERE_PASSWORD</password>
        </server>
       <server>
            <id>snapshots</id>
            <username>METTERE_UTENTE</username>
            <password>METTERE_PASSWORD</password>
        </server>        
    </servers>
  <mirrors>
    <mirror>
      <!--This sends everything else to /public -->
      <!--<id>nexus</id>
      <mirrorOf>*</mirrorOf>
      <url>http://172.17.46.102:8082/nexus/content/groups/public</url>-->
      
      <id>nexus</id>
      <mirrorOf>*</mirrorOf>
      <url>METTERE_URL</url>
    </mirror>
  </mirrors>

  <profiles>
    <profile>
      <id>nexus</id>
	
      <!--Enable snapshots for the built in central repo to direct -->
      <!--all requests to nexus via the mirror -->
      <repositories>
        <repository>
          <id>central</id>
          <url>METTERE_URL</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
     <pluginRepositories>
        <pluginRepository>
          <id>central</id>
          <url>METTERE_URL</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </pluginRepository>
      <pluginRepository>
          <id>nexus</id>
          <name>nexus</name>
          <url>METTERE_URL</url>
          <layout>default</layout>
          <releases>
            <enabled>true</enabled>
            <updatePolicy>never</updatePolicy>
          </releases>
          <snapshots>
            <enabled>false</enabled>
            <updatePolicy>never</updatePolicy>
          </snapshots>
        </pluginRepository>
      </pluginRepositories>
      <properties>
      	<sicraweb.maven.home>MAVE_HOME</sicraweb.maven.home>
      	<sicraweb.maven.goals>compile,package,clean,clean install,maggioli_jdev:jdev,clean install -Dmaven.test.skip=true</sicraweb.maven.goals>
      	<sicraweb.jdk>C:/jdk1.8.0_144/bin/javac.exe</sicraweb.jdk>

		<package.home>PACKAGE_HOME</package.home>
		<!--Ricordarsi di mettere la variabile d'ambiente SICRA_WEB_SOURCE=path-->
	      <sicraweb.home>PATH_SICRAWEB_HOME</sicraweb.home>
	      <sicraweb.maven.default.goal>clean install</sicraweb.maven.default.goal>
	      <sicraweb.maven.version>2.2.1</sicraweb.maven.version>
	      <jdev.release>11.1.2.0.0</jdev.release>
		<liferay.maven.plugin.version>6.2.10.4</liferay.maven.plugin.version>
		<maggioliReleasesURL>METTERE_URL</maggioliReleasesURL> 
		<maggioliSnapshotsURL>METTERE_URL</maggioliSnapshotsURL>
      </properties>
    </profile>
  </profiles>
  <activeProfiles>
    <!--make the profile active all the time -->
    <activeProfile>nexus</activeProfile>
  </activeProfiles>
</settings>