
|
If you were logged in you would be able to see more operations.
|
|
|
Shale's core and test framwork includes MyFaces 1.1.1 in the classpath when testing via Maven. The testing framework should not impose the JSF implementation on
what is being tested.
A related issue was reported, and fixed, in MyFaces. See http://issues.apache.org/jira/browse/TOMAHAWK-612
|
|
Description
|
Shale's core and test framwork includes MyFaces 1.1.1 in the classpath when testing via Maven. The testing framework should not impose the JSF implementation on
what is being tested.
A related issue was reported, and fixed, in MyFaces. See http://issues.apache.org/jira/browse/TOMAHAWK-612
|
Show » |
| Repository |
Revision |
Date |
User |
Message |
| ASF |
#443256 |
Thu Sep 14 06:16:55 UTC 2006 |
craigmcc |
Implement a fairly massive refactoring of our Maven2 build dependencies,
and (along the way) address the issues raised by SHALE-258 (although
they are probably not completely covered yet). Highlights of the
changes:
* Dependencies to compile the Shale Framework libraries have been
adjusted to always use the MyFaces API jar (it should not matter
which implementation is used to compile against, because the signature
tests in the TCK will ensure method signature compatibility).
* Migrate as many dependency version numbers as possible into the
<dependencyManagement> section of the shale-parent POM, along with
exclusions that avoid adding optional dependencies to the classpath.
* Move the profile stuff about choosing MyFaces or the JSF RI into the
shale-apps-parent POM, instead of shale-parent, since this now only
affects webapps.
* There is a wierd test failure on the shale-clay unit tests that I
could not figure out, so I commented out those test cases for now.
Gary, could you take a look at CommentTestCase?
* There is some really wierd Maven2 behavior related to exclusions
in the dependency management section of shale-parent that I don't
understand yet ... Maven mavens please review1! For example, I
would like to exclude commons-digester from the myfaces:myfaces-api
dependency, so that a framework library that happens to need
the JSF APIs won't also be able to use Digester APIs without
explicitly declaring a dependency on commons-digester. For some
reason, doing this prevents the explicit dependency from being
recognized. Strange ...
* At this point, all the unit and system integration tests run
(and they will in the sandbox once I do a parallel commit there
to account for the changes), but I haven't done any thorough
testing to gauge impacts of these changes. But, the advertised
dependencies seem to be much closer to the minimal required set.
|
| Files Changed |
MODIFY
/shale/framework/trunk/shale-tiles/pom.xml
MODIFY
/shale/framework/trunk/shale-spring/pom.xml
MODIFY
/shale/framework/trunk/shale-clay/src/test/java/org/apache/shale/clay/config/CommentTestCase.java
MODIFY
/shale/framework/trunk/pom.xml
MODIFY
/shale/framework/trunk/shale-core/pom.xml
MODIFY
/shale/framework/trunk/shale-clay/pom.xml
MODIFY
/shale/framework/trunk/shale-apps/pom.xml
MODIFY
/shale/framework/trunk/shale-test/pom.xml
MODIFY
/shale/framework/trunk/shale-remoting/pom.xml
MODIFY
/shale/framework/trunk/shale-tiger/pom.xml
|
|