Skip to content

Commit 4271b40

Browse files
committed
[Maven-Runtime] Restore common P2-baselineMode and remove unused imports
1 parent d1e7903 commit 4271b40

File tree

4 files changed

+10
-21
lines changed

4 files changed

+10
-21
lines changed

m2e-maven-runtime/org.eclipse.m2e.archetype.common/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2008, 2021 Sonatype, Inc. and others
3+
Copyright (c) 2008, 2023 Sonatype, Inc. and others
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Public License 2.0
66
which accompanies this distribution, and is available at
@@ -19,7 +19,7 @@
1919
</parent>
2020

2121
<artifactId>org.eclipse.m2e.archetype.common</artifactId>
22-
<version>3.2.102-SNAPSHOT</version>
22+
<version>3.2.103-SNAPSHOT</version>
2323
<packaging>jar</packaging>
2424

2525
<name>M2E Maven Archetype Common</name>

m2e-maven-runtime/org.eclipse.m2e.maven.runtime/pom.xml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2008, 2021 Sonatype, Inc. and others
3+
Copyright (c) 2008, 2023 Sonatype, Inc. and others
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Public License 2.0
66
which accompanies this distribution, and is available at
@@ -148,8 +148,7 @@
148148
<groupId>biz.aQute.bnd</groupId>
149149
<artifactId>bnd-maven-plugin</artifactId>
150150
<configuration>
151-
<bnd>
152-
<![CDATA[
151+
<bnd><![CDATA[
153152
# When launching a Maven build using this embedded runtime, we want the embedded SLF4J logger binding to be used.
154153
# However when the this Maven runtime is used within the Eclipse-IDE(-JVM) we don't want it to use the embedded SLF4J-binding
155154
# but instead use the SLF4J-binding provided by the Eclipse runtime. This is achived by making the embedded SLF4J-binding invisible
@@ -174,15 +173,12 @@
174173
org.slf4j.spi;version="[1.7.31,3.0.0)",\
175174
org.slf4j.helpers;version="[1.7.31,3.0.0)",\
176175
javax.inject;version="1.0.0",\
177-
javax.annotation;version="[1.2.0,2.0.0)",\
178-
javax.annotation.sql;version="[1.2.0,2.0.0)",\
179-
javax.annotation.security;version="[1.2.0,2.0.0)"
176+
javax.annotation;version="[1.2.0,2.0.0)"
180177
Require-Bundle: \
181178
com.google.guava
182-
]]>
183-
<!-- All direct dependencies specified as Require-Bundle or Import-package are added to the classpath of a launched
179+
]]></bnd>
180+
<!-- All direct dependencies specified as Require-Bundle or Import-package are added to the classpath of a launched
184181
Maven-Build-JVM. See MavenEmbeddedRuntime for details. -->
185-
</bnd>
186182
</configuration>
187183
</plugin>
188184
</plugins>

m2e-maven-runtime/pom.xml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2011, 2021 Sonatype, Inc. and others
3+
Copyright (c) 2011, 2023 Sonatype, Inc. and others
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Public License 2.0
66
which accompanies this distribution, and is available at
@@ -152,13 +152,6 @@
152152
</execution>
153153
</executions>
154154
</plugin>
155-
<plugin>
156-
<groupId>org.eclipse.tycho</groupId>
157-
<artifactId>tycho-p2-plugin</artifactId>
158-
<configuration>
159-
<baselineMode>warn</baselineMode>
160-
</configuration>
161-
</plugin>
162155
<plugin>
163156
<groupId>org.apache.maven.plugins</groupId>
164157
<artifactId>maven-dependency-plugin</artifactId>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
Copyright (c) 2010, 2021 Sonatype, Inc. and others
3+
Copyright (c) 2010, 2023 Sonatype, Inc. and others
44
All rights reserved. This program and the accompanying materials
55
are made available under the terms of the Eclipse Public License 2.0
66
which accompanies this distribution, and is available at
@@ -97,7 +97,7 @@
9797
<dependency>
9898
<groupId>org.eclipse.m2e</groupId>
9999
<artifactId>org.eclipse.m2e.archetype.common</artifactId>
100-
<version>3.2.102-SNAPSHOT</version>
100+
<version>3.2.103-SNAPSHOT</version>
101101
</dependency>
102102
<dependency>
103103
<groupId>org.eclipse.m2e</groupId>

0 commit comments

Comments
 (0)