Skip to content

Commit 22d459b

Browse files
committed
Merge branch 'pr-126'
Use archived orbit site #126
2 parents 8b840f0 + 807cbda commit 22d459b

File tree

5 files changed

+47
-5
lines changed

5 files changed

+47
-5
lines changed

ReleaseNotes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ This is a minor release.
1616
### Fixed Issues
1717

1818
* [#123](https://github.com/pmd/pmd-eclipse-plugin/pull/123): Support external configuration changes
19+
* [#124](https://github.com/pmd/pmd-eclipse-plugin/issues/124): No repository found containing: osgi.bundle,org.slf4j.log4j,1.7.2.v20130115-1340
1920

2021
### API Changes
2122

kepler/kepler.target

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@
88
<unit id="org.eclipse.wst.xml_core.feature.feature.group" version="3.5.2.v201401062113-7C7OFvVF7RZHQXIlNxNyPh"/>
99
</location>
1010
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
11-
<repository location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/"/>
12-
<unit id="org.apache.log4j" version="1.2.15.v201012070815"/>
13-
<unit id="org.apache.log4j.source" version="1.2.15.v201012070815"/>
11+
<repository location="https://archive.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/"/>
1412
<unit id="org.apache.commons.io" version="2.0.1.v201105210651"/>
1513
<unit id="org.apache.commons.io.source" version="2.0.1.v201105210651"/>
1614
<unit id="org.apache.commons.lang" version="2.6.0.v201205030909"/>
@@ -23,6 +21,8 @@
2321
<unit id="ch.qos.logback.slf4j.source" version="1.0.7.v20121108-1250"/>
2422
<unit id="org.slf4j.jul" version="1.7.2.v20121108-1250"/>
2523
<unit id="org.slf4j.jul.source" version="1.7.2.v20121108-1250"/>
24+
<unit id="org.slf4j.log4j" version="1.7.2.v20130115-1340"/>
25+
<unit id="org.slf4j.log4j.source" version="1.7.2.v20130115-1340"/>
2626
</location>
2727
</locations>
2828
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>

net.sourceforge.pmd.eclipse.p2updatesite/category.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
PMD Plugin for Eclipse
99
</description>
1010
</category-def>
11-
<repository-reference location="http://download.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/" enabled="true" />
11+
<repository-reference location="https://archive.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/" enabled="true" />
1212
</site>

net.sourceforge.pmd.eclipse/feature.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,20 @@
3838
install-size="0"
3939
version="4.14.0.qualifier"/>
4040

41+
<!--
42+
org.slf4j.log4j is included for convenience, so that it doesn't need to be fetched from orbit.
43+
Adding it here will add it to the update site of pmd-eclipse-plugin.
44+
45+
In newer eclipse installations, slf4j and logback itself is already installed, only this old log4j
46+
dependency is needed.
47+
48+
Note: log4j is only needed to provide compatibility, see https://github.com/pmd/pmd-eclipse-plugin/pull/112
49+
-->
50+
<plugin
51+
id="org.slf4j.log4j"
52+
download-size="0"
53+
install-size="0"
54+
version="0.0.0"
55+
unpack="false"/>
56+
4157
</feature>

pom.xml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<checkstyle.version>8.30</checkstyle.version>
2727
<checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
2828

29-
<updatesite.orbit>http://download.eclipse.org/tools/orbit/downloads/drops/${orbit.version}/repository/</updatesite.orbit>
29+
<updatesite.orbit>https://archive.eclipse.org/tools/orbit/downloads/drops/${orbit.version}/repository/</updatesite.orbit>
3030
</properties>
3131

3232
<repositories>
@@ -237,6 +237,31 @@
237237
</sourceDirectories>
238238
</configuration>
239239
</plugin>
240+
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
241+
<plugin>
242+
<groupId>org.eclipse.m2e</groupId>
243+
<artifactId>lifecycle-mapping</artifactId>
244+
<version>1.0.0</version>
245+
<configuration>
246+
<lifecycleMappingMetadata>
247+
<pluginExecutions>
248+
<pluginExecution>
249+
<pluginExecutionFilter>
250+
<groupId>org.apache.maven.plugins</groupId>
251+
<artifactId>maven-dependency-plugin</artifactId>
252+
<versionRange>[2.7,)</versionRange>
253+
<goals>
254+
<goal>unpack</goal>
255+
</goals>
256+
</pluginExecutionFilter>
257+
<action>
258+
<ignore></ignore>
259+
</action>
260+
</pluginExecution>
261+
</pluginExecutions>
262+
</lifecycleMappingMetadata>
263+
</configuration>
264+
</plugin>
240265
</plugins>
241266
</pluginManagement>
242267
</build>

0 commit comments

Comments
 (0)