[JBoss JIRA] (FORGE-1661) project-add-dependency ignore new scope
by Aslak Knutsen (JIRA)
Aslak Knutsen created FORGE-1661:
------------------------------------
Summary: project-add-dependency ignore new scope
Key: FORGE-1661
URL: https://issues.jboss.org/browse/FORGE-1661
Project: Forge
Issue Type: Bug
Components: Projects
Affects Versions: 2.1.1.Final
Reporter: Aslak Knutsen
Assignee: Aslak Knutsen
Fix For: 2.x Future
When you have a bom defined in depmgm that include the dep you're trying to add as a direct dependency, you will get the question: This is a managed resource, would you like to include this version?
When you attempt to add a reference to a managed dependency in a given scope, the new scope is ignored if you say yes to not override the managed version.
Take Arquillian as an example, arquillian-bom is defined in depmgm.
project-add-dependencies org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain::test:pom
Do you like to use managed version? Y
Results in:
org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain:::pom
Resolver is now in Compile scope. Wanted Test scope.
--
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
12 years, 1 month
[JBoss JIRA] (FORGE-1644) Addons should have a storage area
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/FORGE-1644?page=com.atlassian.jira.plugin... ]
Aslak Knutsen commented on FORGE-1644:
--------------------------------------
The AddonRepository is associated with a Single Addon in a specific version isn't it?
How would you deal with stored data across Addon versions?
How do you get access to your own Addon info?
> Addons should have a storage area
> ---------------------------------
>
> Key: FORGE-1644
> URL: https://issues.jboss.org/browse/FORGE-1644
> Project: Forge
> Issue Type: Feature Request
> Components: Furnace (Container)
> Affects Versions: 2.1.1.Final
> Reporter: George Gastaldi
>
> If would be nice if each addon had a storage area (not temporary) to store files relevant to the addon execution. This area could live under {{USER_HOME/.forge/store/addon_name}}.
> Here is an example code on how to access it:
> {code}
> @Inject Addon addon;
> File storageArea = addon.getStorageDirectory();
> {code}
> Examples:
> - The current config.xml file could be in the storage directory of the configuration addon
> - The shell specific files (export, alias, history) could be in the storage directory of the shell addon
--
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
12 years, 1 month