I encountered this error in 1.0-beta-3, could anyone please verify if
this really exists or its just me? :)
jvm 1 | 2007-10-24 10:44:46,186 [pool-1-thread-1] INFO
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project
- Adding project model to database -
org.jruby.plugins:jruby-rake-plugin:1.0RC1-20070506.090132-4
jvm 1 | 2007-10-24 10:44:46,187 [pool-1-thread-1] ERROR
org.apache.maven.archiva.consumers.DatabaseUnprocessedArtifactConsumer:update-db-project
- Unable to process model
/home/deng/TestFiles/sample-local-repo/org/jruby/plugins/jruby-rake-plugin/1.0RC1-SNAPSHOT/jruby-rake-plugin-1.0RC1-20070506.090132-4.pom
due to : javax.jdo.JDOUserException : Field
org.apache.maven.archiva.model.ArchivaProjectModel.origin is null, but
is mandatory as its described in the jdo metadata
jvm 1 | javax.jdo.JDOUserException: Field
org.apache.maven.archiva.model.ArchivaProjectModel.origin is null, but
is mandatory as its described in the jdo metadata
jvm 1 | at
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:120)
jvm 1 | at
org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
jvm 1 | at
org.apache.maven.archiva.model.ArchivaProjectModel.jdoProvideField(ArchivaProjectModel.java)
...
This is what I did:
1. Added a new m2 repository 'sample-local-repo' (which already exists
in my local file system and has artifacts in it)
2. Scanned the repository
3. Updated the database
4. Removed the repository
5. Added it back again, with the same name, identifier and location.
6. Scanned the repository
7. Updated the database (this is where the error occurred)
Thanks,
Deng
Maria Odea Ching wrote:
Hi All,
Archiva 1.0-beta-3 is now ready for release.
The highlights of this release are:
- major fixes in path resolution of artifacts (for proxying and consumers)
- fixes in updating of metadata files
- fixes in proxy connectors configuration
- tomcat deployment issues
- additional fixes in proxying
- form validations in webapp
The release notes for Archiva 1.0-beta-3 is available here:
http://jira.codehaus.org/secure/ReleaseNote.jspa?version=13660&styleName=Text&projectId=10980&Create=Create
<http://jira.codehaus.org/secure/ReleaseNote.jspa?version=13660&styleName=Text&projectId=10980&Create=Create>
While the binaries including the sources, checksums and signatures can
be found in:
http://people.apache.org/builds/maven/archiva/1.0-beta-3/
Everyone is encouraged to vote and give their feedback.
[ ] +1 Release it!
[ ] 0
[ ] -1 Don't release it, because...
The vote will be open for 72 hours. So, cast your votes now ;-)
Here's my +1
Thanks,
Deng