[weld-issues] [JBoss JIRA] Created: (WELD-884) The glassfish embedded profile dependency is problematic in weld archetype 1.0.1CR1

hantsy bai (JIRA) jira-events at lists.jboss.org
Fri Apr 8 03:01:33 EDT 2011


The glassfish embedded profile dependency is problematic in weld archetype 1.0.1CR1
-----------------------------------------------------------------------------------

                 Key: WELD-884
                 URL: https://issues.jboss.org/browse/WELD-884
             Project: Weld
          Issue Type: Bug
          Components: Tooling
            Reporter: hantsy bai


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