[weld-issues] [JBoss JIRA] Commented: (WELDRAD-28) The glassfish embedded profile dependency is problematic in weld archetype 1.0.1CR1

hantsy bai (JIRA) jira-events at lists.jboss.org
Fri Apr 15 06:29:33 EDT 2011


    [ https://issues.jboss.org/browse/WELDRAD-28?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595823#comment-12595823 ] 

hantsy bai commented on WELDRAD-28:
-----------------------------------

yes...there is no glassfish-embedded-3 support for arquillian 1.0.0.Alpha5...
but exists glassfish-embedded-3 support for arquillian 1.0.0.Alpha4 and glassfish-embedded-3.1 support for arquillian 1.0.0.Alpha5

> The glassfish embedded profile dependency is problematic in weld archetype 1.0.1CR1
> -----------------------------------------------------------------------------------
>
>                 Key: WELDRAD-28
>                 URL: https://issues.jboss.org/browse/WELDRAD-28
>             Project: Weld Archetypes
>          Issue Type: Bug
>            Reporter: hantsy bai
>            Assignee: Dan Allen
>
> I created the a weld based java ee6 project using weld archetype.
> I followed this guide to create a java ee 6 web application.
> http://seamframework.org/Documentation/CDIQuickstartForMavenUsers
> But when I run test.
> mvn clean test -Parq-glassfish-embedded
> And get the following errors.
> ------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 3.184s
> [INFO] Finished at: Fri Apr 08 14:30:41 GMT+08:00 2011
> [INFO] Final Memory: 4M/15M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project rainforest-ex22: Could not resolve dep
> endencies for project com.ltree:rainforest-ex22:war:1.0-SNAPSHOT: Failure to fin
> d org.jboss.arquillian.container:arquillian-glassfish-embedded-3:jar:1.0.0.Alpha
> 5 in https://repository.jboss.org/nexus/content/groups/public/ was cached in the
> local repository, resolution will not be reattempted until the update interval
> of jboss-public-repository-group has elapsed or updates are forced -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> -----------------------------------
> I browse the jboss maven repository directly, there is no  org.jboss.arquillian.container:arquillian-glassfish-embedded-3:jar:1.0.0.Alpha5. 
> There is a  org.jboss.arquillian.container:arquillian-glassfish-embedded-3:jar:1.0.0.Alpha4 or org.jboss.arquillian.container:arquillian-glassfish-embedded-3.1:jar:1.0.0.Alpha5.
> So I think the dependency is needed to be updated to arquillian 1.0 Alpha 5.
> -----------------------------------------------------------------------------
>  <dependencies>
>                 <dependency>
>                     <groupId>org.jboss.arquillian.container</groupId>
>                     <artifactId>arquillian-glassfish-embedded-3.1</artifactId>
>                     <version>${arquillian.version}</version>
>                     <scope>test</scope>
>                 </dependency>
>                 <!-- This imports the Java EE 6 runtime libraries provided by GlassFish Embedded -->
>                 <dependency>
>                     <groupId>org.glassfish.extras</groupId>
>                     <artifactId>glassfish-embedded-all</artifactId>
>                     <version>3.1</version>
>                     <scope>provided</scope>
>                 </dependency>
>             </dependencies>
> --------------------------------------------------------------------------------

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list