[JBoss JIRA] (FORGE-2019) Compilation errors in JDK 1.8.0_20
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2019?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2019:
-----------------------------------
Priority: Major (was: Blocker)
> Compilation errors in JDK 1.8.0_20
> ----------------------------------
>
> Key: FORGE-2019
> URL: https://issues.jboss.org/browse/FORGE-2019
> Project: Forge
> Issue Type: Feature Request
> Components: Forge Build
> Affects Versions: 2.10.1.Final
> Environment: Fedora 20
> java version "1.8.0_20"
> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
> Reporter: George Gastaldi
> Fix For: 2.x Future
>
>
> {code}
> [ERROR] /usr/local/workspace/forge-core-2.0/shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java:[89,27] cannot access org.jboss.forge.furnace.container.simple.Service
> class file for org.jboss.forge.furnace.container.simple.Service not found
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project javaee-impl: Compilation failure
> [ERROR] /usr/local/workspace/forge-core-2.0/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java:[42,65] cannot access org.jboss.forge.furnace.container.simple.Service
> [ERROR] class file for org.jboss.forge.furnace.container.simple.Service not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (FORGE-2019) Compilation errors in JDK 1.8.0_20
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2019?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2019:
-----------------------------------
Issue Type: Feature Request (was: Bug)
> Compilation errors in JDK 1.8.0_20
> ----------------------------------
>
> Key: FORGE-2019
> URL: https://issues.jboss.org/browse/FORGE-2019
> Project: Forge
> Issue Type: Feature Request
> Components: Forge Build
> Affects Versions: 2.10.1.Final
> Environment: Fedora 20
> java version "1.8.0_20"
> Java(TM) SE Runtime Environment (build 1.8.0_20-b26)
> Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)
> Reporter: George Gastaldi
> Priority: Blocker
> Fix For: 2.x Future
>
>
> {code}
> [ERROR] /usr/local/workspace/forge-core-2.0/shell/impl/src/main/java/org/jboss/forge/addon/shell/command/CatCommand.java:[89,27] cannot access org.jboss.forge.furnace.container.simple.Service
> class file for org.jboss.forge.furnace.container.simple.Service not found
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project javaee-impl: Compilation failure
> [ERROR] /usr/local/workspace/forge-core-2.0/javaee/impl/src/main/java/org/jboss/forge/addon/javaee/rest/generator/ResourceGeneratorUtil.java:[42,65] cannot access org.jboss.forge.furnace.container.simple.Service
> [ERROR] class file for org.jboss.forge.furnace.container.simple.Service not found
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (FORGE-2154) Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2154?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2154.
----------------------------------
Resolution: Done
Fixed
> Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
> --------------------------------------------------------------------------------------------------
>
> Key: FORGE-2154
> URL: https://issues.jboss.org/browse/FORGE-2154
> Project: Forge
> Issue Type: Bug
> Components: Addon Development
> Affects Versions: 2.12.2.Final
> Reporter: Divya Dadlani
> Assignee: George Gastaldi
> Fix For: 2.12.3.Final
>
>
> The method "areEquivalent(Dependency, Dependency)" of org.jboss.forge.addon.dependencies.util.Dependencies does not check to see if the two dependencies have different packaging types or scopes.
> For example, I cannot add both of the following dependencies:
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>jar</type>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>test-jar</type>
> <scope>test</scope>
> </dependency>
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (FORGE-2154) Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2154?page=com.atlassian.jira.plugin... ]
Work on FORGE-2154 started by George Gastaldi.
----------------------------------------------
> Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
> --------------------------------------------------------------------------------------------------
>
> Key: FORGE-2154
> URL: https://issues.jboss.org/browse/FORGE-2154
> Project: Forge
> Issue Type: Bug
> Components: Addon Development
> Affects Versions: 2.12.2.Final
> Reporter: Divya Dadlani
> Assignee: George Gastaldi
> Fix For: 2.12.3.Final
>
>
> The method "areEquivalent(Dependency, Dependency)" of org.jboss.forge.addon.dependencies.util.Dependencies does not check to see if the two dependencies have different packaging types or scopes.
> For example, I cannot add both of the following dependencies:
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>jar</type>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>test-jar</type>
> <scope>test</scope>
> </dependency>
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month
[JBoss JIRA] (FORGE-2154) Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2154?page=com.atlassian.jira.plugin... ]
George Gastaldi commented on FORGE-2154:
----------------------------------------
Hi [~ddadlani],
Can you create a test case with the expected behavior? A Pull-request would be even better ;)
> Cannot add two dependencies that differ only in the 'type' attribute to a new Maven project's POM.
> --------------------------------------------------------------------------------------------------
>
> Key: FORGE-2154
> URL: https://issues.jboss.org/browse/FORGE-2154
> Project: Forge
> Issue Type: Bug
> Components: Addon Development
> Affects Versions: 2.12.2.Final
> Reporter: Divya Dadlani
> Assignee: George Gastaldi
> Fix For: 2.12.3.Final
>
>
> The method "areEquivalent(Dependency, Dependency)" of org.jboss.forge.addon.dependencies.util.Dependencies does not check to see if the two dependencies have different packaging types or scopes.
> For example, I cannot add both of the following dependencies:
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>jar</type>
> <scope>provided</scope>
> </dependency>
> <dependency>
> <groupId>org.jboss.errai</groupId>
> <artifactId>errai-cdi-client</artifactId>
> <type>test-jar</type>
> <scope>test</scope>
> </dependency>
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
10 years, 1 month