Skip to content

Commit

Permalink
Update node and npm versions
Browse files Browse the repository at this point in the history
Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>
  • Loading branch information
cescoffier committed Jan 30, 2014
1 parent 649feec commit 3ac93c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Expand Up @@ -23,8 +23,10 @@ public interface Constants {
public static final String TEST_SRC_DIR = "src/test/java";
public static final String TEST_RESOURCES_DIR = "src/test/resources";

public static final String NODE_VERSION = "0.10.21";
public static final String NPM_VERSION = "1.3.13";
public static final String NODE_VERSION = "0.10.25";
public static final String NPM_VERSION = "1.3.25";

public static final String INSTRUCTIONS_FILE = "src/main/osgi/osgi.bnd";

public static final String DEPENDENCIES_FILE = "target/osgi/dependencies.json";
}
Expand Up @@ -34,10 +34,8 @@
/**
* Packages the bundle using BND.
*/
public class BundlePackager {
public static final String INSTRUCTIONS_FILE = "src/main/osgi/osgi.bnd";
private static final String DEPENDENCIES = "target/osgi/dependencies.json";

public class BundlePackager implements org.wisdom.maven.Constants {

private BundlePackager(){
//Hide default constructor
}
Expand Down Expand Up @@ -159,7 +157,7 @@ private static Jar[] computeClassPath(File basedir) throws IOException {
}

ObjectMapper mapper = new ObjectMapper();
ArrayNode array = mapper.readValue(new File(basedir, DEPENDENCIES), ArrayNode.class);
ArrayNode array = mapper.readValue(new File(basedir, DEPENDENCIES_FILE), ArrayNode.class);
Iterator<JsonNode> items = array.elements();
while (items.hasNext()) {
ObjectNode node = (ObjectNode) items.next();
Expand Down

0 comments on commit 3ac93c8

Please sign in to comment.