]
George Gastaldi updated FORGE-1932:
-----------------------------------
Summary: DependencyInstaller.install replaces version field with latest version if a
maven property is used (was: DependencyInstaller.install does not use a maven property
value in the version field)
DependencyInstaller.install replaces version field with latest
version if a maven property is used
--------------------------------------------------------------------------------------------------
Key: FORGE-1932
URL:
https://issues.jboss.org/browse/FORGE-1932
Project: Forge
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Build Tools - Maven
Affects Versions: 2.7.0.Final
Reporter: George Gastaldi
Fix For: 2.x Future
{code}
@Inject
DependencyInstaller installer;
...
Project project = ...
Dependency dep =
DependencyBuilder.create("org.apache.deltaspike.core:deltaspike-core-api:${deltaspike.version}:compile");
installer.install(project, dep);
{code}