[forge/core] 415f03: FORGE-2316: Prototype on Stacks
by George Gastaldi
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: 415f03a0ad5799d0b52a2c26fb1253b64cea8abc
https://github.com/forge/core/commit/415f03a0ad5799d0b52a2c26fb1253b64cea...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 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: 0342c00f0f88eb5d123c963c84c31a76c0809dbe
https://github.com/forge/core/commit/0342c00f0f88eb5d123c963c84c31a76c080...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 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
Commit: b378baf7358f5f823b21ac63cb397ddeef53fe70
https://github.com/forge/core/commit/b378baf7358f5f823b21ac63cb397ddeef53...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jms/ui/setup/JMSSetupWizard.java
Log Message:
-----------
FORGE-2316: JMS:Setup is now stack-aware
Commit: d14e4f57e2cfe747fbf7251a98e2eb34f667f1c3
https://github.com/forge/core/commit/d14e4f57e2cfe747fbf7251a98e2eb34f667...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 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
Log Message:
-----------
FORGE-2316: Added JavaEE facets to supported stacks
Commit: 9be0e75ee80dbd6afa1954dc043be4117ed914ed
https://github.com/forge/core/commit/9be0e75ee80dbd6afa1954dc043be4117ed9...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/Stack.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackBuilder.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStack.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/ui/StackListCommand.java
Log Message:
-----------
FORGE-2316: Renamed Stack.getBundledFacets to getIncludedFacets
Commit: 0951c7474c7e90a86933d078b28515100daf1710
https://github.com/forge/core/commit/0951c7474c7e90a86933d078b28515100daf...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 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/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/ProjectType.java
M 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/StackSupport.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStackFacet.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/ui/NewProjectWizardImpl.java
Log Message:
-----------
FORGE-2316: Introduced StackSupport
Commit: f079dbe1b69a6af31e0a8eabe2a80ff806224967
https://github.com/forge/core/commit/f079dbe1b69a6af31e0a8eabe2a80ff80622...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M projects/api/src/main/java/org/jboss/forge/addon/projects/Project.java
Log Message:
-----------
FORGE-2316: Added default method getStack() to Project
Commit: ff84258cc976bfb9dfb98b3076ceba421eb1629a
https://github.com/forge/core/commit/ff84258cc976bfb9dfb98b3076ceba421eb1...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M javaee/api/src/main/java/org/jboss/forge/addon/javaee/jpa/PersistenceContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/CustomJDBCContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/GlassFish3Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/GlassFish4Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossAS6Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossAS7Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossEAP6Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossEAP7Container.java
A javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEE6Container.java
A javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEE7Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEEDefaultContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/NonJTAContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/WebLogic12cContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/WildflyContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/ui/setup/JPASetupWizardImpl.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/Project.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackFacet.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/ui/AbstractProjectCommand.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/ui/NewProjectWizardImpl.java
Log Message:
-----------
FORGE-2316: PersistenceContainer implements StackSupport
Commit: d4fd826f98b93b94853e597ceeaeae7d43a90476
https://github.com/forge/core/commit/d4fd826f98b93b94853e597ceeaeae7d43a9...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/Stack.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackBuilder.java
M projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStack.java
Log Message:
-----------
FORGE-2316: Added excluded facets to Stack
Commit: 8599d689b72293ff22b03dac991ac86eb948ddd5
https://github.com/forge/core/commit/8599d689b72293ff22b03dac991ac86eb948...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M projects/api/src/main/java/org/jboss/forge/addon/projects/stacks/StackBuilder.java
M projects/tests/src/test/java/org/jboss/forge/addon/projects/stacks/StackBuilderTest.java
Log Message:
-----------
FORGE-2316: Added excluded stacks to Stack
Commit: ba39e22f6ebb5b9b5de1ca4f36cc2f323f89141a
https://github.com/forge/core/commit/ba39e22f6ebb5b9b5de1ca4f36cc2f323f89...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
Changed paths:
M projects/api/src/main/java/org/jboss/forge/addon/projects/Project.java
Log Message:
-----------
FORGE-2316: Improved Project.getStack
Commit: b9b962b3bea6984caa7f88621e44bdb50bdcceb9
https://github.com/forge/core/commit/b9b962b3bea6984caa7f88621e44bdb50bdc...
Author: George Gastaldi <gegastaldi(a)gmail.com>
Date: 2016-01-14 (Thu, 14 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/api/src/main/java/org/jboss/forge/addon/javaee/jpa/PersistenceContainer.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/containers/CustomJDBCContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/GlassFish3Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/GlassFish4Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossAS6Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossAS7Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossEAP6Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JBossEAP7Container.java
A javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEE6Container.java
A javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEE7Container.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/JavaEEDefaultContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/NonJTAContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/WebLogic12cContainer.java
M javaee/impl/src/main/java/org/jboss/forge/addon/javaee/jpa/containers/WildflyContainer.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
M projects/api/src/main/java/org/jboss/forge/addon/projects/Project.java
M projects/api/src/main/java/org/jboss/forge/addon/projects/ProjectType.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/StackSupport.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/NoStack.java
A projects/impl/src/main/java/org/jboss/forge/addon/projects/stacks/NoStackFacet.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
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:
-----------
Merge pull request #592 from forge/stacks_as_facet
FORGE-2316: Support for Stacks
Compare: https://github.com/forge/core/compare/2a01b534903f...b9b962b3bea6
8 years, 11 months