https://issues.apache.org/bugzilla/show_bug.cgi?id=56759
Bug ID: 56759
Summary: tomcat-jasper 8.0.9 pom depends on non-existant ecj
4.4RC4
Product: Tomcat 8
Version: 8.0.9
Hardware: PC
OS: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: Packaging
Assignee: [email protected]
Reporter: [email protected]
You can see the pom here:
http://search.maven.org/#artifactdetails|org.apache.tomcat|tomcat-jasper|8.0.9|jar
Maven projects that depend on this (for pre-compiling JSPs, for instance) will
fail because:
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>4.4RC4</version>
</dependency>
Does not exist, as you can see here:
http://search.maven.org/#search|gav|1|g%3A%22org.eclipse.jdt.core.compiler%22%20AND%20a%3A%22ecj%22
I'm going to guess it should probably depend on 4.4 instead of 4.4RC4, and the
only workaround I know of is to change:
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper</artifactId>
<version>${tomcat.jasper.version}</version>
</dependency>
to:
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-jasper</artifactId>
<version>${tomcat.jasper.version}</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jdt.core.compiler</groupId>
<artifactId>ecj</artifactId>
<version>4.4</version>
</dependency>
I'm not sure there is a way to fix this before the next version is released
(can you change artifacts in maven central?)
Let me know if you need any more information.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]