While trying to debug some nexus-maven-plugin issues, I came across
some differences in the help:effective-settings output between 2.2.1
and 3.0-b1. Is this expected? Note that in both cases the properties I
have defined in my settings are not shown.


>From Maven 3:

<settings xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org
/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1
.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd";>
  <localRepository xmlns="http://maven.apache.org/SETTINGS/1.1.0";>C:\Users\brian
f\.m2\repository</localRepository>
  <mirrors xmlns="http://maven.apache.org/SETTINGS/1.1.0";>
    <mirror>
      <mirrorOf>*</mirrorOf>
      <url>https://repository.sonatype.org//content/groups/public</url>
      <id>nexus</id>
    </mirror>
  </mirrors>
  <activeProfiles xmlns="http://maven.apache.org/SETTINGS/1.1.0";>
    <activeProfile>nexus</activeProfile>
  </activeProfiles>
  <pluginGroups xmlns="http://maven.apache.org/SETTINGS/1.1.0";>
    <pluginGroup>org.sonatype.plugins</pluginGroup>
    <pluginGroup>org.apache.maven.plugins</pluginGroup>
    <pluginGroup>org.codehaus.mojo</pluginGroup>
  </pluginGroups>
</settings>

>From Maven 2.2.1:
<settings xmlns="http://maven.apache.org/POM/4.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";>
  <localRepository xmlns="http://maven.apache.org/SETTINGS/1.0.0";>C:\Users\brian
f\.m2\repository</localRepository>
  <mirrors xmlns="http://maven.apache.org/SETTINGS/1.0.0";>
    <mirror>
      <mirrorOf>*</mirrorOf>
      <url>https://repository.sonatype.org//content/groups/public</url>
      <id>nexus</id>
    </mirror>
  </mirrors>
  <profiles xmlns="http://maven.apache.org/SETTINGS/1.0.0";>
    <profile>
      <repositories>
        <repository>
          <releases />
          <snapshots />
          <id>central</id>
          <url>http://central</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <releases />
          <snapshots />
          <id>central</id>
          <url>http://central</url>
        </pluginRepository>
      </pluginRepositories>
      <id>nexus</id>
    </profile>
  </profiles>
  <activeProfiles xmlns="http://maven.apache.org/SETTINGS/1.0.0";>
    <activeProfile>nexus</activeProfile>
  </activeProfiles>
  <pluginGroups xmlns="http://maven.apache.org/SETTINGS/1.0.0";>
    <pluginGroup>org.sonatype.plugins</pluginGroup>
  </pluginGroups>
</settings>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to