Branch: refs/heads/stacks_as_facet
Home:
https://github.com/forge/core
Commit: bc9a5185809ff712ab2033e9bf5f39664f032d4a
https://github.com/forge/core/commit/bc9a5185809ff712ab2033e9bf5f39664f03...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-13 (Wed, 13 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/faces/src/test/java/org/jboss/forge/addon/scaffold/faces/FacesScaffoldTest.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/EJBSetClassTransactionAttributeCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/ejb/ui/EJBSetMethodTransactionAttributeCommand.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/ejb/ui/NewEJBCommand.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/ejb/ui/NewMDBSetupStep.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/faces/ui/AbstractFacesCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/faces/ui/FacesNewValidatorMethodCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/faces/ui/FacesSetProjectStageCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/faces/ui/FacesSetupWizardImpl.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
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/ui/AbstractRestNewCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/ui/RestEndpointFromEntityCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/ui/setup/RestSetupWizardImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/servlet/ui/ServletNewFilterCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/servlet/ui/ServletNewServletCommand.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/servlet/ui/ServletSetupWizardImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/validation/ui/ValidationAddConstraintWizardImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/validation/ui/ValidationNewAnnotationCommandImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/validation/ui/ValidationNewGroupCommandImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/validation/ui/ValidationNewPayloadCommandImpl.java
M
javaee/impl/src/main/java/org/jboss/forge/addon/javaee/validation/ui/setup/ValidationProviderSetupCommandImpl.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
Commit: cafa65c115c93ec80288e56b0c53d1a531286f93
https://github.com/forge/core/commit/cafa65c115c93ec80288e56b0c53d1a53128...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-13 (Wed, 13 Jan 2016)
Changed paths:
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 projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackFacet.java
A projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStack.java
A projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStackFacet.java
R projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NullStack.java
R
projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NullStackFacet.java
M
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
M
projects/impl/src/main/resources/META-INF/services/org.jboss.forge.furnace.container.simple.Service
M ui/api/src/main/java/org/jboss/forge/addon/ui/util/Commands.java
A ui/api/src/test/java/org/jboss/forge/addon/ui/util/CommandsTest.java
Log Message:
-----------
FORGE-2316: Renamed NullStack to NoStack and changed the shell option values format
Compare:
https://github.com/forge/core/compare/7afd431095c1...cafa65c115c9