Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aether-users] Properties not installed on local repository

Hi:

I was installing an artifact to a local repo with a set of properties.
I don't see that persisted anywhere on the local repo or any means to retrieve them:

Example:

Artifact art = new DefaultArtifact(...);
art.setFile("C:/temp/Demo.jar");
Map<String,String> props= new HashMap<String,String>();
props.put("prop1","good");
props.put('prop2","day");
art.setProperties(props);

...
InstallRequest req= new InstallRequest().addArtifact(art);
...
system.install(session,req)...
..
Am I missing something??

Thanks,

BK

Back to the top