use of org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule in project indy by Commonjava.
the class PomDownloadSimpleDepTest method init.
@Before
public void init() {
mapper = new ObjectMapper();
mapper.registerModules(new ProjectVersionRefSerializerModule(), new ProjectRelationshipSerializerModule());
}
use of org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule in project indy by Commonjava.
the class PomDownloadDepFromParentTest method init.
@Before
public void init() {
mapper = new ObjectMapper();
mapper.registerModules(new ProjectVersionRefSerializerModule(), new ProjectRelationshipSerializerModule());
}
use of org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule in project galley by Commonjava.
the class EmbeddableCDIProducer method postConstruct.
@PostConstruct
public void postConstruct() {
fileEventManager = new NoOpFileEventManager();
transferDecorator = new NoOpTransferDecorator();
pathGenerator = new HashedLocationPathGenerator();
nfc = new MemoryNotFoundCache();
// locationExpander = new NoOpLocationExpander();
// locationResolver = new SimpleUrlLocationResolver( locationExpander, transportManager );
transportManagerConfig = new TransportManagerConfig();
passwordManager = new MemoryPasswordManager();
http = new HttpImpl(passwordManager);
objectMapper = new ObjectMapper();
objectMapper.registerModules(new ProjectVersionRefSerializerModule());
pluginDefaults = new StandardMaven350PluginDefaults();
pluginImplications = new StandardMavenPluginImplications(xml);
}
Aggregations