Skip to content

Commit

Permalink
Make m2e.core.ui host of archetype-fragments and delete archetype.common
Browse files Browse the repository at this point in the history
The Plugin o.e.m2e.archetype.common is empty and only serves as host for
the maven-archetype fragment-bundles. Since they are only used by
m2e.core.ui, we can simply make that the host of those fragments and
save one project in m2e.
  • Loading branch information
HannesWell committed Aug 19, 2023
1 parent df437f8 commit 34b9695
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 285 deletions.
10 changes: 0 additions & 10 deletions org.eclipse.m2e.archetype.common/.classpath

This file was deleted.

28 changes: 0 additions & 28 deletions org.eclipse.m2e.archetype.common/.project

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

35 changes: 0 additions & 35 deletions org.eclipse.m2e.archetype.common/.settings/org.eclipse.pde.prefs

This file was deleted.

15 changes: 0 additions & 15 deletions org.eclipse.m2e.archetype.common/META-INF/MANIFEST.MF

This file was deleted.

14 changes: 0 additions & 14 deletions org.eclipse.m2e.archetype.common/META-INF/p2.inf

This file was deleted.

128 changes: 0 additions & 128 deletions org.eclipse.m2e.archetype.common/about.html

This file was deleted.

5 changes: 0 additions & 5 deletions org.eclipse.m2e.archetype.common/build.properties

This file was deleted.

14 changes: 10 additions & 4 deletions org.eclipse.m2e.core.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.eclipse.m2e.core.ui;singleton:=true
Bundle-Version: 2.0.6.qualifier
Bundle-Version: 2.4.0.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-17
Bundle-Name: %Bundle-Name
Bundle-Vendor: %Bundle-Vendor
Expand Down Expand Up @@ -33,7 +33,6 @@ Require-Bundle: org.eclipse.m2e.core;bundle-version="[2.0.0,3.0.0)",
org.eclipse.core.runtime;bundle-version="3.5.0",
org.eclipse.m2e.model.edit;bundle-version="[2.0.0,3.0.0)";visibility:=reexport,
org.eclipse.m2e.maven.runtime;bundle-version="[3.8.6,4.0.0)",
org.eclipse.m2e.archetype.common;bundle-version="[3.2.1,4.0.0)",
org.eclipse.ui.console;bundle-version="3.4.0",
org.eclipse.ui.ide;bundle-version="3.18.0",
org.eclipse.core.filesystem;bundle-version="1.2.1",
Expand All @@ -42,8 +41,15 @@ Require-Bundle: org.eclipse.m2e.core;bundle-version="[2.0.0,3.0.0)",
org.eclipse.jface.text,
org.eclipse.core.filebuffers,
org.eclipse.ui,
org.eclipse.ui.navigator
Import-Package: org.eclipse.compare.rangedifferencer,
org.eclipse.ui.navigator,
com.ibm.icu
Import-Package: org.apache.maven.archetype.catalog;provider=m2e,
org.apache.maven.archetype.catalog.io.xpp3;provider=m2e,
org.apache.maven.archetype.common;provider=m2e,
org.apache.maven.archetype.exception;provider=m2e,
org.apache.maven.archetype.metadata;provider=m2e,
org.apache.maven.archetype.source;provider=m2e,
org.eclipse.compare.rangedifferencer,
org.eclipse.ltk.core.refactoring,
org.slf4j;version="[1.7.0,3.0.0)"
Service-Component: OSGI-INF/component.xml,
Expand Down
1 change: 1 addition & 0 deletions org.eclipse.m2e.feature/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
bin.includes = feature.xml,\
feature.properties,\
p2.inf
pom.model.property.tycho.baseline.skip = true
38 changes: 32 additions & 6 deletions org.eclipse.m2e.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@
version="0.0.0"
optional="true"/>

<plugin
id="org.eclipse.m2e.archetype.common"
download-size="0"
install-size="0"
version="0.0.0"/>

<plugin
id="org.eclipse.m2e.model.edit"
download-size="0"
Expand Down Expand Up @@ -174,4 +168,36 @@
version="0.0.0"
unpack="false"/>

<plugin
id="org.eclipse.m2e.archetype.archetype-catalog"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.m2e.archetype.archetype-common"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.m2e.archetype.archetype-descriptor"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.m2e.archetype.maven-artifact-transfer"
download-size="0"
install-size="0"
version="0.0.0"
fragment="true"
unpack="false"/>

</feature>
10 changes: 0 additions & 10 deletions org.eclipse.m2e.repository/category.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,6 @@
<bundle id="org.apache.commons.cli"/>
<bundle id="org.apache.commons.cli.source"/>
<bundle id="jakarta.servlet-api"/>
<bundle id="org.eclipse.m2e.archetype.jdom2"/>
<bundle id="org.eclipse.m2e.archetype.jdom2.source"/>
<bundle id="org.eclipse.m2e.archetype.archetype-catalog"/>
<bundle id="org.eclipse.m2e.archetype.archetype-catalog.source"/>
<bundle id="org.eclipse.m2e.archetype.archetype-common"/>
<bundle id="org.eclipse.m2e.archetype.archetype-common.source"/>
<bundle id="org.eclipse.m2e.archetype.archetype-descriptor"/>
<bundle id="org.eclipse.m2e.archetype.archetype-descriptor.source"/>
<bundle id="org.eclipse.m2e.archetype.maven-artifact-transfer"/>
<bundle id="org.eclipse.m2e.archetype.maven-artifact-transfer.source"/>
<iu>
<query>
<expression type="match">
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

<module>org.eclipse.m2e.maven.runtime</module>

<module>org.eclipse.m2e.archetype.common</module>
<module>org.eclipse.m2e.model.edit</module>
<module>org.eclipse.m2e.core</module>
<module>org.eclipse.m2e.core.ui</module>
Expand Down
Loading

0 comments on commit 34b9695

Please sign in to comment.