[JBoss JIRA] (FORGE-1951) Implement Browse button for 'JDBC Driver' in JPA: Setup wizard
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1951?page=com.atlassian.jira.plugin... ]
George Gastaldi moved JBIDE-17962 to FORGE-1951:
------------------------------------------------
Project: Forge (was: Tools (JBoss Tools))
Key: FORGE-1951 (was: JBIDE-17962)
Affects Version/s: 2.7.2.Final
(was: 4.2.0.Beta2)
Component/s: Java EE
(was: forge)
Security: Public
Fix Version/s: 2.7.3.Final
(was: 4.2.0.CR1)
> Implement Browse button for 'JDBC Driver' in JPA: Setup wizard
> --------------------------------------------------------------
>
> Key: FORGE-1951
> URL: https://issues.jboss.org/browse/FORGE-1951
> Project: Forge
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Java EE
> Affects Versions: 2.7.2.Final
> Reporter: George Gastaldi
> Fix For: 2.7.3.Final
>
> Attachments: jpa-setup-FR.png
>
>
> From usability point of view it would be more convenient for the user to enter the JDBC Driver with browse button.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1488) Build command does not display build's log
by Lincoln Baxter III (JIRA)
[ https://issues.jboss.org/browse/FORGE-1488?page=com.atlassian.jira.plugin... ]
Lincoln Baxter III commented on FORGE-1488:
-------------------------------------------
+1, I think a --quiet flag makes most sense. Not showing build output by default is often confusing because you have 0 way to find out what is going on/what is stuck/broken.
> Build command does not display build's log
> ------------------------------------------
>
> Key: FORGE-1488
> URL: https://issues.jboss.org/browse/FORGE-1488
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Build Tools - Maven
> Affects Versions: 2.0.0.CR1
> Reporter: George Gastaldi
> Assignee: Ricardo Martinelli Oliveira
> Fix For: 2.x Future
>
>
> {code}
> [bin]$ cd demo
> [demo]$ build
> ***SUCCESS*** Build Success
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1509) "Could not resolve managed dependencies in project" goes into loop
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1509?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned FORGE-1509:
--------------------------------------
Assignee: George Gastaldi (was: Matej Briskar)
> "Could not resolve managed dependencies in project" goes into loop
> ------------------------------------------------------------------
>
> Key: FORGE-1509
> URL: https://issues.jboss.org/browse/FORGE-1509
> Project: Forge
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: UI - Shell
> Affects Versions: 2.0.0.CR2
> Reporter: Antonio Goncalves
> Assignee: George Gastaldi
> Priority: Blocker
> Fix For: 2.x Future
>
>
> I removed a managed dependency :
> {code}
> project-remove-managed-dependencies org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar::1.0.0.Draft-16
> {code}
> But not the dependency itself. The the Forge console becomes unusable and I need to kill the process. The following logs go on and on, the java process growth (>900Mb) and then I kill the process.
> {code}
> 17:18:53,184 SEVERE [org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet] (Aesh Read Loop 751432670) Could not resolve managed dependencies in project [/Users/antoniombp/Documents/Code/temp/Forge/pluralsight-persistence/pom.xml]. : java.lang.RuntimeException: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar is missing. @ line 47, column 17
> at org.jboss.forge.addon.maven.projects.MavenFacetImpl.getProjectBuildingResult(MavenFacetImpl.java:337) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.maven.projects.MavenFacetImpl_$$_javassist_f26b4fe5-244d-4837-9b87-f56ef61e8f89.getProjectBuildingResult(MavenFacetImpl_$$_javassist_f26b4fe5-244d-4837-9b87-f56ef61e8f89.java) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.getEffectiveDependencies(MavenDependencyFacet.java:174) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.getEffectiveDependency(MavenDependencyFacet.java:156) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet.hasEffectiveDependency(MavenDependencyFacet.java:150) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.maven.projects.facets.MavenDependencyFacet_$$_javassist_5d93331d-6c9b-46d7-87ad-0b2a08c661ee.hasEffectiveDependency(MavenDependencyFacet_$$_javassist_5d93331d-6c9b-46d7-87ad-0b2a08c661ee.java) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.javaee.AbstractJavaEEFacet.dependencyRequirementsMet(AbstractJavaEEFacet.java:97) [javaee-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.javaee.AbstractJavaEEFacet.isInstalled(AbstractJavaEEFacet.java:86) [javaee-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.facets.AbstractFacet_$$_javassist_ae9ac6dc-ec4e-4f52-aafa-8d5a62555325.isInstalled(AbstractFacet_$$_javassist_ae9ac6dc-ec4e-4f52-aafa-8d5a62555325.java)
> at org.jboss.forge.addon.facets.AbstractFaceted.register(AbstractFaceted.java:75) [facets-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.facets.FacetFactoryImpl.register(FacetFactoryImpl.java:310) [facets-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.facets.FacetFactoryImpl.register(FacetFactoryImpl.java:245) [facets-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.facets.FacetFactoryImpl_$$_javassist_672e742f-af74-42a6-87fe-dd4986e3ac3a.register(FacetFactoryImpl_$$_javassist_672e742f-af74-42a6-87fe-dd4986e3ac3a.java) [facets-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.container.cdi.services.ExportedInstanceLazyLoader.invoke(ExportedInstanceLazyLoader.java:64) [cdi-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.facets.FacetFactory_$$_javassist_5c825df3-bac2-453e-8c71-1adcee48cbb7.register(FacetFactory_$$_javassist_5c825df3-bac2-453e-8c71-1adcee48cbb7.java) [facets-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.registerAvailableFacets(ProjectFactoryImpl.java:345) [projects-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:197) [projects-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:126) [projects-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl.findProject(ProjectFactoryImpl.java:110) [projects-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.impl.ProjectFactoryImpl_$$_javassist_15065f79-b53f-4a95-8e79-254b9f46ee60.findProject(ProjectFactoryImpl_$$_javassist_15065f79-b53f-4a95-8e79-254b9f46ee60.java) [projects-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.container.cdi.services.ExportedInstanceLazyLoader.invoke(ExportedInstanceLazyLoader.java:64) [cdi-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.ProjectFactory_$$_javassist_cc1cb134-6f77-43d4-a2cb-38c60d50ee16.findProject(ProjectFactory_$$_javassist_cc1cb134-6f77-43d4-a2cb-38c60d50ee16.java) [projects-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.getSelectedProject(AbstractProjectCommand.java:76) [projects-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.constraintsSatisfied(AbstractProjectCommand.java:43) [projects-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.projects.ui.AbstractProjectCommand.isEnabled(AbstractProjectCommand.java:36) [projects-api-2.0.0.CR2.jar:2.0.0.CR2]
> at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) [:1.7.0_51]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_51]
> at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_51]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:59) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:34) [furnace-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:75) [furnace-proxy-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.parser.java.ui.JavaEnumCommand_$$_javassist_70f7c5ca-fce5-4513-af3b-3884eb2d8955.isEnabled(JavaEnumCommand_$$_javassist_70f7c5ca-fce5-4513-af3b-3884eb2d8955.java) [parser-java-impl-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.ui.util.Commands.getEnabledCommands(Commands.java:27) [ui-api-2.0.0.CR2.jar:2.0.0.CR2]
> at org.jboss.forge.addon.shell.CommandManager.getAllCommandNames(CommandManager.java:46)
> at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getForgeCommandNames(ForgeCommandRegistry.java:170)
> at org.jboss.forge.addon.shell.aesh.ForgeCommandRegistry.getAllCommandNames(ForgeCommandRegistry.java:161)
> at org.jboss.aesh.console.AeshConsoleImpl.completeCommandName(AeshConsoleImpl.java:177)
> at org.jboss.aesh.console.AeshConsoleImpl.access$000(AeshConsoleImpl.java:47)
> at org.jboss.aesh.console.AeshConsoleImpl$AeshCompletion.complete(AeshConsoleImpl.java:224)
> at org.jboss.aesh.console.Console.complete(Console.java:1366)
> at org.jboss.aesh.console.Console.parseOperation(Console.java:717)
> at org.jboss.aesh.console.Console.processInternalOperation(Console.java:584)
> at org.jboss.aesh.console.Console.read(Console.java:554)
> at org.jboss.aesh.console.Console.access$100(Console.java:78)
> at org.jboss.aesh.console.Console$5.run(Console.java:504)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> Caused by: org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar is missing. @ line 47, column 17
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:179) [maven-core-3.1.1.jar:3.1.1]
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:105) [maven-core-3.1.1.jar:3.1.1]
> at org.jboss.forge.addon.maven.projects.MavenFacetImpl.getProjectBuildingResult(MavenFacetImpl.java:329) [maven-impl-projects-2.0.0.CR2.jar:2.0.0.CR2]
> ... 83 more
> Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model for com.pluralsight.persistence.module07:pluralsight-persistence:1.0.0-SNAPSHOT
> [ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar is missing. @ line 47, column 17
> at org.apache.maven.model.building.DefaultModelProblemCollector.newModelBuildingException(DefaultModelProblemCollector.java:195) [maven-model-builder-3.1.1.jar:3.1.1]
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:416) [maven-model-builder-3.1.1.jar:3.1.1]
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:368) [maven-model-builder-3.1.1.jar:3.1.1]
> at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:359) [maven-model-builder-3.1.1.jar:3.1.1]
> at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:145) [maven-core-3.1.1.jar:3.1.1]
> ... 85 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1950) command to format a file (or folder recursively) of Java source files
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1950:
-----------------------------------------
Summary: command to format a file (or folder recursively) of Java source files
Key: FORGE-1950
URL: https://issues.jboss.org/browse/FORGE-1950
Project: Forge
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Developer Tools - Java
Affects Versions: 2.7.2.Final
Reporter: Lincoln Baxter III
Fix For: 2.x Future
java-format-sources --sources [Resource (either JavaResource or DirectoryResource)] --profile [Resource (must be an eclipse code format config)]
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1949) Generate Entities from Tables is blocked
by George Gastaldi (JIRA)
George Gastaldi created FORGE-1949:
--------------------------------------
Summary: Generate Entities from Tables is blocked
Key: FORGE-1949
URL: https://issues.jboss.org/browse/FORGE-1949
Project: Forge
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Database Tools, UI - Eclipse
Affects Versions: 2.7.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Priority: Blocker
Fix For: 2.7.2.Final
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1948) Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed
by Michal Matloka (JIRA)
[ https://issues.jboss.org/browse/FORGE-1948?page=com.atlassian.jira.plugin... ]
Michal Matloka updated FORGE-1948:
----------------------------------
Summary: Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed (was: Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed?)
> Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed
> -------------------------------------------------------------
>
> Key: FORGE-1948
> URL: https://issues.jboss.org/browse/FORGE-1948
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.7.0.Final
> Reporter: Michal Matloka
>
> Execution of the following commands
> {noformat}
> [bin]$ project-new --named forge-demo --topLevelPackage com.packtpub.wflydevelop
> ment.appendix projectFolder forge-demo
> ***SUCCESS*** Project named 'forge-demo' has been created.
> [forge-demo]$ jpa-setup --jpaVersion 2.1 --provider HIBERNATE --container WILDFL
> Y --dbType POSTGRES --dataSourceName ja-va:jboss/datasources/PostgreSqlDS
> ***SUCCESS*** Persistence (JPA) is installed.
> [persistence.xml]$
> {noformat}
> Results in pom.xml:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.packtpub.wflydevelopment.appendix</groupId>
> <artifactId>forge-demo</artifactId>
> <version>1.0.0-SNAPSHOT</version>
> <packaging>war</packaging>
> <properties>
> <maven.compiler.source>1.7</maven.compiler.source>
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> <maven.compiler.target>1.7</maven.compiler.target>
> </properties>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.spec</groupId>
> <artifactId>jboss-javaee-6.0</artifactId>
> <version>3.0.2.Final</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> <dependency>
> <groupId>org.hibernate.javax.persistence</groupId>
> <artifactId>hibernate-jpa-2.1-api</artifactId>
> <version>1.0.0.Draft-16</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.hibernate.javax.persistence</groupId>
> <artifactId>hibernate-jpa-2.1-api</artifactId>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <version>2.4</version>
> <configuration>
> <failOnMissingWebXml>false</failOnMissingWebXml>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {noformat}
> I rather expected to get javaee 7 api instead of jboss-javaee-6.0 ;)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months
[JBoss JIRA] (FORGE-1948) Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed?
by Michal Matloka (JIRA)
[ https://issues.jboss.org/browse/FORGE-1948?page=com.atlassian.jira.plugin... ]
Michal Matloka updated FORGE-1948:
----------------------------------
Description:
Execution of the following commands
{noformat}
[bin]$ project-new --named forge-demo --topLevelPackage com.packtpub.wflydevelop
ment.appendix projectFolder forge-demo
***SUCCESS*** Project named 'forge-demo' has been created.
[forge-demo]$ jpa-setup --jpaVersion 2.1 --provider HIBERNATE --container WILDFL
Y --dbType POSTGRES --dataSourceName ja-va:jboss/datasources/PostgreSqlDS
***SUCCESS*** Persistence (JPA) is installed.
[persistence.xml]$
{noformat}
Results in pom.xml:
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.packtpub.wflydevelopment.appendix</groupId>
<artifactId>forge-demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>3.0.2.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Draft-16</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
{noformat}
I rather expected to get javaee 7 api instead of jboss-javaee-6.0 ;)
was:
Execution of the following commands
{noformat}
[bin]$ project-new --named forge-demo --topLevelPackage com.packtpub.wflydevelop
ment.appendix projectFolder forge-demo
***SUCCESS*** Project named 'forge-demo' has been created.
[forge-demo]$ jpa-setup --jpaVersion 2.1 --provider HIBERNATE --container WILDFL
Y --dbType POSTGRES --dataSourceName ja-va:jboss/datasources/PostgreSqlDS
***SUCCESS*** Persistence (JPA) is installed.
[persistence.xml]$
{noformat}
Results in pom.xml:
{noformat}
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>com.packtpub.wflydevelopment.appendix</groupId>
<artifactId>forge-demo</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.spec</groupId>
<artifactId>jboss-javaee-6.0</artifactId>
<version>3.0.2.Final</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>1.0.0.Draft-16</version>
<scope>provided</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.4</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
</build>
</project>
{noformat}
> Avoid adding JavaEE6 pom when JavaEE7 artifacts are installed?
> --------------------------------------------------------------
>
> Key: FORGE-1948
> URL: https://issues.jboss.org/browse/FORGE-1948
> Project: Forge
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.7.0.Final
> Reporter: Michal Matloka
>
> Execution of the following commands
> {noformat}
> [bin]$ project-new --named forge-demo --topLevelPackage com.packtpub.wflydevelop
> ment.appendix projectFolder forge-demo
> ***SUCCESS*** Project named 'forge-demo' has been created.
> [forge-demo]$ jpa-setup --jpaVersion 2.1 --provider HIBERNATE --container WILDFL
> Y --dbType POSTGRES --dataSourceName ja-va:jboss/datasources/PostgreSqlDS
> ***SUCCESS*** Persistence (JPA) is installed.
> [persistence.xml]$
> {noformat}
> Results in pom.xml:
> {noformat}
> <?xml version="1.0" encoding="UTF-8"?>
> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.packtpub.wflydevelopment.appendix</groupId>
> <artifactId>forge-demo</artifactId>
> <version>1.0.0-SNAPSHOT</version>
> <packaging>war</packaging>
> <properties>
> <maven.compiler.source>1.7</maven.compiler.source>
> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> <maven.compiler.target>1.7</maven.compiler.target>
> </properties>
> <dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.jboss.spec</groupId>
> <artifactId>jboss-javaee-6.0</artifactId>
> <version>3.0.2.Final</version>
> <type>pom</type>
> <scope>import</scope>
> </dependency>
> <dependency>
> <groupId>org.hibernate.javax.persistence</groupId>
> <artifactId>hibernate-jpa-2.1-api</artifactId>
> <version>1.0.0.Draft-16</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> </dependencyManagement>
> <dependencies>
> <dependency>
> <groupId>org.hibernate.javax.persistence</groupId>
> <artifactId>hibernate-jpa-2.1-api</artifactId>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-war-plugin</artifactId>
> <version>2.4</version>
> <configuration>
> <failOnMissingWebXml>false</failOnMissingWebXml>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </project>
> {noformat}
> I rather expected to get javaee 7 api instead of jboss-javaee-6.0 ;)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 6 months