-
30. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jun 8, 2011 9:19 AM (in response to ssilvert)> Did you get Jetty working?
Sorry, I could not try it - JBoss/Java is just a private experiment, so I don't have the time to play around at work. Hopefully I find the time to do it this evening.
Best regards
Wolfgang
-
31. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jun 8, 2011 2:56 PM (in response to wolfgangknauf)Test 1: Jetty
Command line: "mvn.bat test -Pjetty-embedded"
Result: see attached error log - a missing artifact. But at least the test compiled ;-).
-
32. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jun 8, 2011 3:11 PM (in response to wolfgangknauf)Test 2: adding the "deprecated repository" and running "mvn.bat test -Pjbossas-remote-6":
{code:xml}
<repositories>
<repository>
<id>jboss-public-repository-group</id>
<name>JBoss Public Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/groups/public</url>
<layout>default</layout>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
<repository>
<id>repository.jboss.org</id>
<url>http://repository.jboss.org/maven2</url>
<releases>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-deprecated-repository-group</id>
<name>JBoss Deprecated Maven Repository Group</name>
<url>https://repository.jboss.org/nexus/content/repositories/deprecated/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
</snapshots>
</repository>
</repositories>
{code}
For this test, I also added the reduced dependency "jboss-as-profileservice-client" to my pom.xml (without the "deprecated" repository, this dependency change would have failed, too):
{code:xml}
<profile> <id>jbossas-remote-6</id> <dependencies> <dependency> <groupId>org.jboss.arquillian.container</groupId> <artifactId>arquillian-jbossas-remote-6</artifactId> <version>${version.arquillian}</version> <scope>test</scope> </dependency> <!--replace full client... <dependency> <groupId>org.jboss.jbossas</groupId> <artifactId>jboss-as-client</artifactId> <version>${version.jboss_60}</version> <type>pom</type> </dependency> --> <dependency> <groupId>org.jboss.jbossas</groupId> <artifactId>jboss-as-profileservice-client</artifactId> <version>6.0.0.Final</version> <type>pom</type> </dependency> <dependency> <groupId>org.jboss.deployers</groupId> <artifactId>jboss-deployers-client-spi</artifactId> <version>2.2.0.M2</version> <scope>test</scope> </dependency> </dependencies> </profile>
{code}
This worked! Yiiieha!
But having to use the deprecated repository is probably no good way.
I am on vacation till Sunday, so you have some "free days" ;-).
Wolfgang
-
33. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jun 16, 2011 3:52 PM (in response to wolfgangknauf)Hi Stan,
did you find time to look at my findings?
Best regards
Wolfgang
-
34. Re: Trouble with running JSFUnit 2.0Beta1
ssilvert Jun 24, 2011 1:47 PM (in response to wolfgangknauf)Sorry, I'm 100% on AS7 right now. We'll get it all fixed for the next JSFUnit release but that won't be until after AS7 ships.
Stan
-
35. Re: Trouble with running JSFUnit 2.0Beta1
bhadraj Jul 7, 2011 4:02 AM (in response to wolfgangknauf)hi knauf,
is u r problem solved...?
i am also facing the same problem.. any solution?
-Arun
-
36. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jul 7, 2011 5:51 AM (in response to bhadraj)Hi Arun,
yes, I could work around it by addind the deprecated repository. See my post above from 2011-06-08 21:11 for the necessary pom.xml snippets.
Best regards
Wolfgang
-
37. Re: Trouble with running JSFUnit 2.0Beta1
bhadraj Jul 7, 2011 6:00 AM (in response to wolfgangknauf)Hi Knaf,
thanks for u r reply..
i am facing problem with
Command line: "mvn -Pjetty-embedded test" , if you have solved this please provide the solution.
Thanks & regards,
-Arun
-
38. Re: Trouble with running JSFUnit 2.0Beta1
wolfgangknauf Jul 7, 2011 10:57 AM (in response to bhadraj)Sorry, I cannot help. I did not even try to solve this issue ;-). My goal was to make the JBoss profile run, the Jetty test was just a bonus...