activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5028) Remove jetty and jsp compiler jars from web-console.war
Date Wed, 05 Feb 2014 17:56:10 GMT
Daniel Kulp created AMQ-5028:
--------------------------------

             Summary: Remove jetty and jsp compiler jars from web-console.war
                 Key: AMQ-5028
                 URL: https://issues.apache.org/jira/browse/AMQ-5028
             Project: ActiveMQ
          Issue Type: Bug
          Components: webconsole
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp



The container that runs the war (like Jetty or Tomcat) will compile the JSP's so there is
no need for the eclipse core compiler.   Also, there isn't a need for the jetty jars.  It
looks like there was an attempt to exclude those from packaging anyway via maven-war-plugin
configs, but those configs aren't working.

patch:
{code}
diff --git a/activemq-web-console/pom.xml b/activemq-web-console/pom.xml
index e5f2e94..93b7fad 100755
--- a/activemq-web-console/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
+++ b/activemq-web-console/pom.xml
@@ -190,6 +190,14 @@
               <groupId>${project.groupId}</groupId>
               <artifactId>activemq-all</artifactId>
           </exclusion>
+          <exclusion>
+              <groupId>org.eclipse.jetty</groupId>
+              <artifactId>jetty-websocket</artifactId>
+          </exclusion>
+          <exclusion>
+              <groupId>org.eclipse.jetty</groupId>
+              <artifactId>jetty-continuation</artifactId>
+          </exclusion>
       </exclusions>
     </dependency>
     <dependency>
@@ -235,6 +243,7 @@
       <groupId>org.eclipse.jdt</groupId>
       <artifactId>core</artifactId>
       <version>3.1.1</version>
+      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.slf4j</groupId>
@@ -259,16 +268,6 @@
       <artifactId>standard</artifactId>
     </dependency>
 
-    <!-- XStream marshalling -->
-    <dependency>
-      <groupId>xpp3</groupId>
-      <artifactId>xpp3</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>com.thoughtworks.xstream</groupId>
-      <artifactId>xstream</artifactId>
-    </dependency>
-
     <!-- used for testing -->
     <dependency>
       <groupId>junit</groupId>

{code}



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message