Along with the core, we would also need a strategy for building the various example web applications. I'm thinking we may need a master webapps-projects.xml that each application artifact could extend.
-Ted.
Tim Chen wrote:
I submitted a patch recently for the maven build. Sorry I didn't get a chance to (aka.. Just been lazy) attach it to a formal bugzilla report as Rob had suggested that I do. The maven test currently fail because the resources are not provided (look at my past post for reference). Unfortunately, even after including the source there are still test failures. I posted a sniplet of one of the errors before. I never bothered to find out if those test failures were due to the maven build or because of incorrectly written tests. Either way, I'll try to find some time to fix the maven build if anyone is interested.
Tim Chen [EMAIL PROTECTED]
-----Original Message-----
From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 8:50 AM
To: Struts Developers List
Subject: Re: Maven test run
Steve Raeburn wrote:
There were no tests found because the test section was commented out! (and the example include pattern doesn't match our naming convention).
I've enabled the JUnit tests. Using Cactus with Maven is beyond me, for now :-)
Mea culpa on the comment block. I did that to see if I could get the rest of it to run, and then committed it accidentally. <head-slap/>
When Maven runs the tests, TestModuleConfig is throwing a NullPointerException that doesn't show up when running from Ant. I'm inclined to believe that the Maven configuration requires more work rather that it actually being a problem with ModuleConfig.
>
The Maven build remains HIGHLY experimental!!
I wonder if we could try a compromise? Could we have a Maven build that just downloaded the dependencies into the central repository, and a build.properties that got everything from there. This would save us from
going back to a "struts-library" distribution.
I also wonder if it be possible to wrap our existing Ant build as Maven goals? The user guide says that any Ant task can be used in the
maven.xml.
http://maven.apache.org/reference/user-guide.html#Sample%20maven.xml
Another stepping-stone might be to provide Maven projects for the examples applications, especially the blank application. I'm thinking the cannonical approach here would be to have a master webapp-project.xml that we then extended for each application
"artifact".
http://maven.apache.org/reference/user-guide.html#POM%20Inheritance
I'm working on a changelog system now but will come back to this later, if no one beats me to it. [Please do, if you can :)]
-Ted.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Ted Husted, Junit in Action - <http://www.manning.com/massol/>, Struts in Action - <http://husted.com/struts/book.html>, JSP Site Design - <http://www.amazon.com/exec/obidos/ISBN=1861005512>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]