Search in sources :

Example 1 with ProjectRelationshipSerializerModule

use of org.commonjava.maven.atlas.graph.jackson.ProjectRelationshipSerializerModule in project indy by Commonjava.

the class PomDownloadSimpleDepTest method init.

@Before
public void init() {
    mapper = new ObjectMapper();
    mapper.registerModules(new ProjectVersionRefSerializerModule(), new ProjectRelationshipSerializerModule());
}
Also used : ProjectRelationshipSerializerModule(org.commonjava.maven.atlas.graph.jackson.ProjectRelationshipSerializerModule) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) ProjectVersionRefSerializerModule(org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule) Before(org.junit.Before)

Example 2 with ProjectRelationshipSerializerModule

use of org.commonjava.maven.atlas.graph.jackson.ProjectRelationshipSerializerModule in project indy by Commonjava.

the class PomDownloadDepFromParentTest method init.

@Before
public void init() {
    mapper = new ObjectMapper();
    mapper.registerModules(new ProjectVersionRefSerializerModule(), new ProjectRelationshipSerializerModule());
}
Also used : ProjectRelationshipSerializerModule(org.commonjava.maven.atlas.graph.jackson.ProjectRelationshipSerializerModule) ObjectMapper(com.fasterxml.jackson.databind.ObjectMapper) ProjectVersionRefSerializerModule(org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule) Before(org.junit.Before)

Aggregations

ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)2 ProjectRelationshipSerializerModule (org.commonjava.maven.atlas.graph.jackson.ProjectRelationshipSerializerModule)2 ProjectVersionRefSerializerModule (org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule)2 Before (org.junit.Before)2