Error updating group repository metadata input contained no data

There I find: was missing an artifact ID, not the POM itself.

Reason: The problem here was an empty/corrupted in our local repository of the artifact wanted to install.

I am running Maven builds from the Bamboo build server on a faster machine than I was on and am running multiple builds simultaneously.

We had a problem with our m2-repository (which Archiva uses as its "internal"-repository) in such a way that we could not install artifacts from one of our projects into the repository.

JDOUser Exception: Field org.apache.maven.archiva.model. Exclusion.artifact Id is null, but is mandatory as its described in the jdo metadata at store.rdbms.fieldmanager.

Parameter Setter.store String Field(Parameter Setter.java:120) at state.

In an EAV data model, each attribute-value pair is a fact describing an entity, and a row in an EAV table stores a single fact.

[exec] [INFO] skip non existing resource Directory /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/src/main/resources [exec] [INFO] Copying 3 resources [exec] [INFO] [compiler:compile] [exec] [INFO] Compiling 1 source file to /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/target/classes [exec] [INFO] [resources:test Resources] [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.State Manager Impl.provided String Field(State Manager Impl.java:2757) at org.apache.maven.archiva.model. State Manager Impl.provide Fields(State Manager Impl.java:3115) at store.rdbms.request.Provide Field(Exclusion.java) at org.apache.maven.archiva.model. Insert Request.execute(Insert Request.java:252) So I checked the pom which does not have an artifact Id according to Archiva.[exec] [INFO] skip non existing resource Directory /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/src/test/resources [exec] [INFO] Copying 3 resources [exec] [INFO] [compiler:test Compile] [exec] [INFO] Not compiling test sources [exec] [INFO] [surefire:test] [exec] [INFO] Tests are skipped.[exec] [INFO] [jar:jar] [exec] [INFO] Building jar: /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/target/maven-plugin-plugin-0.1[exec] [INFO] [plugin:add Plugin Artifact Metadata] [exec] [INFO] [install:install] [exec] [INFO] Writing transformed POM using encoding: UTF-8 [exec] [INFO] Installing /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-plugin-plugin/target/maven-plugin-plugin-0.1to /opt/repos/bootstrap-maven-2.1.x/org/apache/maven/plugins/maven-plugin-plugin/0.1-stub-SNAPSHOT/maven-plugin-plugin-0.1[exec] [INFO] [plugin:update Registry] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Building Maven Integration Test Plugin :: Maven RAR Plugin Stub [exec] [INFO] task-segment: [clean, install] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] [clean:clean] [exec] [INFO] [plugin:descriptor] [exec] [INFO] Using 2 extractors.[exec] [INFO] skip non existing resource Directory /private/tmp/maven-integration-tests-2.1.x/core-it-support/core-it-plugins/maven-it-plugin-core-stubs/maven-rar-plugin/src/test/resources [exec] [INFO] Copying 3 resources [exec] [INFO] [compiler:test Compile] [exec] [INFO] Not compiling test sources [exec] [INFO] [surefire:test] [exec] [INFO] Tests are skipped.

305

Leave a Reply