Skip to content

Commit

Permalink
Fix 'artifact already attached' warnings in Maven/Tycho build
Browse files Browse the repository at this point in the history
See eclipse-tycho/tycho#1100 for details.
  • Loading branch information
pisv committed Dec 6, 2023
1 parent 45f03a9 commit 55864b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion org.lxtk-feature/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2022 1C-Soft LLC.
Copyright (c) 2019, 2023 1C-Soft LLC.
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -44,6 +44,12 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>default-p2-metadata-default</id>
<configuration>
<attachP2Metadata>false</attachP2Metadata>
</configuration>
</execution>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
Expand Down
8 changes: 7 additions & 1 deletion org.lxtk.lx4e-feature/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2019, 2022 1C-Soft LLC.
Copyright (c) 2019, 2023 1C-Soft LLC.
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which is available at
Expand Down Expand Up @@ -44,6 +44,12 @@
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<executions>
<execution>
<id>default-p2-metadata-default</id>
<configuration>
<attachP2Metadata>false</attachP2Metadata>
</configuration>
</execution>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
Expand Down

0 comments on commit 55864b9

Please sign in to comment.