Fix outdated bundle vendor
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
parent
aebe436e00
commit
cd7138131e
|
@ -60,7 +60,7 @@ public class StartArgs
|
|||
if (ver == null)
|
||||
{
|
||||
Package pkg = StartArgs.class.getPackage();
|
||||
if ((pkg != null) && "Eclipse.org - Jetty".equals(pkg.getImplementationVendor()) && (pkg.getImplementationVersion() != null))
|
||||
if ((pkg != null) && "Eclipse Jetty Project".equals(pkg.getImplementationVendor()) && (pkg.getImplementationVersion() != null))
|
||||
{
|
||||
ver = pkg.getImplementationVersion();
|
||||
if (tag == null)
|
||||
|
|
|
@ -66,7 +66,7 @@ public class Jetty
|
|||
|
||||
Package pkg = Jetty.class.getPackage();
|
||||
if (pkg != null &&
|
||||
"Eclipse.org - Jetty".equals(pkg.getImplementationVendor()) &&
|
||||
"Eclipse Jetty Project".equals(pkg.getImplementationVendor()) &&
|
||||
pkg.getImplementationVersion() != null)
|
||||
VERSION = pkg.getImplementationVersion();
|
||||
else
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -307,7 +307,7 @@
|
|||
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
|
||||
<Bundle-Name>${project.name}</Bundle-Name>
|
||||
<Bundle-SymbolicName>${bundle-symbolic-name}.source</Bundle-SymbolicName>
|
||||
<Bundle-Vendor>Eclipse.org - Jetty</Bundle-Vendor>
|
||||
<Bundle-Vendor>Eclipse Jetty Project</Bundle-Vendor>
|
||||
<Bundle-Version>${parsedVersion.osgiVersion}</Bundle-Version>
|
||||
<Eclipse-SourceBundle>${bundle-symbolic-name};version="${parsedVersion.osgiVersion}";roots:="."</Eclipse-SourceBundle>
|
||||
</manifestEntries>
|
||||
|
@ -494,7 +494,7 @@
|
|||
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
|
||||
<manifestEntries>
|
||||
<Implementation-Version>${project.version}</Implementation-Version>
|
||||
<Implementation-Vendor>Eclipse.org - Jetty</Implementation-Vendor>
|
||||
<Implementation-Vendor>Eclipse Jetty Project</Implementation-Vendor>
|
||||
<url>${jetty.url}</url>
|
||||
</manifestEntries>
|
||||
</archive>
|
||||
|
|
Loading…
Reference in New Issue