On Nov 13, 2006, at 1:53 PM, Rafael Schloming wrote:
The maven build seems to be working for me now, but I've run into a
few questions:
Is there an equivalent of ant -projecthelp? How do I find out what
goals are available for the Qpid project?
I don't think maven2 supports listing of goals, since goals can
effectively be dynamically added at runtime via plugins.
You might try this quick-start guide:
<http://maven.apache.org/guides/getting-started/maven-in-five-
minutes.html>
There's also a free maven book available from here:
<http://www.mergere.com/m2book_download.jsp>
Are there equivalents for all the ant targets? For example how do I
build without running all the tests?
There's currently no equivalent for the testreport targets, but they
could be added.
This raises a bigger issue, though, which comes back to junit4 vs.
junit3. The maven surefire plugin, as we've discussed before, doesn't
work with junit4, which forced me to use the antrun plugin to run the
tests. We lose a lot by doing that, such as better test reporting,
code coverage, etc.
Furthermore, somebody was just saying that they still expect part of
the code -- was it the client? -- to build with jdk 1.4. Since the
tests use annotations, they won't be able to build the tests with
1.4, which would seem to overly complicate matters.
I'll therefore recommend once again that we go back to junit3. The
changes are largely syntactic, as junit4 does not really offer a huge
leap in functionality over junit3. While 4 is mathematically greater
than 3, in this case junit4 winds up being a lot less than junit3
when you look at the big picture. I'm willing to do all the work to
make the changes to the tests, too.
Are there any good maven background docs I should read?
See above.
--steve
Thanks,
--Rafael