Skip to content

Commit f598cc5

Browse files
committed
Merge pull request #149 from adangel:issue-134-logback
Do not depend on slf4j and logback bundles #149
2 parents 0854191 + 13740b0 commit f598cc5

File tree

6 files changed

+27
-19
lines changed

6 files changed

+27
-19
lines changed

ReleaseNotes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ This is a minor release.
1515

1616
### Fixed Issues
1717

18+
* [#134](https://github.com/pmd/pmd-eclipse-plugin/issues/134): Incompatibility between Groovy Eclipse Plugin and PMD Plugin
19+
1820
### API Changes
1921

2022
### External Contributions

kepler/kepler.target

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
<unit id="org.apache.commons.lang.source" version="2.6.0.v201205030909"/>
1616
<unit id="org.junit" version="4.11.0.v201303080030"/>
1717
<unit id="org.junit.source" version="4.11.0.v201303080030"/>
18-
<unit id="org.slf4j.api" version="1.7.2.v20121108-1250"/>
19-
<unit id="org.slf4j.api.source" version="1.7.2.v20121108-1250"/>
20-
<unit id="ch.qos.logback.slf4j" version="1.0.7.v20121108-1250"/>
21-
<unit id="ch.qos.logback.slf4j.source" version="1.0.7.v20121108-1250"/>
22-
<unit id="org.slf4j.jul" version="1.7.2.v20121108-1250"/>
23-
<unit id="org.slf4j.jul.source" version="1.7.2.v20121108-1250"/>
2418
</location>
2519
</locations>
2620
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>

net.sourceforge.pmd.eclipse.plugin.test/META-INF/MANIFEST.MF

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ Require-Bundle: org.eclipse.ui,
1414
org.eclipse.jdt.launching,
1515
org.junit,
1616
org.apache.commons.io
17-
Import-Package: ch.qos.logback.classic,
18-
org.slf4j
1917
Bundle-Activator: net.sourceforge.pmd.eclipse.internal.TestActivator
2018
Bundle-ActivationPolicy: lazy

net.sourceforge.pmd.eclipse.plugin.test/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@
5858
<id>net.sourceforge.pmd.eclipse.plugin.test.fragment</id>
5959
<versionRange>0.0.0</versionRange>
6060
</requirement>
61-
<requirement>
62-
<type>eclipse-plugin</type>
63-
<id>ch.qos.logback.slf4j</id>
64-
<versionRange>0.0.0</versionRange>
65-
</requirement>
6661
</extraRequirements>
6762
</dependency-resolution>
6863
</configuration>

net.sourceforge.pmd.eclipse.plugin/META-INF/MANIFEST.MF

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ Require-Bundle: org.eclipse.core.resources,
1616
org.eclipse.help,
1717
org.eclipse.help.ui,
1818
org.eclipse.wst.xml.core,
19-
org.eclipse.ui.workbench.texteditor,
20-
ch.qos.logback.classic,
21-
ch.qos.logback.core
19+
org.eclipse.ui.workbench.texteditor
2220
Bundle-ActivationPolicy: lazy
2321
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
2422
Bundle-Vendor: %plugin.provider
@@ -37,7 +35,10 @@ Bundle-ClassPath: target/lib/antlr-runtime.jar,
3735
target/lib/jaxb-core.jar,
3836
target/lib/jaxb-impl.jar,
3937
target/lib/jcommander.jar,
38+
target/lib/jul-to-slf4j.jar,
4039
target/lib/lenses_2.13.jar,
40+
target/lib/logback-classic.jar,
41+
target/lib/logback-core.jar,
4142
target/lib/parsers_2.13.jar,
4243
target/lib/pmd-apex-jorje-lib.jar,
4344
target/lib/pmd-apex.jar,
@@ -67,14 +68,16 @@ Bundle-ClassPath: target/lib/antlr-runtime.jar,
6768
target/lib/saxon.jar,
6869
target/lib/scala-library.jar,
6970
target/lib/scalapb-runtime_2.13.jar,
71+
target/lib/slf4j-api.jar,
7072
target/lib/sourcecode_2.13.jar,
7173
target/lib/stringtemplate.jar,
7274
target/lib/trees_2.13.jar,
7375
target/classes/,
7476
target/schema/,
7577
.
7678
Bundle-Localization: plugin
77-
Export-Package: name.herlin.command,
79+
Export-Package: ch.qos.logback.classic;x-friends:="net.sourceforge.pmd.eclipse.plugin.test",
80+
name.herlin.command,
7881
net.sourceforge.pmd;
7982
uses:="net.sourceforge.pmd.stat,
8083
net.sourceforge.pmd.lang,
@@ -162,5 +165,5 @@ Export-Package: name.herlin.command,
162165
net.sourceforge.pmd.renderers,
163166
net.sourceforge.pmd.stat,
164167
net.sourceforge.pmd.util;uses:="net.sourceforge.pmd.lang.java.ast",
165-
net.sourceforge.pmd.util.datasource
166-
Import-Package: org.slf4j
168+
net.sourceforge.pmd.util.datasource,
169+
org.slf4j;x-friends:="net.sourceforge.pmd.eclipse.plugin.test"

net.sourceforge.pmd.eclipse.plugin/pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,22 @@
3939
<artifactId>jaxb-impl</artifactId>
4040
<version>2.3.1</version>
4141
</dependency>
42+
43+
<dependency>
44+
<groupId>org.slf4j</groupId>
45+
<artifactId>slf4j-api</artifactId>
46+
<version>1.7.31</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>ch.qos.logback</groupId>
50+
<artifactId>logback-classic</artifactId>
51+
<version>1.2.3</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.slf4j</groupId>
55+
<artifactId>jul-to-slf4j</artifactId>
56+
<version>1.7.31</version>
57+
</dependency>
4258
</dependencies>
4359

4460
<build>

0 commit comments

Comments
 (0)