-
1. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
cash1981 Jul 2, 2009 11:02 AM (in response to leifoo)Hello Leif.
Thats great work. Thank you for sharing with the community.
-
2. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
mdesignz Jul 2, 2009 6:40 PM (in response to leifoo)This is great! Just curious, in the root POM, why not reference the Seam POM as the root rather than including it?
-
3. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
kenglxn Jul 2, 2009 6:54 PM (in response to leifoo)Hi.
We were using the seam pom as our root in the beginning, but we decided to move away from this design. Mainly due to the issues that can arise due to transient dependencies, and also because of the increased flexibility we gain by not using it.
You can still use the seam-maven-refimpl project as your template and choose to use seam as your root pom if you wish.Regards
Ken Gullaksen
Consultant
Know IT Objectnet AS
www.knowit.no -
4. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
oscarpica Jul 5, 2009 7:44 PM (in response to leifoo)Hi,
That's an interesting setup thanks. I had some problems though using seam-maven-refimpl as a template.
First, despite your very good tutorial, I found the jboss tools integration very cumbersome and unstable in my installation. That's not a big deal though, since I actually prefer to use the jboss tools on a separate seam-gen generated project and cannibalize its files as needed.
The testing issue is more of a problem:
1- I cannot create a testng @Test annotation on eclipse. The testng jar is not even on the classpath in eclipse. If I remember correctly, with non-seam mavenized projects testng is available out of box after importing the project in eclipse. Did you succeed to create a test in eclipse?
2- If I try to run the mvn test goal on the command line I got an Exception:
org.apache.maven.surefire.booter.SurefireExecutionException: javax/servlet/FilterConfig; nested exception is java.lang.NoClassDefFoundError: javax/servlet/FilterConfig java.lang.NoClassDefFoundError: javax/servlet/FilterConfig
I tried both from the parent directory and the ejb directory. Did you succeed to run mvn test?
-
5. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
oscarpica Jul 5, 2009 8:14 PM (in response to leifoo)Just after my post, I think I found the cause of my testing issues.
I didn't realize that in the huge parent pom, the missing dependencies where only declared on the dependencyManagement section.
-
6. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
vguerra.vguerra.uci.cu Jul 6, 2009 2:27 PM (in response to leifoo)Hi, I´m from Cuba and I can't get it my friend, the URL say that I don't have permission.
Please, if you can share with me that information I'll be grateful.
Thanks -
7. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
leifoo Jul 6, 2009 6:07 PM (in response to leifoo)As I wrote i my initial post, testing is not yet implemented. When summer holidays are over we'll start working on that. Out initial plan is to have the build system production ready late August, as we need the build for a Seam project we're engaged in.
I have, as requested, added you as a member to http://groups.google.com/group/know-it_seaminaction and http://code.google.com/p/seam-maven-refimpl/
Regards
Leif Olsen -
8. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
leifoo Jul 6, 2009 6:18 PM (in response to leifoo)
Vladimir Guerra Miller wrote on Jul 06, 2009 14:27:
Hi, I´m from Cuba and I can't get it my friend, the URL say that I don't have permission.
Please, if you can share with me that information I'll be grateful.
ThanksCan you please try:
http://seam-maven-refimpl.googlecode.com/svn/trunk/Note: http not https
Regards
Leif Olsen -
9. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
mobwerner Jul 14, 2009 10:08 AM (in response to leifoo)Hi,
I am very interested in this project and I am glad there are more people around looking for a better integration.
We have a setup at work where we have mavenized seam projects too. We have a multimodule project.
It helped a lot for standardizing the different projects in our department, although we 've lost a lot of IDE features as the combination of maven support and seam support in Eclipse is not yet fully implemented (m2eclipse has been quite unstable for us too). They are working on it.
For the moment I am experimenting with IntelliJ. I can add seam facets to our projects and the project will have some seam capabilities. Although in facelets editor he does not recognize our own components. Seam built-in components are recognized.
At home I have a seamgen project in IntelliJ and the custom components are picked up in the IDE.Having our own seam components recognized in IntelliJ for maven project would be a major productivity boost.
Did anyone in your project encounter the same problem?Someone with a workaround?
I have been looking into IntelliJ forum too but sofar I did not find a workaround.
Thx,
Werner
-
10. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
kenglxn Jul 14, 2009 2:46 PM (in response to leifoo)Hi Werner. I'm also using IDEA, but I'm not having that problem using the seam-maven-refimpl project as a template. I can think of two things that may be of help. First off, set .xhtml to be a jspx file type under ide settings. Second, don't use mvn idea:idea, instead just choose to open project and in the dialog select the root pom of your project, IDEA will do the rest.
-
11. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
josdaniel Aug 7, 2009 2:00 PM (in response to leifoo)Leif - I would like to thank you for the sample projects based on maven, they have been very useful. Do you folks have any plans on migrating the project dependencies to Seam 2.2.0.GA.
-
12. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
dan.j.allen Aug 10, 2009 9:17 PM (in response to leifoo)Hey thanks! Great work!
-
13. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
kenglxn Aug 10, 2009 10:16 PM (in response to leifoo)Hi Joshua.
Implementing 2.2.0 GA is on our agenda.
Our plan is to first reinstate the Seam pom as the parent pom,
then get testing to work properly. After that we will tag the 2.1.2 version and start working on 2.2.0. -
14. Re: Seam In Action Chapter 2, 3, 4, 5 and 6 "Mavenized"
allforjava.allforjava.aol.in Aug 22, 2009 8:29 PM (in response to leifoo)Hi Leif,
I dont know what to say about mavenized examples, as I'm new to maven concept and experimenting with it.
However towards SVN checkout at https://seam-maven-refimpl.googlecode.com/svn/trunk is prompting for user id & password. Is it restricted? Can i get it?
The related post is at http://www.seamframework.org/Community/QuerySeamInActionExamples
Thank you in advance!