Hi,

A certain user of mine gets "Skipping disabled repository central" when
mvn (2.0.8) tries to download a plugin. I've printed the effective-pom
and effective-settings and I don't see anything redirection of central
with mirrors or repository. 

It certainly sounds like mvn is not looking in the central repo when it
tries to download a plugin. But I don't see why it is disabled. Can
anyone explain? Below is the effective pom and settings:

************************************************************************
************
Effective POM for project 'ebs:md_build_instructions:jar:1.0-SNAPSHOT'
************************************************************************
************
<?xml version="1.0"?><project>
  <parent>
    <artifactId>md_parent</artifactId>
    <groupId>ebs</groupId>
    <version>1.4-SNAPSHOT</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>ebs</groupId>
  <artifactId>md_build_instructions</artifactId>
  <name>md_build_instructions</name>
  <version>1.0-SNAPSHOT</version>
  <url>http://www.ebs.com</url>

  <build>
 
<sourceDirectory>/home/cc/perforce/MarketData/build/maven2/build_instruc
tions/src/main/java</sourceDirectory>
    <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
 
<testSourceDirectory>/home/cc/perforce/MarketData/build/maven2/build_ins
tructions/src/test/java</testSourceDirectory>
 
<outputDirectory>/home/cc/perforce/MarketData/build/maven2/build_instruc
tions/target/classes</outputDirectory>
 
<testOutputDirectory>/home/cc/perforce/MarketData/build/maven2/build_ins
tructions/target/test-classes</testOutputDirectory>
    <resources>
      <resource>
 
<directory>/home/cc/perforce/MarketData/build/maven2/build_instructions/
src/main/resources</directory>
      </resource>
    </resources>
    <testResources>
      <testResource>
 
<directory>/home/cc/perforce/MarketData/build/maven2/build_instructions/
src/test/resources</directory>
      </testResource>
    </testResources>
 
<directory>/home/cc/perforce/MarketData/build/maven2/build_instructions/
target</directory>
    <finalName>md_build_instructions-1.0-SNAPSHOT</finalName>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <version>2.0.2</version>
        <configuration>
          <source>1.5</source>
          <target>1.5</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-one-plugin</artifactId>
        <version>1.2</version>
        <executions>
          <execution>
            <goals>
              <goal>install-maven-one-repository</goal>
              <goal>deploy-maven-one-repository</goal>
            </goals>
            <configuration>
 
<remoteRepositoryId>com.ebs.development.repo</remoteRepositoryId>
 
<remoteRepositoryUrl>scp://172.16.12.10/apps/local/apache2/htdocs/maven<
/remoteRepositoryUrl>
            </configuration>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <artifactId>maven-site-plugin</artifactId>
        <version>2.0-beta-6</version>
        <executions>
          <execution>
            <id>create site</id>
            <phase>package</phase>
            <goals>
              <goal>site</goal>
            </goals>
          </execution>
          <execution>
            <id>deploy site</id>
            <phase>deploy</phase>
            <goals>
              <goal>deploy</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <locales>en</locales>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.4.2</version>
        <configuration>
          <useFile>false</useFile>
          <excludes>
            <exclude>**/*ITest.java</exclude>
            <exclude>**/Abstract*Test.java</exclude>
          </excludes>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-help-plugin</artifactId>
        <version>2.0.2</version>
      </plugin>
    </plugins>
  </build>
  <repositories>
    <repository>
      <id>dev-legacy</id>
      <name>legacy</name>
      <url>http://172.16.12.10/maven</url>
      <layout>legacy</layout>
    </repository>
    <repository>
      <id>dev-vendor</id>
      <name>vendor</name>
      <url>http://172.16.12.10/maven2/dev/repo/</url>
    </repository>
    <repository>
      <id>dev-product</id>
      <name>products</name>
      <url>http://172.16.12.10/maven2/dev-product/repo/</url>
    </repository>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Maven Repository Switchboard</name>
      <url>http://repo1.maven.org/maven2</url>
    </repository>
  </repositories>
  <pluginRepositories>
    <pluginRepository>
      <releases>
        <updatePolicy>never</updatePolicy>
      </releases>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>Maven Plugin Repository</name>
      <url>http://repo1.maven.org/maven2</url>
    </pluginRepository>
  </pluginRepositories>
  <reporting>
    <outputDirectory>target/site</outputDirectory>
    <plugins>
      <plugin>
        <artifactId>maven-changes-plugin</artifactId>
        <reportSets>
          <reportSet>
            <reports>
              <report>changes-report</report>
            </reports>
          </reportSet>
        </reportSets>
      </plugin>
      <plugin>
        <artifactId>maven-javadoc-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-jxr-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-pmd-plugin</artifactId>
        <configuration>
          <targetJdk>1.5</targetJdk>
          <linkXref>true</linkXref>
          <sourceEncoding>utf-8</sourceEncoding>
          <minimumTokens>100</minimumTokens>
          <rulesets>
 
