[forge-issues] [JBoss JIRA] (FORGE-1234) Offer the possibility to add Maven dependencies to a forge archive

Koen Aers (JIRA) jira-events at lists.jboss.org
Tue Oct 1 08:43:02 EDT 2013


     [ https://issues.jboss.org/browse/FORGE-1234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Koen Aers updated FORGE-1234:
-----------------------------

    Description: 
It would be nice to do something along these lines:
{code}
      ForgeArchive archive = ShrinkWrap
                .create(ForgeArchive.class)
                .addBeansXML()
                .addAsAddonDependencies(
                                                ...)
                .addAsMavenDependencies(
                     MavenDependency.create("com.h2database:h2:1.3.167"));
{code}

  was:
It would be nice to do something along these lines:
{code}
      ForgeArchive archive = ShrinkWrap
                .create(ForgeArchive.class)
                .addBeansXML()
                .addAsAddonDependencies(
                                                ...)


               .addPackages(true, org.h2.Driver.class.getPackage())
               .addClass(Server.class)
               .addClass(ShutdownHandler.class); 
{code}


    
> Offer the possibility to add Maven dependencies to a forge archive
> ------------------------------------------------------------------
>
>                 Key: FORGE-1234
>                 URL: https://issues.jboss.org/browse/FORGE-1234
>             Project: Forge
>          Issue Type: Feature Request
>          Components: Test Harness
>    Affects Versions: 2.0.0.Alpha12
>            Reporter: Koen Aers
>
> It would be nice to do something along these lines:
> {code}
>       ForgeArchive archive = ShrinkWrap
>                 .create(ForgeArchive.class)
>                 .addBeansXML()
>                 .addAsAddonDependencies(
>                                                 ...)
>                 .addAsMavenDependencies(
>                      MavenDependency.create("com.h2database:h2:1.3.167"));
> {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