Hi Gavan,
please read below:

OS: Windows 7
Java version: 1.7
JAVA_HOME: C:\Java\jdk1.7.0_45
JRE_HOME: C:\Java\jre7
M2_HOME: D:\j-frameworks\apache-maven-2.2.1
M2: not set
PATH: 
D:\j-frameworks\apache-maven-2.2.1\bin;D:\j-frameworks\apache-tomcat-7.0.50\bin;C:\Java\jdk1.7.0_45\bin;C:\Windows\system32;C:\Windows;...

by the way, I have bypassed that issue modifying manually the ./m2/settings.xml 
as reported below
I have accessed to the following link 
"[url]http://nexus.magnolia-cms.com/index.html#m2-settings-templates;magnolia-community-public[/url]";
 and I have added what necessary to my file.


settings.xml
[code]<?xml version="1.0" encoding="UTF-8"?>
<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";>
        <pluginGroups>
                <pluginGroup>org.sonatype.plugins</pluginGroup>
        </pluginGroups>
        <proxies>
                <proxy>
                        <id>sopra-http</id>
                        <active>true</active>
                        <protocol>http</protocol>
                        <username>...</username>
                        <password>...</password>
                        <host>miln.proxy.corp.sopra</host>
                        <port>8080</port>
                        
<nonProxyHosts>localhost|127.0.0.1|192.*|*.sopra</nonProxyHosts>
                </proxy>
                <proxy>
                        <id>sopra-https</id>
                        <active>true</active>
                        <protocol>https</protocol>
                        <username>...</username>
                        <password>...</password>
                        <host>miln.proxy.corp.sopra</host>
                        <port>8080</port>
                        
<nonProxyHosts>localhost|127.0.0.1|192.*|*.sopra</nonProxyHosts>
                </proxy>
        </proxies>
        <servers>
                <server>
                  <id>rcl_rw</id>
                  <username>rcl_rw</username>
                  <password>password</password>
                </server>
                <server>
                  <id>sopra-central</id>
                  <username>rcl_rw</username>
                  <password>password</password>
                </server>
                <server>
                        <username>rcl_rw</username>
                        <password>password</password>
                        <id>sopra-snapshots</id>
                </server>
        </servers>
        <mirrors>
                <!--mirror>
                        <id>central</id>
                        <mirrorOf>central</mirrorOf>
                        <name>Repository Artifactory de Sopra Puteaux.</name>
                        <url>http://pdtinteg.ptx.fr.sopra/artifactory/repo</url>
                </mirror-->
    <!--mirror>
                        <id>central</id>
                        <mirrorOf>central</mirrorOf>
                        <name>Repository Nexus Magnolia</name>
                        
<url>http://nexus.magnolia-cms.com/content/groups/public</url>
                </mirror-->
        </mirrors>
        <profiles>
                <profile>
                        <id>jboss-public-repository</id>
                        <repositories>
                                <repository>
                                        <id>jboss-public-repository-group</id>
                                        <name>JBoss Public Maven Repository 
Group</name>
                                        
<url>https://repository.jboss.org/nexus/content/groups/public-jboss</url>
                                        <layout>default</layout>
                                        <releases>
                                                <enabled>true</enabled>
                                                
<updatePolicy>never</updatePolicy>
                                        </releases>
                                        <snapshots>
                                                <enabled>true</enabled>
                                                
<updatePolicy>never</updatePolicy>
                                        </snapshots>
                                </repository>
                        </repositories>
                        <pluginRepositories>
                                <pluginRepository>
                                        <id>jboss-public-repository-group</id>
                                        <name>JBoss Public Maven Repository 
Group</name>
                                        
<url>https://repository.jboss.org/nexus/content/groups/public-jboss</url>
                                        <layout>default</layout>
                                        <releases>
                                                <enabled>true</enabled>
                                                
<updatePolicy>never</updatePolicy>
                                        </releases>
                                        <snapshots>
                                                <enabled>true</enabled>
                                                
<updatePolicy>never</updatePolicy>
                                        </snapshots>
                                </pluginRepository>
                        </pluginRepositories>
                </profile>
                <profile>
                  <id>sopra-artifactory</id>
                  <repositories>
                        <repository>
                          <snapshots>
                                <enabled>false</enabled>
                          </snapshots>
                          <id>sopra-central</id>
                          <name>libs-releases</name>
                          
<url>http://pdtinteg.ptx.fr.sopra:8180/artifactory/libs-releases</url>
                        </repository>
                        <repository>
                          <snapshots />
                          <id>sopra-snapshots</id>
                          <name>libs-snapshots</name>
                          
<url>http://pdtinteg.ptx.fr.sopra:8180/artifactory/libs-snapshots</url>
                        </repository>
                  </repositories>
                  <pluginRepositories>
                        <pluginRepository>
                          <snapshots>
                                <enabled>false</enabled>
                          </snapshots>
                          <id>sopra-central</id>
                          <name>plugins-releases</name>
                          
<url>http://pdtinteg.ptx.fr.sopra:8180/artifactory/plugins-releases</url>
                        </pluginRepository>
                        <pluginRepository>
                          <snapshots />
                          <id>sopra-snapshots</id>
                          <name>plugins-snapshots</name>
                          
<url>http://pdtinteg.ptx.fr.sopra:8180/artifactory/plugins-snapshots</url>
                        </pluginRepository>
                  </pluginRepositories>
                </profile>
                <profile>
      <id>magnolia-repositories</id>
      <repositories>
        <repository>
          <id>magnolia.nexus.public</id>
          <url>http://nexus.magnolia-cms.com/content/groups/public/</url>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
            <id>magnolia.nexus.public</id>
            <url>http://nexus.magnolia-cms.com/content/groups/public/</url>
            <releases>
              <enabled>true</enabled>
            </releases>
            <snapshots>
              <enabled>true</enabled>
            </snapshots>
        </pluginRepository>
      </pluginRepositories>
    </profile>
        </profiles>

        <activeProfiles>
                <activeProfile>jboss-public-repository</activeProfile>
                <activeProfile>sopra-artifactory</activeProfile>
                <activeProfile>magnolia-repositories</activeProfile>
        </activeProfiles>
</settings>
[/code]

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=68f3d3e1-3666-462e-8fa0-b398714792a1


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to