Skip to content

Commit

Permalink
Merge pull request #3 from chyt/master
Browse files Browse the repository at this point in the history
Added new Arquillian Liberty Container coordinates
  • Loading branch information
chyt authored May 31, 2018
2 parents 665d828 + d61f5eb commit e1b566e
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package net.wasdev.wlp.common.arquillian.util;

public class ArtifactCoordinates {

private final String groupId;
private final String artifactId;

public ArtifactCoordinates(String groupId, String artifactId) {
this.groupId = groupId;
this.artifactId = artifactId;
}

public String getGroupId() {
return groupId;
}

public String getArtifactId() {
return artifactId;
}

}
17 changes: 14 additions & 3 deletions src/main/java/net/wasdev/wlp/common/arquillian/util/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@
public class Constants {

public static final String CONFIGURE_ARQUILLIAN_COMMENT = "<!-- This file was generated by the Liberty build plugin. -->";
public static final String ARQUILLIAN_REMOTE_DEPENDENCY = "arquillian-wlp-remote-8.5";
public static final String ARQUILLIAN_MANAGED_DEPENDENCY = "arquillian-wlp-managed-8.5";
}

public static final ArtifactCoordinates[] ARQUILLIAN_MANAGED_DEPENDENCY =
{
new ArtifactCoordinates("org.jboss.arquillian.container", "arquillian-wlp-managed-8.5"),
new ArtifactCoordinates("io.openliberty.arquillian", "arquillian-liberty-managed")
};

public static final ArtifactCoordinates[] ARQUILLIAN_REMOTE_DEPENDENCY =
{
new ArtifactCoordinates("org.jboss.arquillian.container", "arquillian-wlp-remote-8.5"),
new ArtifactCoordinates("io.openliberty.arquillian", "arquillian-liberty-remote")
};

}

0 comments on commit e1b566e

Please sign in to comment.