Do not attach sources to features 12/111612/2
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 4 May 2024 06:02:23 +0000 (08:02 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 4 May 2024 10:26:02 +0000 (12:26 +0200)
maven-source-plugin emits a warning if we try to attach source. This
really should be solved by karaf.version being exposed from
odlparent-lite. Let's work around the warning by disabling source
plugin instead.

Change-Id: I31223e4e5e4a6b8a87cc16b2859f7d6f2b9ccb9d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
abstract-feature-parent/pom.xml

index 8108fdf462a77831e6fd4d1364f411dfd939d326..73ecb30e88b3b79fc0cedfa31fea905e453cb877 100644 (file)
@@ -35,6 +35,9 @@
 
         <!-- We typically do not have code in feature artifacts, which throws off maven-dependency-plugin -->
         <odlparent.dependency.skip>true</odlparent.dependency.skip>
+
+        <!-- Do not attach sources -->
+        <maven.source.skip>true</maven.source.skip>
     </properties>
 
     <build>