[forge-issues] [JBoss JIRA] (FORGE-1050) DependencyInstaller duplicates the version already set in the dependencyManagement section
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Fri Jul 26 15:41:25 EDT 2013
George Gastaldi created FORGE-1050:
--------------------------------------
Summary: DependencyInstaller duplicates the version already set in the dependencyManagement section
Key: FORGE-1050
URL: https://issues.jboss.org/browse/FORGE-1050
Project: Forge
Issue Type: Enhancement
Components: Build Tools - Maven
Affects Versions: 2.0.0.Alpha7
Reporter: George Gastaldi
Fix For: 2.x Future
Eg:
{code:xml}
<?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>simple</groupId>
<artifactId>simple</artifactId>
<version>1.0.0-SNAPSHOT</version>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>container-cdi</artifactId>
<version>2.0.0.Alpha7</version>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>ui</artifactId>
<version>2.0.0-SNAPSHOT</version>
<classifier>forge-addon</classifier>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.jboss.forge.furnace</groupId>
<artifactId>container-cdi</artifactId>
<version>2.0.0.Alpha7</version>
<classifier>forge-addon</classifier>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>ui</artifactId>
<version>2.0.0-SNAPSHOT</version>
<classifier>forge-addon</classifier>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>create-forge-addon</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<classifier>forge-addon</classifier>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list