Skip to content

Commit

Permalink
Fixed JSF 2.2 dependency JAR
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Sep 21, 2013
1 parent 7f21b0d commit a9dba12
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.jboss.shrinkwrap.descriptor.api.facesconfig22.WebFacesConfigDescriptor;

/**
* Facets for the JSF 2.2 Implementation
*
* @author <a href="ggastald@redhat.com">George Gastaldi</a>
*/
Expand All @@ -33,8 +34,8 @@ public FacesFacetImpl_2_2(DependencyInstaller installer)
super(installer);
}

public static final Dependency JAVAEE6_FACES_21 = DependencyBuilder
.create("org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec").setScopeType("provided");
public static final Dependency FACES_2_2 = DependencyBuilder
.create("javax.faces:javax.faces-api:2.2").setScopeType("provided");

@Override
public Version getSpecVersion()
Expand All @@ -46,7 +47,7 @@ public Version getSpecVersion()
protected Map<Dependency, List<Dependency>> getRequiredDependencyOptions()
{
Map<Dependency, List<Dependency>> result = new LinkedHashMap<Dependency, List<Dependency>>();
result.put(JAVAEE6_FACES_21, Arrays.asList(JAVAEE6_FACES_21));
result.put(FACES_2_2, Arrays.asList(FACES_2_2));
return result;
}

Expand Down

0 comments on commit a9dba12

Please sign in to comment.