Skip to content

Commit

Permalink
Restore necessary APIs in maven archiver
Browse files Browse the repository at this point in the history
Those are used by m2e-wtp
  • Loading branch information
mickaelistria committed Aug 5, 2022
1 parent db0d6d9 commit 47ebf8b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion org.eclipse.m2e.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="org.eclipse.m2e.feature"
label="%featureName"
version="2.0.0.qualifier"
version="2.0.1.qualifier"
provider-name="%providerName"
plugin="org.eclipse.m2e.core"
license-feature="org.eclipse.license"
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.m2e.mavenarchiver/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: m2e connector for the mavenarchiver and pom properties
Bundle-SymbolicName: org.eclipse.m2e.mavenarchiver;singleton:=true
Bundle-Version: 2.0.0.qualifier
Bundle-Version: 2.0.1.qualifier
Bundle-Vendor: Eclipse.org - m2e
Bundle-RequiredExecutionEnvironment: JavaSE-17
Require-Bundle: org.eclipse.core.resources;bundle-version="[3.4.0,4.0.0)",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ public void mavenProjectChanged(MavenProjectChangedEvent event, IProgressMonitor
mavenProjectChanged(newFacade, oldFacade, false, monitor);
}

private void mavenProjectChanged(IMavenProjectFacade newFacade, IMavenProjectFacade oldFacade,
protected void mavenProjectChanged(IMavenProjectFacade newFacade, IMavenProjectFacade oldFacade,
boolean forceGeneration, IProgressMonitor monitor) throws CoreException {
IContainer outputdir = getBuildOutputDir(newFacade);
IFile manifest = outputdir.getFile(org.eclipse.core.runtime.Path.forPosix(JarFile.MANIFEST_NAME));
Expand Down Expand Up @@ -276,7 +276,7 @@ private void refresh(IContainer outputdir, IProgressMonitor monitor) throws Core
* @param monitor the progress monitor
* @return true if the MANIFEST.MF needs to be regenerated
*/
private boolean needsNewManifest(IFile manifest, IMavenProjectFacade oldFacade, IMavenProjectFacade newFacade) {
protected boolean needsNewManifest(IFile manifest, IMavenProjectFacade oldFacade, IMavenProjectFacade newFacade) {

if (!manifest.exists()) {
return true;
Expand Down
2 changes: 1 addition & 1 deletion org.eclipse.m2e.sdk.feature/feature.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.eclipse.m2e.sdk.feature"
version="2.0.0.qualifier"
version="2.0.1.qualifier"
label="%featureName"
provider-name="%providerName"
license-feature="org.eclipse.license"
Expand Down

0 comments on commit 47ebf8b

Please sign in to comment.