You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Nielsen <ja...@gmail.com> on 2007/10/17 04:17:32 UTC

Jalopy and pluginGroup resolution

I'm trying to get Triemax's trial version of Jalopy to work when
downloaded from our local repository. While this may be a product
problem with Triemax's Jalopy, it doesn't appear that way to me. I
have defined the plugin per their instructions in the <build> section
of my multi-module pom as:

      <plugin>
        <groupId>triemax</groupId>
        <artifactId>jalopy-maven</artifactId>
        <version>1.8-144</version>
        <configuration>
          <includes>
            <include>**/*.java</include>
          </includes>
          <excludes>
            <exclude>**/*.sql*</exclude>
          </excludes>
          <convention>http://blah/resources/triemax_jalopy.xml</convention>
        </configuration>
        <executions>
          <execution>
            <phase>process-classes</phase>
            <goals>
              <goal>format</goal>
            </goals>
          </execution>
        </executions>
      </plugin>

and in my ~/.m2/settings.xml I have:

  <pluginGroups>
    <pluginGroup>triemax</pluginGroup>
  </pluginGroups>

However, when I run:

  mvn clean jalopy:format -X --no-plugin-updates

I get the output below. The interesting part is that:

  Loading plugin prefixes from group: triemax
  Loading plugin prefixes from group: org.codehaus.mojo
  Loading plugin prefixes from group: org.apache.maven.plugins
  artifact org.codehaus.mojo:jalopy-maven-plugin: checking for updates from Blah

which seems to start by using "org.codehaus.mojo" as the implied
pluginGroup instead of the configured "triemax". If the plugin is
installed in the local cached respository on ~/.m2/repository,
everything seems to work just fine. Can anyone help?

Many thanks,

-Jan


mvn clean jalopy:format -X --no-plugin-updates
+ Error stacktraces are turned on.
Maven version: 2.0.7
Java version: 1.6.0
OS name: "windows xp" version: "5.1" arch: "x86"
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settings\Jan Nielsen\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\maven-2.0.7\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Searching for parent-POM: blah:project::1.0-SNAPSHOT of
project: null:blah-meta-data:jar:1.0-SNAPSHOT in relative path:
../pom.xml
[DEBUG] Using parent-POM from the project hierarchy at: '../pom.xml'
for project: null:blah-meta-data:jar:1.0-SNAPSHOT
[INFO] Searching repository for plugin with prefix: 'jalopy'.
[DEBUG] Loading plugin prefixes from group: triemax
[DEBUG] Loading plugin prefixes from group: org.codehaus.mojo
[DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins
[INFO] artifact org.codehaus.mojo:jalopy-maven-plugin: checking for
updates from Blah [INFO] artifact
org.codehaus.mojo:jalopy-maven-plugin: checking for updates from
Codehaus Snapshots
[INFO] artifact org.codehaus.mojo:jalopy-maven-plugin: checking for
updates from central
[DEBUG] jalopy-maven-plugin: resolved to version 1.0-alpha-1 from
repository central
[DEBUG] Trying repository central
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/jalopy-maven-plugin/1.0-alpha-1/jalopy-maven-plugin-1.0-alpha-1.pom
2K downloaded
[DEBUG]   Artifact resolved
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::16 for project:
null:jalopy-maven-plugin:maven-plugin:1.0-alpha-1 from the repository.
[DEBUG] Adding managed dependencies for unknown:jalopy-maven-plugin
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   junit:junit:jar:3.8.1:test
[DEBUG] Trying repository Access Development Releases
Downloading: http://it.access.dev/repository//org/codehaus/mojo/jalopy-maven-plugin/1.0-alpha-1/jalopy-maven-plugin-1.0-alpha-1.jar
12K downloaded
[DEBUG]   Artifact resolved
[INFO] ----------------------------------------------------------------------------
[INFO] Building Blah Meta Data
[INFO]    task-segment: [clean, jalopy:format]
[INFO] ----------------------------------------------------------------------------
[DEBUG] maven-clean-plugin: resolved to version 2.1.1 from repository central
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::3 for project:
null:maven-clean-plugin:maven-plugin:2.1.1 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::4 for
project: org.apache.maven.plugins:maven-plugins:pom:3 from the
repository.
[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:4 from the repository.
[DEBUG] maven-compiler-plugin: resolved to version 2.0.2 from repository central
[DEBUG] Retrieving parent-POM:
org.apache.maven.plugins:maven-plugins::8 for project:
null:maven-compiler-plugin:maven-plugin:2.0.2 from the repository.
[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5 for
project: org.apache.maven.plugins:maven-plugins:pom:8 from the
repository.
[DEBUG] Skipping disabled repository central
[INFO] snapshot org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:
checking for updates from Access Development SNAPSTHOTS
[DEBUG] repository metadata for: 'snapshot
org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT' could not be
found on repository: Access Development SNAPSTHOTS
[DEBUG] Skipping disabled repository central
[DEBUG] dashboard-maven-plugin: resolved to version
1.0-20070907.172709-15 from repository Codehaus Snapshots
[DEBUG] Retrieving parent-POM:
org.codehaus.mojo:mojo-sandbox::3-SNAPSHOT for project:
org.codehaus.mojo:dashboard-maven-plugin:maven-plugin:1.0-SNAPSHOT
from the repository.
[DEBUG] Skipping disabled repository central
[INFO] snapshot org.codehaus.mojo:mojo-sandbox:3-SNAPSHOT: checking
for updates from Access Development SNAPSTHOTS
[DEBUG] repository metadata for: 'snapshot
org.codehaus.mojo:mojo-sandbox:3-SNAPSHOT' could not be found on
repository: Access Development SNAPSTHOTS
[DEBUG] Skipping disabled repository central
[DEBUG] mojo-sandbox: resolved to version 3-20070326.175228-2 from
repository Codehaus Snapshots
[DEBUG] Retrieving parent-POM: org.codehaus.mojo:mojo::14 for project:
null:mojo-sandbox:pom:3-SNAPSHOT from the repository.
[DEBUG] Adding managed dependencies for org.codehaus.mojo:dashboard-maven-plugin
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0
[DEBUG]   junit:junit:jar:3.8.1:test
[DEBUG] dashboard-maven-plugin: resolved to version
1.0-20070907.172709-15 from repository Codehaus Snapshots
[DEBUG] org.apache.maven.plugins:maven-clean-plugin:maven-plugin:2.1.1:runtime
(selected for runtime)
[DEBUG] Retrieving parent-POM: org.apache.maven:maven::2.0 for
project: org.apache.maven:maven-plugin-api:jar:2.0 from the
repository.
[DEBUG] Adding managed dependencies for org.apache.maven:maven-plugin-api
[DEBUG]   org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8
[DEBUG]   org.codehaus.plexus:plexus-utils:jar:1.0.4
[DEBUG]   org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-file:jar:1.0-alpha-5
[DEBUG]   org.apache.maven.wagon:wagon-http-lightweight:jar:1.0-alpha-5
[DEBUG]   org.apache.maven:maven-plugin-api:jar:2.0:runtime (selected
for runtime)
[DEBUG] Retrieving parent-POM: org.codehaus.plexus:plexus::1.0.4 for
project: null:plexus-utils:jar:1.1 from the repository.

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