<ruleset>/home/cc/applications/buildtools/md/md_1.0/pmd.xml</ruleset>
          </rulesets>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-project-info-reports-plugin</artifactId>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-report-plugin</artifactId>
      </plugin>
    </plugins>
  </reporting>
  <distributionManagement>
    <repository>
      <id>com.ebs.development.repo</id>
      <name>EBS Development Repository</name>
 
<url>scp://172.16.12.10/apps/local/apache2/htdocs/maven2/dev-product/dev
-product/repo</url>
    </repository>
    <snapshotRepository>
      <id>com.ebs.development.repo</id>
      <name>EBS Development Repository</name>
 
<url>scp://172.16.12.10/apps/local/apache2/htdocs/maven2/dev-product/dev
-snapshot/repo</url>
    </snapshotRepository>
    <site>
      <id>com.ebs.development.website</id>
      <name>EBS Development Website</name>
 
<url>scp://172.16.12.10/apps/local/apache2/htdocs/maven-web-sites/ebs/md
_build_instructions</url>
    </site>
  </distributionManagement>
  <properties>
 
<web.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven-web-sites</w
eb.scp>
    <legacy.id>com.ebs.development.repo</legacy.id>
 
<legacy.product.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven</
legacy.product.scp>
 
<product.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven2/dev-pro
duct</product.scp>
  </properties>
</project>


Effective settings:

<?xml version="1.0"?><settings>
  <localRepository>/home/cc/.m2/repository</localRepository>
  <servers>
...
  </servers>
  <profiles>
    <profile>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
 
<web.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven-web-sites</w
eb.scp>
        <legacy.id>com.ebs.development.repo</legacy.id>
 
<product.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven2/dev-pro
duct</product.scp>
 
<legacy.product.scp>scp://172.16.12.10/apps/local/apache2/htdocs/maven</
legacy.product.scp>
      </properties>
      <repositories>
        <repository>
          <id>dev-legacy</id>
          <name>legacy</name>
          <url>http://172.16.12.10/maven</url>
          <layout>legacy</layout>
        </repository>
        <repository>
          <id>dev-vendor</id>
          <name>vendor</name>
          <url>http://172.16.12.10/maven2/dev/repo/</url>
        </repository>
        <repository>
          <id>dev-product</id>
          <name>products</name>
          <url>http://172.16.12.10/maven2/dev-product/repo/</url>
        </repository>
      </repositories>
      <id>dev</id>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>dev</activeProfile>
  </activeProfiles>
</settings>



Regards,
Christopher Helck



**********************************************************************
This communication and all information (including, but not limited to,
 market prices/levels and data) contained therein (the "Information") is
 for informational purposes only, is confidential, may be legally
 privileged and is the intellectual property of ICAP plc and its affiliates
 ("ICAP") or third parties. No confidentiality or privilege is waived or
 lost by any mistransmission. The Information is not, and should not
 be construed as, an offer, bid or solicitation in relation to any
 financial instrument or as an official confirmation of any transaction.
 The Information is not warranted, including, but not limited, as to
 completeness, timeliness or accuracy and is subject to change
 without notice. ICAP assumes no liability for use or misuse of the
 Information. All representations and warranties are expressly
 disclaimed. The Information does not necessarily reflect the views of
 ICAP. Access to the Information by anyone else other than the
 recipient is unauthorized and any disclosure, copying, distribution or
 any action taken or omitted to be taken in reliance on it is prohibited. If
 you receive this message in error, please immediately delete it and all
 copies of it from your system, destroy any hard copies of it and
 notify the sender.
**********************************************************************

Reply via email to