mirror of https://github.com/apache/archiva.git
use final part of the repository directory as the ID
This commit is contained in:
parent
4ec9c4356f
commit
4568a435d6
|
@ -164,7 +164,7 @@ public class ArchivaCli
|
|||
throws ConsumerException, MalformedURLException
|
||||
{
|
||||
ManagedRepository repo = new ManagedRepository();
|
||||
repo.setId( "cliRepo" );
|
||||
repo.setId( new File( path ).getName() );
|
||||
repo.setName( "Archiva CLI Provided Repo" );
|
||||
repo.setLocation( path );
|
||||
|
||||
|
|
Loading…
Reference in New Issue