You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephane-3 <mi...@yahoo.se> on 2012/02/06 07:32:12 UTC

Re: Re : Re : A classpath issue ?

Sorry for the late answer, I had not seen your question.

I now saw it because the exact same issue showed up again a year later when
running the build on a new computer.

I had forgotten again to install this settings.xml file.

So I just copied it again in the .m2/ directory and it now works fine.

To be honest, I don't know today what in this file makes the issue go away.

Here is the settings.xml file content:

<?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.mortbay.jetty</pluginGroup>
  </pluginGroups>
  <profiles>
    <profile>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <id>maven2</id>
          <name>Maven2 repository</name>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <url>http://repo2.maven.org/maven2</url>
        </repository>
        <repository>
          <id>ibiblio</id>
          <name>ibiblio repository</name>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <url>http://www.ibiblio.org/maven</url>
        </repository>
        <repository>
          <id>maven</id>
          <name>Maven repository</name>
          <releases>
            <enabled>true</enabled>
          </releases>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <url>http://mvnrepository.com</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
</settings>


--
View this message in context: http://maven.40175.n5.nabble.com/A-classpath-issue-tp3300543p5459421.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Re : Re : A classpath issue ?

Posted by Stephane-3 <mi...@yahoo.se>.
I just found out what in the settings.xml file prevents this issue.

It is the directive:

      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>

that makes the issue go away.

Removing this directive from the settings.xml file triggers the exception.

I wonder why..

--
View this message in context: http://maven.40175.n5.nabble.com/A-classpath-issue-tp3300543p5459429.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org