[jboss-jira] [JBoss JIRA] (AS7-6248) Missing file from Nexus preventing build of Arquillian TestNG Integration

Michael Van Geertruy (JIRA) jira-events at lists.jboss.org
Sun Dec 23 04:44:08 EST 2012


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

Michael Van Geertruy commented on AS7-6248:
-------------------------------------------

This file is created by the spec-api module, which is built much later in the build process. The way I see it, there are two possible solutions:

1) Move the arquillian modules to after the spec-api module.
2) Create a module specifically for arquillian-testng at a peer level to spec-api in the source-tree and move the contents of arquillian-testng to the new module. In the project's parent pom.xml, create an entry for arquillian-testng immediately after spec-api in the modules section. 

The only other module that has a dependency on jboss-as-arquillian-testng-integration is test-suite which runs after spec-api. Also, all of the other Arquillian modules build fine, and there are numerous dependencies on the other arquillian modules in the build process.  With this in mind, I think option 2 is probably best.

I can implement whichever solution you folks would like and submit a patch after a decision is made.

The only reason I found this was because I started the build with a blank .m2/repository. If Jenkins isn't clearing out the .m2/repository prior to the build that then this would have only shown up the first time a build was done. After that, the file produced by spec-api would be installed into the repository and the problem would have gone away.
                
> Missing file from Nexus preventing build of Arquillian TestNG Integration
> -------------------------------------------------------------------------
>
>                 Key: AS7-6248
>                 URL: https://issues.jboss.org/browse/AS7-6248
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Build System
>    Affects Versions: 7.2.0.Alpha1
>         Environment: CentOS 6.3, Intel X86-64
>            Reporter: Michael Van Geertruy
>            Assignee: Paul Gier
>              Labels: Arquillian
>
> After downloading the most recent codebase from git for jbossAS 7.2.0.SNAPSHOT, I recieved the following error:
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Application Server: Arquillian TestNG Integration 7.2.0.Alpha1-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/as/jboss-as-spec-api/7.2.0.Alpha1-SNAPSHOT/maven-metadata.xml
> Downloading: http://repository.jboss.org/nexus/content/groups/public/org/jboss/as/jboss-as-spec-api/7.2.0.Alpha1-SNAPSHOT/jboss-as-spec-api-7.2.0.Alpha1-SNAPSHOT.pom
> [WARNING] The POM for org.jboss.as:jboss-as-spec-api:pom:7.2.0.Alpha1-SNAPSHOT is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] JBoss Application Server: Arquillian .............. SUCCESS [3.091s]
> [INFO] JBoss Application Server: Arquillian TestEnricher MSC  SUCCESS [7.331s]
> [INFO] JBoss Application Server: Arquillian Common ....... SUCCESS [7.461s]
> [INFO] JBoss Application Server: Arquillian Embedded Container  SUCCESS [18.654s]
> [INFO] JBoss Application Server: Arquillian Protocol JMX . SUCCESS [3.766s]
> [INFO] JBoss Application Server: Arquillian Managed Container  SUCCESS [19.634s]
> [INFO] JBoss Application Server: Arquillian Remote Container  SUCCESS [2.147s]
> [INFO] JBoss Application Server: Arquillian TestNG Integration  FAILURE [3.535s]
> [INFO] JBoss Application Server: Arquillian Common Domain  SKIPPED
> [INFO] JBoss Application Server: Arquillian Remote Domain Container  SKIPPED
> [INFO] JBoss Application Server: Arquillian Managed Domain Container  SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1:08.150s
> [INFO] Finished at: Sat Dec 22 23:43:21 PST 2012
> [INFO] Final Memory: 51M/317M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project jboss-as-arquillian-testng-integration: Could not resolve dependencies for project org.jboss.as:jboss-as-arquillian-testng-integration:jar:7.2.0.Alpha1-SNAPSHOT
> Indeed after looking at the jboss nexus repository I came across this link:
> https://repository.jboss.org/nexus/content/groups/public/org/jboss/as/jboss-as-spec-api/
> There do not appear to be any entries for 7.2.0.Alpha1-SNAPSHOT.

--
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 jboss-jira mailing list