Skip to content

Commit

Permalink
chore: update pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Dec 26, 2023
1 parent 9154ea0 commit ee5ddb0
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 37 deletions.
8 changes: 4 additions & 4 deletions feature/pom.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2021-2022 by Sebastian Thomschke and contributors
SPDX-FileCopyrightText: © Sebastian Thomschke and contributors.
SPDX-FileContributor: Sebastian Thomschke
SPDX-License-Identifier: EPL-2.0
@author Sebastian Thomschke
SPDX-ArtifactOfProjectHomePage: https://github.com/sebthom/eclipse-commons
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
Expand Down
10 changes: 5 additions & 5 deletions plugin/pom.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 2021-2022 by Sebastian Thomschke and contributors
SPDX-FileCopyrightText: © Sebastian Thomschke and contributors.
SPDX-FileContributor: Sebastian Thomschke
SPDX-License-Identifier: EPL-2.0
@author Sebastian Thomschke
SPDX-ArtifactOfProjectHomePage: https://github.com/sebthom/eclipse-commons
-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<modelVersion>4.0.0</modelVersion>

Expand Down
105 changes: 77 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: © Sebastian Thomschke and contributors.
SPDX-FileContributor: Sebastian Thomschke
Expand All @@ -16,26 +16,56 @@
<version>RELEASE</version>
</parent>

<name>eclipse-commons</name>
<groupId>de.sebthom.eclipse.commons</groupId>
<artifactId>de.sebthom.eclipse.commons.parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>

<name>eclipse-commons</name>
<url>https://github.com/sebthom/eclipse-commons</url>
<inceptionYear>2021</inceptionYear>
<organization>
<!-- used as Specification/Implementation-Vendor in MANIFEST.MF -->
<name>Sebastian Thomschke</name>
<url>https://github.com/sebthom</url>
</organization>

<licenses>
<license>
<name>Eclipse Public License 2.0</name>
<distribution>repo</distribution>
<url>https://spdx.org/licenses/EPL-2.0.html</url>
<url>https://spdx.org/licenses/EPL-2.0</url>
</license>
</licenses>


<modules>
<module>plugin</module>
<module>feature</module>
<module>updatesite</module>
</modules>


<scm>
<!-- https://maven.apache.org/scm/git.html -->
<url>https://github.com/sebthom/eclipse-commons</url>
<connection>scm:git:https://github.com/sebthom/eclipse-commons.git</connection>
<developerConnection>scm:git:https://github.com/sebthom/eclipse-commons.git</developerConnection>
<tag>HEAD</tag>
</scm>


<issueManagement>
<system>github.com</system>
<url>https://github.com/sebthom/eclipse-commons/issues</url>
</issueManagement>


<ciManagement>
<system>github.com</system>
<url>https://github.com/sebthom/eclipse-commons/actions</url>
</ciManagement>


<properties>
<java.version>17</java.version>
<tycho.version>4.0.4</tycho.version>
Expand All @@ -50,13 +80,6 @@
</properties>


<modules>
<module>plugin</module>
<module>feature</module>
<module>updatesite</module>
</modules>


<build>
<pluginManagement>
<plugins>
Expand Down Expand Up @@ -88,7 +111,7 @@
<version>${tycho.version}</version>
</plugin>
<plugin>
<!-- https://www.eclipse.org/tycho/sitedocs/tycho-packaging-plugin/plugin-info.html -->
<!-- https://tycho.eclipseprojects.io/doc/latest/tycho-packaging-plugin/plugin-info.html -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
Expand All @@ -99,20 +122,20 @@
</configuration>
</plugin>
<plugin>
<!-- https://www.eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-plugin/plugin-info.html -->
<!-- https://tycho.eclipseprojects.io/doc/latest/tycho-p2-plugin/plugin-info.html -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<!-- https://www.eclipse.org/tycho/sitedocs/tycho-surefire-plugin/plugin-info.html -->
<!-- https://tycho.eclipseprojects.io/doc/latest/tycho-surefire-plugin/plugin-info.html -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<!--
https://www.eclipse.org/tycho/sitedocs/tycho-release/tycho-versions-plugin/plugin-info.html
https://tycho.eclipseprojects.io/doc/latest/tycho-versions-plugin/plugin-info.html
mvn -Dtycho.mode=maven tycho-versions:update-eclipse-metadata
-->
<groupId>org.eclipse.tycho</groupId>
Expand Down Expand Up @@ -144,17 +167,17 @@
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>clean</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<versionRange>[1.0,)</versionRange>
<goals>
<goal>clean</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
Expand Down Expand Up @@ -213,7 +236,7 @@
<extensions>true</extensions>
</plugin>
<plugin>
<!-- https://www.eclipse.org/tycho/sitedocs/target-platform-configuration/target-platform-configuration-mojo.html -->
<!-- https://tycho.eclipseprojects.io/doc/latest/target-platform-configuration/target-platform-mojo.html -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
Expand Down Expand Up @@ -259,4 +282,30 @@
</plugin>
</plugins>
</build>
</project>

<profiles>
<profile>
<id>disable-tycho-packaging-plugin-if-executed-in-eclipse</id>
<activation>
<property>
<name>eclipse.application</name>
</property>
</activation>
<build>
<plugins>
<plugin>
<!-- disable building of a new jar on each file change from within Eclipse -->
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<executions>
<execution>
<id>default-package-plugin</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

0 comments on commit ee5ddb0

Please sign in to comment.