Refactor dependencies for JSF, JSP, Spring and Struts annotations
This change only affects those projects using fine-grained Maven dependencies such as:
<dependency>
<groupId>org.metawidget.modules</groupId>
<artifactId>metawidget-annotation</artifactId>
<version>1.25</version>
</dependency>
<dependency>
<groupId>org.metawidget.modules</groupId>
<artifactId>metawidget-beanvalidation</artifactId>
<version>1.25</version>
</dependency>
<groupId>org.metawidget.modules</groupId>
<artifactId>metawidget-annotation</artifactId>
<version>1.25</version>
</dependency>
<dependency>
<groupId>org.metawidget.modules</groupId>
<artifactId>metawidget-beanvalidation</artifactId>
<version>1.25</version>
</dependency>
Projects using metawidget-all.jar are not affected.
We have refactored the annotation-based Inspectors from the metawidget-faces, metawidget-jsp, metawidget-spring and metawidget-struts modules into corresponding metawidget-facesannotation, metawidget-jspannotation, metawidget-springannotation and metawidget-strutsannotation modules respectively. You will need to update your pom.xml to add in these new dependencies.
This was done for two reasons:
- Most importantly, application environments where the Web tier is separated from the business tier may need the annotations to be deployed on the back-end and the UI widgets deployed on the front-end. Some frameworks and application servers have classpath issues if the two are not deployed separately.
- Build environments like m2eclipse do not properly support mixing JDK 1.4 and Java 5 targets in the same source tree, so separating them removes a hack we were using (Metawidget tries to target JDK 1.4 wherever possible).
Again, we apologise for the disruption. Feedback welcome!
0 comments:
Post a Comment