Hi,
I've got an issue with the maven indexer in jdeveloper connecting to a apache archiva repository.
I have configured archiva to have 3 repos :
1) Internal proxing central ( no Credential )
2) Snapshots ( Credential with username and password )
3) Releases ( Credential with username and password )
I successfully achieve to index the internal repo but the snapshots and the releases don't want to be indexed.
When i try to index those repos, the maven indexer ask me for the username and password,
but it seems that the maven indexer of jdeveloper don't use the credential given in the dialog box.
Here's the stackstrace :
Apr 12, 2012 12:48:27 PM oracle.jdeveloper.maven.index.prefs.app.MavenRepositoryAppPanel doesLocalRepoMatchSettingsFile
INFO: Settings Repository Value is: C:\Users\Steven\.m2\repository
Apr 12, 2012 12:48:32 PM oracle.jdeveloper.maven.nexus.NexusRepositoryIndexerImpl loadIndexingContext
INFO: Found a broken index at O:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.maven.index.11\Local-1825058459
Apr 12, 2012 12:48:37 PM oracle.jdeveloper.maven.nexus.NexusRepositoryIndexerImpl loadIndexingContext
INFO: Found a broken index at O:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.maven.index.11\Local-1825058459
Apr 12, 2012 12:48:37 PM oracle.jdeveloper.maven.nexus.NexusRepositoryIndexerImpl indexLoadedRepo
INFO: Indexing Remote Repository: releases
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.util.ProxyTester testProxy
WARNING: http://archiva/archiva/repository/releases/.index could not be accessed. Please check your network settings.
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener <init>
INFO: Logging: releases
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.NexusRepositoryIndexerImpl indexLoadedRepo
INFO: Retrieving Remote indexes for: releases
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener transferInitiated
INFO: Transfer Initiated for: (releases)-from:http://archiva/archiva/repository/releases/.index nexus-maven-repository-index.properties
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener debug
INFO: http://archiva/archiva/repository/releases/.index/nexus-maven-repository-index.properties - Status code: 401
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener transferError
INFO: Finish with Errors
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener debug
INFO: Authorization exception retrieving nexus-maven-repository-index.properties; Not authorized.
Apr 12, 2012 12:48:43 PM oracle.jdeveloper.maven.nexus.NexusRepositoryIndexerImpl indexLoadedRepo
INFO: Error occured trying to retrieve remote repository index for:
releases
URL: http://archiva/archiva/repository/releases
Index URL: http://archiva/archiva/repository/releases/.index
Apr 12, 2012 12:48:44 PM oracle.jdeveloper.maven.nexus.RemoteIndexTransferListener transferCompleted
INFO: Completed
The Status code: 401 is a bad response because if i set the releases repo with no auth. (guest have the right to read) everything works fine.
Anyone had the same issue ? After searching a bit i found that the m2eclipse plugin got the same issue but was patched.
So is it a matter of updating the jdev plugin ? Is there another plugin that i could use in jdev (like the m2eclipse ou maven4eclipse)
my jdev version is 11g2 11.1.2.1.0
Thanks to anyone who could help me
Angle