[GeoNetwork-devel] No plugin found for prefix 'X' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/home/delawen/.m2/repository), oss.sonatype.org-github-releases (http:/

Hi,

Lately I have had many problems with maven repositories in geoNetwork.
This one is for the latest develop branch. Someone else having
problems?

I tried with several maven 3.x.x versions, but all shows the same. We
are using maven3 now, right?

The code is a clean checkout:

$ git status
# On branch develop
nothing to commit (working directory clean)
$ git remote -v
origin https://github.com/geonetwork/core-geonetwork.git (fetch)
origin https://github.com/geonetwork/core-geonetwork.git (push)
$ git branch
* develop

$ mvn clean package install -Dmaven.test.skip -XX:MaxPermSize=512m
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9;
2014-02-14T18:37:52+01:00)
Maven home: /opt/apache-maven-3.2.1
Java version: 1.6.0_27, vendor: Sun Microsystems Inc.
Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre
Default locale: es_ES, platform encoding: UTF-8
OS name: "linux", version: "3.2.0-4-amd64", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /opt/apache-maven-3.2.1/conf/settings.xml
[DEBUG] Reading user settings from /home/delawen/.m2/settings.xml
[DEBUG] Using local repository at /home/delawen/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority
10.0 for /home/delawen/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project
org.geonetwork-opensource:geonetwork:pom:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:common:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:cachingxslt:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:jeeves:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:dummy-api:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:web-ui:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:web-ui-docs:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:domain:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:oaipmh:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:core:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:csw-server:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:harvesters:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:health-monitor:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:services:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:geonetwork-client:jar:2.11.0-SNAPSHOT:
(none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:wro4j:jar:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:web-app:war:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:e2e-tests:pom:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from
ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project
org.geonetwork-opensource:geoserver:war:2.11.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from
ClassRealm[plexus.core, parent: null]
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:common:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:cachingxslt:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:jeeves:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:dummy-api:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:web-ui:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:web-ui-docs:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:xml-maven-plugin is missing. @ line 41, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:domain:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 116,
column 21
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 85,
column 21
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:oaipmh:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:core:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 376,
column 21
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:csw-server:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:harvesters:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:health-monitor:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:services:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-jar-plugin is missing. @ line 68,
column 21
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:geonetwork-client:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:wro4j:jar:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:web-app:war:2.11.0-SNAPSHOT
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.slf4j:slf4j-log4j12:jar -> duplicate declaration
of version (?) @ line 261, column 17
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:e2e-tests:pom:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:geoserver:war:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 246, column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @
org.geonetwork-opensource:geonetwork:2.11.0-SNAPSHOT,
/var/git/geonetwork3/pom.xml, line 268, column 15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for org.geonetwork-opensource:geonetwork:pom:2.11.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 246,
column 15
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.cargo:cargo-maven2-plugin is missing. @ line 268, column
15
[WARNING] The expression ${version} is deprecated. Please use
${project.version} instead.
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] GeoNetwork opensource
[INFO] common utils
[INFO] Caching xslt module
[INFO] GeoNetwork domain
[INFO] Jeeves modules
[INFO] ArcSDE module (dummy-api)
[INFO] GeoNetwork user interface module
[INFO] JS API & Service documentation
[INFO] Oaipmh modules
[INFO] GeoNetwork web client module
[INFO] GeoNetwork core
[INFO] GeoNetwork CSW server
[INFO] GeoNetwork health monitor
[INFO] GeoNetwork harvesters
[INFO] GeoNetwork services
[INFO] Geonetwork Web Resources 4 Java
[INFO] GeoNetwork Web module
[INFO] GeoNetwork E2E Javascript Tests
[INFO] GeoServer module
[DEBUG] Resolving plugin version for
org.apache.maven.plugins:maven-compiler-plugin
[DEBUG] Could not find metadata
org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in
local (/home/delawen/.m2/repository)
[DEBUG] Failure to find
org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml in
http://oss.sonatype.org/content/repositories/github-releases was
cached in the local repository, resolution will not be reattempted
until the update interval of oss.sonatype.org-github-releases has
elapsed or updates are forced
[DEBUG] Skipped remote update check for
org.apache.maven.plugins:maven-compiler-plugin/maven-metadata.xml,
locally cached metadata up-to-date.
[DEBUG] Resolved plugin version for
org.apache.maven.plugins:maven-compiler-plugin to 3.1 from repository
central (http://repo.maven.apache.org/maven2, releases)
[DEBUG] Resolving plugin version for org.codehaus.cargo:cargo-maven2-plugin
[DEBUG] Could not find metadata
org.codehaus.cargo:cargo-maven2-plugin/maven-metadata.xml in local
(/home/delawen/.m2/repository)
[DEBUG] Skipped remote update check for
org.codehaus.cargo:cargo-maven2-plugin/maven-metadata.xml, locally
cached metadata up-to-date.
[DEBUG] Skipped remote update check for
org.codehaus.cargo:cargo-maven2-plugin/maven-metadata.xml, locally
cached metadata up-to-date.
[DEBUG] Resolved plugin version for
org.codehaus.cargo:cargo-maven2-plugin to 1.4.8 from repository
central (http://repo.maven.apache.org/maven2, releases)
[DEBUG] Resolving plugin prefix X from [org.apache.maven.plugins,
org.codehaus.mojo]
[DEBUG] Could not find metadata
org.apache.maven.plugins/maven-metadata.xml in local
(/home/delawen/.m2/repository)
[DEBUG] Skipped remote update check for
org.apache.maven.plugins/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Skipped remote update check for
org.apache.maven.plugins/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml
in local (/home/delawen/.m2/repository)
[DEBUG] Skipped remote update check for
org.codehaus.mojo/maven-metadata.xml, locally cached metadata
up-to-date.
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for
http://oss.sonatype.org/content/repositories/github-releases
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/codehaus/mojo/maven-metadata.xml
[DEBUG] Writing tracking file
/home/delawen/.m2/repository/org/codehaus/mojo/resolver-status.properties
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml
in oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases)
[DEBUG] Could not find metadata
org.apache.maven.plugins/maven-metadata.xml in local
(/home/delawen/.m2/repository)
[DEBUG] Could not find metadata org.codehaus.mojo/maven-metadata.xml
in local (/home/delawen/.m2/repository)
[DEBUG] Skipped remote update check for
org.codehaus.mojo/maven-metadata.xml, already updated during this
session.
[DEBUG] Failure to find org.codehaus.mojo/maven-metadata.xml in
http://oss.sonatype.org/content/repositories/github-releases was
cached in the local repository, resolution will not be reattempted
until the update interval of oss.sonatype.org-github-releases has
elapsed or updates are forced
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for
http://repo.maven.apache.org/maven2
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for
http://repo.maven.apache.org/maven2
[DEBUG] Using connector WagonRepositoryConnector with priority 0.0 for
http://oss.sonatype.org/content/repositories/github-releases
Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading: http://oss.sonatype.org/content/repositories/github-releases/org/apache/maven/plugins/maven-metadata.xml
[DEBUG] Writing tracking file
/home/delawen/.m2/repository/org/apache/maven/plugins/resolver-status.properties
Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
(13 KB at 23.2 KB/sec)
[DEBUG] Writing tracking file
/home/delawen/.m2/repository/org/apache/maven/plugins/resolver-status.properties
Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
(22 KB at 37.9 KB/sec)
[DEBUG] Writing tracking file
/home/delawen/.m2/repository/org/codehaus/mojo/resolver-status.properties
[DEBUG] Could not find metadata
org.apache.maven.plugins/maven-metadata.xml in
oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoNetwork opensource ............................. SKIPPED
[INFO] common utils ...................................... SKIPPED
[INFO] Caching xslt module ............................... SKIPPED
[INFO] GeoNetwork domain ................................. SKIPPED
[INFO] Jeeves modules .................................... SKIPPED
[INFO] ArcSDE module (dummy-api) ......................... SKIPPED
[INFO] GeoNetwork user interface module .................. SKIPPED
[INFO] JS API & Service documentation .................... SKIPPED
[INFO] Oaipmh modules .................................... SKIPPED
[INFO] GeoNetwork web client module ...................... SKIPPED
[INFO] GeoNetwork core ................................... SKIPPED
[INFO] GeoNetwork CSW server ............................. SKIPPED
[INFO] GeoNetwork health monitor ......................... SKIPPED
[INFO] GeoNetwork harvesters ............................. SKIPPED
[INFO] GeoNetwork services ............................... SKIPPED
[INFO] Geonetwork Web Resources 4 Java ................... SKIPPED
[INFO] GeoNetwork Web module ............................. SKIPPED
[INFO] GeoNetwork E2E Javascript Tests ................... SKIPPED
[INFO] GeoServer module .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.098 s
[INFO] Finished at: 2014-04-11T09:08:39+01:00
[INFO] Final Memory: 13M/148M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'X' in the current project and in
the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
available from the repositories [local (/home/delawen/.m2/repository),
oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases),
central (http://repo.maven.apache.org/maven2)] -> [Help 1]
org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No
plugin found for prefix 'X' in the current project and in the plugin
groups [org.apache.maven.plugins, org.codehaus.mojo] available from
the repositories [local (/home/delawen/.m2/repository),
oss.sonatype.org-github-releases
(http://oss.sonatype.org/content/repositories/github-releases),
central (http://repo.maven.apache.org/maven2)]
        at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:93)
        at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:260)
        at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:220)
        at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
        at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:85)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException

On Fri, Apr 11, 2014 at 9:13 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

Hi,

Lately I have had many problems with maven repositories in geoNetwork.
This one is for the latest develop branch. Someone else having
problems?

Also, as I had some problems with version 2.10.x compilation on a
clean environment too.... should we set up a nexus maven repository of
our own to make sure all dependencies are always available? What do
you think?

Hi Maria

I tried

$ mvn clean package install -Dmaven.test.skip -XX:MaxPermSize=512m

and got the same issue, but this works fine for me:

$ export MAVEN_OPTS=“-Xmx1024M -XX:MaxPermSize=256M”
$ mvn clean package install -Dmaven.test.skip

Seem -XX:MaxPermSize=512m can’t be send as parameter for maven.

Regards,
Jose García

···

On Fri, Apr 11, 2014 at 9:14 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

On Fri, Apr 11, 2014 at 9:13 AM, María Arias de Reyna <delawen@anonymised.com> wrote:

Hi,

Lately I have had many problems with maven repositories in geoNetwork.
This one is for the latest develop branch. Someone else having
problems?

Also, as I had some problems with version 2.10.x compilation on a
clean environment too… should we set up a nexus maven repository of
our own to make sure all dependencies are always available? What do
you think?


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork


GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on GeoServer and GeoNetwork. Visit http://geocat.net for details.


Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

On Fri, Apr 11, 2014 at 9:19 AM, Jose Garcia <jose.garcia@anonymised.com> wrote:

Hi Maria

I tried

$ mvn clean package install -Dmaven.test.skip -XX:MaxPermSize=512m

and got the same issue, but this works fine for me:

$ export MAVEN_OPTS="-Xmx1024M -XX:MaxPermSize=256M"
$ mvn clean package install -Dmaven.test.skip

Seem -XX:MaxPermSize=512m can't be send as parameter for maven.

Regards,
Jose García

Good one, thanks.

Now I am having problems with the order of build, because jeeves
depends on domain which is built later. But this is minor :slight_smile:

On Fri, Apr 11, 2014 at 9:14 AM, María Arias de Reyna <delawen@anonymised.com>
wrote:

On Fri, Apr 11, 2014 at 9:13 AM, María Arias de Reyna <delawen@anonymised.com.>
wrote:
> Hi,
>
> Lately I have had many problems with maven repositories in geoNetwork.
> This one is for the latest develop branch. Someone else having
> problems?

Also, as I had some problems with version 2.10.x compilation on a
clean environment too.... should we set up a nexus maven repository of
our own to make sure all dependencies are always available? What do
you think?

------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork

--
GeoCat Bridge for ArcGIS allows instant publishing of data and metadata on
GeoServer and GeoNetwork. Visit http://geocat.net for details.
_________________________
Jose García
GeoCat bv
Veenderweg 13
6721 WD Bennekom
The Netherlands
http://GeoCat.net

I had the same issue with sonatype repository (which had many changes) while
building GN 2.6.5 one week ago; the following changes in pom.xml fixed it:
...
        <plugin>
          <groupId>net.alchim31.maven</groupId>
          <artifactId>yuicompressor-maven-plugin</artifactId>
          <version>1.0</version>
        </plugin>
        <plugin>

...

<pluginRepositories>
    <pluginRepository>
      <name>maven2-central</name>
      <id>maven2-central</id>
      <url>http://central.maven.org/maven2&lt;/url&gt;
    </pluginRepository>
  </pluginRepositories>

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/No-plugin-found-for-prefix-X-in-the-current-project-and-in-the-plugin-groups-org-apache-maven-plugin-tp5134500p5134713.html
Sent from the GeoNetwork developer mailing list archive at Nabble.com.