1 2 Previous Next 20 Replies Latest reply on Oct 11, 2007 5:55 PM by igx89 Go to original post
      • 15. Re: Seam 2.0.0.CR1 TestNG problem

        How would I do the former? I have to specifically list jboss-seam-ui in my dependency section, and there's no compile-no-test scope. So far I've found no way to specifically exclude explicit dependencies.

        For the latter, yes, but I'd prefer to be able to run tests before building WAR's for deployment too.

        And, removing jboss-seam-ui doesn't seem to affect anything either... removing it doesn't help the Maven tests, and keeping it on the classpath when running tests through Eclipse doesn't cause them to fail either.

        • 16. Re: Seam 2.0.0.CR1 TestNG problem

          Do any of the example apps use Maven? If so, then I imagine you'd easily be able to replicate these problems and much more easily debug them.

          • 17. Re: Seam 2.0.0.CR1 TestNG problem
            pmuir

            Not currently, its a roadmap item.

            Are you using a war for deployment or an ear?

            Gah, yet another limitation of maven.

            • 18. Re: Seam 2.0.0.CR1 TestNG problem

              war.

              By the way, in case you didn't see it, I commented on your Maven blog post with information about a Maven properties plugin.

              • 19. Re: Seam 2.0.0.CR1 TestNG problem
                pmuir

                So the problem is the ajax4jsf filter should not be installed in the test environment - excluding either the richfaces or seam ui jar will achieve this. How we best achieve this with Maven is another matter...

                • 20. Re: Seam 2.0.0.CR1 TestNG problem

                  Why don't I have that problem when running the test from Eclipse though? All the jars are on the classpath...

                  1 2 Previous Next