Branch: refs/heads/stacks_as_facet
Home:
https://github.com/forge/core
Commit: 9cd3fa3d7d9db952c6f9a82d9849c8b4b88d6a1e
https://github.com/forge/core/commit/9cd3fa3d7d9db952c6f9a82d9849c8b4b88d...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-11 (Mon, 11 Jan 2016)
Changed paths:
M javaee/api/src/main/java/org/jboss/forge/addon/javaee/facets/JavaEE6Facet.java
M javaee/api/src/main/java/org/jboss/forge/addon/javaee/facets/JavaEE7Facet.java
M javaee/api/src/main/java/org/jboss/forge/addon/javaee/facets/JavaEESpecFacet.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/JavaEE6FacetImpl.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/JavaEE7FacetImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/cdi/ui/CDISetupCommandImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/ejb/ui/EJBSetupWizardImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jms/ui/setup/JMSSetupWizard.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui/setup/JPASetupWizardImpl.java
A projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/Stack.java
A projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackBuilder.java
A projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackFacet.java
A
projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackInspector.java
A
projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/annotations/StackConstraint.java
A
projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/annotations/StackConstraints.java
M
projects/api/src/main/java/org/jboss/forge/addon/projects/ui/AbstractProjectCommand.java
A projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NullStack.java
A
projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NullStackFacet.java
A
projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/StackFacetComparator.java
M
projects/impl/src/main/java/org/jboss/forge/addon/projects/ui/NewProjectWizardImpl.java
A projects/impl/src/main/java/org/jboss/forge/addon/projects/ui/StackListCommand.java
M
projects/impl/src/main/resources/META-INF/services/org.jboss.forge.furnace.container.simple.Service
A
projects/tests/src/test/java/org/jboss/forge/addon/projects/stacks/StackBuilderTest.java
Log Message:
-----------
FORGE-2316: Prototype on Stacks
As a proof-of-concept, the CDI: Setup command is only enabled on Java EE 7 projects
To create a JavaEE 7 project, use: project-new --named demo --stack java-ee-7
To create a JavaEE 6 project, use: project-new --named demo --stack java-ee-6
Observe that after the project is created, the JavaEE dependencies are set in the pom.xml
FORGE-2316: Renamed StackFacet.getName() to StackFacet.getStackName()
FORGE-2316: Refactoring
FORGE-2316: More refactoring. JPA Setup now displays only the supported stack version
FORGE-2316: Introduced project-list-stacks command
FORGE-2316: Introduced Stack and StackBuilder
FORGE-2316: Stack is Comparable
FORGE-2316: Comparing stacks in New Project wizard
FORGE-2316: Moved annotations to annotations subpackage
FORGE-2316: JPA Setup version is not shown if stack allows only one option
FORGE-2316: Moved priority() to StackFacet
FORGE-2316: Added supports(ProjectType) in StacksFacet
FORGE-2316: Moved stack definition to interface attribute