Well, here is the cause of the "hidden" item:

2011-08-02 01:39:11,640 [pool-2-thread-1] ERROR
org.apache.maven.archiva.repository.scanner.functors.ConsumerProcessFileClosure
 - Consumer [update-db-artifact] had an error when processing file
[C:\Program Files
(x86)\archiva\apache-archiva-1.3.4\data\repositories\apelon-data\com\apelon\va\ihtsdo\wb\snomed\snomed-data\2010.07.31-build1-sct-en-vtmvmp-non-human-2-version\snomed-data-2010.07.31-build1-sct-en-vtmvmp-non-human-2-version.zip]:
Attempt to store value
"2010.07.31-build1-sct-en-vtmvmp-non-human-2-version" in column
"VERSION" that has maximum length of 50. Please correct your data!
javax.jdo.JDOFatalUserException: Attempt to store value
"2010.07.31-build1-sct-en-vtmvmp-non-human-2-version" in column
"VERSION" that has maximum length of 50. Please correct your data!
        at 
org.jpox.store.rdbms.mapping.CharRDBMSMapping.setString(CharRDBMSMapping.java:214)
        at 
org.jpox.store.mapping.SingleFieldMapping.setString(SingleFieldMapping.java:203)
        at 
org.jpox.store.rdbms.fieldmanager.ParameterSetter.storeStringField(ParameterSetter.java:122)
        at 
org.jpox.state.StateManagerImpl.providedStringField(StateManagerImpl.java:2757)
        at 
org.apache.maven.archiva.model.ArchivaArtifactModel.jdoProvideField(ArchivaArtifactModel.java)
        at 
org.apache.maven.archiva.model.ArchivaArtifactModel.jdoProvideFields(ArchivaArtifactModel.java)
        at 
org.jpox.state.StateManagerImpl.provideFields(StateManagerImpl.java:3115)
        at 
org.jpox.store.rdbms.request.InsertRequest.execute(InsertRequest.java:221)
        at org.jpox.store.rdbms.table.ClassTable.insert(ClassTable.java:2519)
        at org.jpox.store.StoreManager.insert(StoreManager.java:938)
        at 
org.jpox.state.StateManagerImpl.internalMakePersistent(StateManagerImpl.java:3667)
        at 
org.jpox.state.StateManagerImpl.makePersistent(StateManagerImpl.java:3646)
        at 
org.jpox.AbstractPersistenceManager.internalMakePersistent(AbstractPersistenceManager.java:1206)
        at 
org.jpox.AbstractPersistenceManager.makePersistent(AbstractPersistenceManager.java:1277)
        at 
org.apache.maven.archiva.database.jdo.JdoAccess.saveObject(JdoAccess.java:188)
        at 
org.apache.maven.archiva.database.jdo.JdoAccess.saveObject(JdoAccess.java:161)
        at 
org.apache.maven.archiva.database.jdo.JdoArtifactDAO.saveArtifact(JdoArtifactDAO.java:107)
        at 
org.apache.maven.archiva.consumers.database.ArtifactUpdateDatabaseConsumer.processFile(ArtifactUpdateDatabaseConsumer.java:211)
        at 
org.apache.maven.archiva.consumers.database.ArtifactUpdateDatabaseConsumer.processFile(ArtifactUpdateDatabaseConsumer.java:222)
        at 
org.apache.maven.archiva.repository.scanner.functors.ConsumerProcessFileClosure.execute(ConsumerProcessFileClosure.java:61)
        at 
org.apache.commons.collections.functors.IfClosure.execute(IfClosure.java:117)
        at 
org.apache.commons.collections.CollectionUtils.forAllDo(CollectionUtils.java:388)
        at 
org.apache.maven.archiva.repository.scanner.RepositoryScannerInstance.directoryWalkStep(RepositoryScannerInstance.java:161)
        at 
org.codehaus.plexus.util.DirectoryWalker.fireStep(DirectoryWalker.java:174)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:392)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scanDir(DirectoryWalker.java:386)
        at 
org.codehaus.plexus.util.DirectoryWalker.scan(DirectoryWalker.java:345)
        at 
org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:125)
        at 
org.apache.maven.archiva.repository.scanner.DefaultRepositoryScanner.scan(DefaultRepositoryScanner.java:67)
        at 
org.apache.maven.archiva.scheduled.executors.ArchivaRepositoryScanningTaskExecutor.executeTask(ArchivaRepositoryScanningTaskExecutor.java:141)
        at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
        at 
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442)
        at 
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:987)
        at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:528)
        at java.lang.Thread.run(Unknown Source)

So, not only does archiva have a limitation that it really shouldn't
have in the first place (I whole-heartedly agree with the previous
poster - archiva should not be enforcing any rules on the makeup of a
version numbers) - it also has a bug where it doesn't validate the
input well enough to enforce its own limitations.

Reply via email to