Skip to content

Commit

Permalink
[#2787] remove javax.inject dependency
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <christian.dietrich.opensource@gmail.com>
  • Loading branch information
cdietrich committed Aug 28, 2023
1 parent bc5f99e commit 541119f
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 78 deletions.
3 changes: 1 addition & 2 deletions org.eclipse.xtend.core.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ Require-Bundle: org.eclipse.xtend.core,
org.eclipse.jdt.core;bundle-version="3.29.0",
org.eclipse.xtext.builder.standalone,
org.eclipse.xtext.java
Import-Package: javax.inject;version="1.0.0",
jakarta.inject;version="2.0.1",
Import-Package: jakarta.inject;version="2.0.1",
org.apache.log4j;version="1.2.24",
org.apache.log4j.spi;version="1.2.24",
org.junit;version="4.13.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<include name="com.google.inject*.jar" />
<include name="guice*.jar" />
<include name="*failureaccess*jar" />
<include name="javax.injec*.jar" />
<include name="jakarta.inject-api*jar" />
<include name="org.eclipse.equinox.common*.jar" />
<include name="org.eclipse.jdt.core*.jar" />
Expand Down
2 changes: 0 additions & 2 deletions org.eclipse.xtext.p2repository/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<bundle id="com.google.guava.failureaccess.source" version="1.0.1.qualifier"/>
<bundle id="com.google.inject" version="7.0.0.qualifier"/>
<bundle id="com.google.inject.source" version="7.0.0.qualifier"/>
<bundle id="javax.inject" version="1.0.0.qualifier"/>
<bundle id="javax.inject.source" version="1.0.0.qualifier"/>
<bundle id="jakarta.inject.jakarta.inject-api" version="2.0.1.qualifier"/>
<bundle id="jakarta.inject.jakarta.inject-api.source" version="2.0.1.qualifier"/>
<bundle id="org.antlr.runtime" version="3.2.0.qualifier"/>
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.redist.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ SPDX-License-Identifier: EPL-2.0
<import plugin="com.google.inject" version="7.0.0" match="compatible"/>
<import plugin="org.apache.log4j" version="1.2.24" match="equivalent"/>
<import plugin="org.objectweb.asm" version="9.5.0" match="compatible"/>
<import plugin="javax.inject" version="1.0.0" match="compatible"/>
<import plugin="io.github.classgraph" version="4.8.149" match="compatible"/>
</requires>

Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.runtime.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ SPDX-License-Identifier: EPL-2.0
</license>
<requires>
<import plugin="com.google.guava" version="32.1.2" match="compatible"/>
<import plugin="javax.inject" version="1.0.0" match="compatible"/>
<import plugin="com.google.inject" version="7.0.0" match="compatible"/>
<import plugin="org.apache.log4j" version="1.2.24" match="equivalent"/>
<import plugin="org.objectweb.asm" version="9.5.0" match="compatible"/>
Expand Down
3 changes: 1 addition & 2 deletions org.eclipse.xtext.testing.junit5.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ Require-Bundle: org.eclipse.xtext;visibility:=reexport,
org.eclipse.xtend.lib,
org.eclipse.xtext.testing,
com.google.inject;bundle-version="7.0.0";visibility:=reexport
Import-Package: javax.inject;version="1.0.0",
jakarta.inject;version="2.0.1",
Import-Package: jakarta.inject;version="2.0.1",
org.apache.log4j;version="1.2.24",
org.apache.log4j.spi;version="1.2.24",
org.junit.jupiter.api;version="[5.1.0,6.0.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@
<unit id="org.eclipse.xtext.sdk.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/milestones/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
1 change: 0 additions & 1 deletion org.eclipse.xtext.util/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ Require-Bundle: org.eclipse.emf.ecore;bundle-version="2.26.0",
com.google.guava;bundle-version="[32.1.2,33.0.0)";visibility:=reexport,
com.google.inject;bundle-version="7.0.0";visibility:=reexport,
com.google.guava.failureaccess;bundle-version="1.0.1";visibility:=reexport,
javax.inject;bundle-version="1.0.0";resolution:=optional;visibility:=reexport;x-installation:=greedy,
jakarta.inject.jakarta.inject-api;bundle-version="2.0.1";resolution:=optional;visibility:=reexport;x-installation:=greedy,
org.eclipse.xtend.lib
Import-Package: org.apache.log4j;version="1.2.24"
Expand Down
3 changes: 1 addition & 2 deletions org.eclipse.xtext.xbase.tests/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Require-Bundle: org.eclipse.xtext.xbase,
Bundle-Vendor: Eclipse Xtext
Export-Package: org.eclipse.xtext.xbase.tests,
org.eclipse.xtext.xbase.tests.interpreter
Import-Package: javax.inject;version="1.0.0",
jakarta.inject;version="2.0.0",
Import-Package: jakarta.inject;version="2.0.0",
org.apache.log4j;version="1.2.24",
org.junit;version="4.13.2",
org.junit.rules;version="4.13.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ class TargetPlatformProject extends ProjectDescriptor {
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/«config.xtextVersion»/"/>
«ENDIF»
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.10.1"/>
<unit id="com.google.inject" version="7.0.0"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,18 +185,6 @@ public CharSequence target() {
_builder.append("<location includeAllPlatforms=\"false\" includeConfigurePhase=\"false\" includeMode=\"planner\" includeSource=\"true\" type=\"InstallableUnit\">");
_builder.newLine();
_builder.append("\t\t\t");
_builder.append("<repository location=\"https://download.eclipse.org/oomph/simrel-orbit/2023-06\"/>");
_builder.newLine();
_builder.append("\t\t\t");
_builder.append("<unit id=\"javax.inject\" version=\"1.0.0.v20220405-0441\"/>");
_builder.newLine();
_builder.append("\t\t");
_builder.append("</location>");
_builder.newLine();
_builder.append("\t\t");
_builder.append("<location includeAllPlatforms=\"false\" includeConfigurePhase=\"false\" includeMode=\"planner\" includeSource=\"true\" type=\"InstallableUnit\">");
_builder.newLine();
_builder.append("\t\t\t");
_builder.append("<unit id=\"com.google.gson\" version=\"2.10.1\"/>");
_builder.newLine();
_builder.append("\t\t\t");
Expand Down
4 changes: 0 additions & 4 deletions xtext-latest.target
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/technology/swtbot/releases/4.0.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09"/>
<unit id="org.apache.log4j" version="1.2.24.v20221221-2012"/>
Expand Down
1 change: 0 additions & 1 deletion xtext-r202203.target
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
<unit id="org.apiguardian" version="0.0.0"/>
<unit id="org.junit.jupiter.api" version="0.0.0"/>
<unit id="org.junit.jupiter.engine" version="0.0.0"/>
Expand Down
1 change: 0 additions & 1 deletion xtext-r202206.target
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
<unit id="org.apiguardian" version="0.0.0"/>
<unit id="org.junit.jupiter.api" version="0.0.0"/>
<unit id="org.junit.jupiter.engine" version="0.0.0"/>
Expand Down
4 changes: 0 additions & 4 deletions xtext-r202209.target
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/technology/swtbot/releases/2.6.0/" />
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09"/>
<unit id="org.apache.log4j" version="1.2.24.v20221221-2012"/>
Expand Down
4 changes: 0 additions & 4 deletions xtext-r202212.target
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/technology/swtbot/releases/2.6.0/" />
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09"/>
<unit id="org.apache.log4j" version="1.2.24.v20221221-2012"/>
Expand Down
4 changes: 0 additions & 4 deletions xtext-r202303.target
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/technology/swtbot/releases/4.0.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09"/>
<unit id="org.apache.log4j" version="1.2.24.v20221221-2012"/>
Expand Down
4 changes: 0 additions & 4 deletions xtext-r202306.target
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
<unit id="org.eclipse.swtbot.eclipse.test.junit.feature.group" version="0.0.0"/>
<repository location="https://download.eclipse.org/technology/swtbot/releases/4.0.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/oomph/simrel-orbit/2023-06"/>
<unit id="javax.inject" version="1.0.0.v20220405-0441"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2023-09"/>
<unit id="org.apache.log4j" version="1.2.24.v20221221-2012"/>
Expand Down

0 comments on commit 541119f

Please sign in to comment.