Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0-Alpha3
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: Tool Integrations
-
Labels:None
-
Environment:N/A
Description
This is actually the fault of whoever created the pom.xml for commons-logging, because they have servlet-api as a compile time dependency in the pom.xml for commons-logging. Since the ICEfaces compatibility components pom.xml includes a dependency on commons-logging, we end up getting servlet-api-2.3.jar in WEB-INF/lib for deployed webapps and portlets developed with Maven.
The fix is simple -- just add an exclusion for servlet-api in the pom.xml file for the compatibility components:
Index: icefaces-compat.pom
===================================================================
--- icefaces-compat.pom (revision 21431)
+++ icefaces-compat.pom (working copy)
@@ -58,6 +58,10 @@
<artifactId>log4j</artifactId>
<groupId>log4j</groupId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -69,4 +73,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
The fix is simple -- just add an exclusion for servlet-api in the pom.xml file for the compatibility components:
Index: icefaces-compat.pom
===================================================================
--- icefaces-compat.pom (revision 21431)
+++ icefaces-compat.pom (working copy)
@@ -58,6 +58,10 @@
<artifactId>log4j</artifactId>
<groupId>log4j</groupId>
</exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
</exclusions>
</dependency>
@@ -69,4 +73,4 @@
</dependency>
</dependencies>
-</project>
\ No newline at end of file
+</project>
Activity
Neil Griffin
created issue -
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21462 | Mon May 24 10:40:58 MDT 2010 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces/scratchpads/glimmer/compat/maven2/icefaces-compat.pom
|
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Component/s | Tool Integrations [ 10017 ] | |
Component/s | Components [ 10012 ] | |
Fix Version/s | 2.0-Alpha3 [ 10032 ] | |
Assignee | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assigning to Judy to test and make the adjustment that Neil has suggested.