Matous Jobanek commented on Bug JDF-656

The functional-test are present now in the generated project, nevertheless, they cannot be run.
When I try to run the test with on of the commands:

mvn clean verify -Parq-jbossas-remote
mvn clean verify -Parq-jbossas-managed

the build fails with an error of non-resolvable import BOM and missing dependency versions:

The project spring:spring:1.0-SNAPSHOT (/home/mjobanek/temp/archetypes/spring/functional-tests/pom.xml) has 5 errors
[ERROR]     Non-resolvable import POM: Could not find artifact org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:pom:2.5.0-build-2 in central (http://repo.maven.apache.org/maven2) @ line 71, column 25 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.jboss.arquillian.graphene:graphene-webdriver:pom is missing. @ line 83, column 21
[ERROR]     'dependencies.dependency.version' for org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 90, column 21
[ERROR]     'dependencies.dependency.version' for junit:junit:jar is missing. @ line 96, column 21
[ERROR]     'dependencies.dependency.version' for org.jboss.as:jboss-as-arquillian-container-remote:jar is missing. @ line 127, column 29

The problem is that there the "activation of JBoss Product Maven repository" is missing in the pom file. There should be IMHO the same profile as the one which is in the main pom file of the spring archetype:

<!-- Activate JBoss Product Maven repository -->
        <profile>
            <id>jboss-product-repository</id>
            <activation>
                <property>
                    <name>!jboss-product-repository</name>
                </property>
            </activation>
            <repositories>
                <repository>
                    <id>jboss-products-ga-repo</id>
                    <url>http://maven.repository.redhat.com/techpreview/all/</url>
                </repository>
                <repository>
                    <id>jboss-developer-repo</id>
                    <url>http://jboss-developer.github.io/temp-maven-repo/</url>
                </repository>
            </repositories>
        </profile>

Do you want to create new Jira or this comment is enough?

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