org.eclipse.oomph.console.plugins
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.klib.tools</groupId>
<artifactId>org.eclipse.oomph.console.plugins</artifactId>
<version>1.0.5</version>
</dependency><project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>io.klib.tools</groupId>
<artifactId>org.eclipse.oomph.console.parent</artifactId>
<version>1.0.5</version>
<relativePath>..</relativePath>
</parent>
<groupId>io.klib.tools</groupId>
<artifactId>org.eclipse.oomph.console.plugins</artifactId>
<version>1.0.5</version>
<packaging>pom</packaging>
<modules>
<module>../../../plugins/org.eclipse.oomph.console</module>
<module>../../../plugins/org.eclipse.oomph.console.core</module>
<!--
<module>../../../org.eclipse.oomph.console.feature</module>
<module>../../../org.eclipse.oomph.console.site</module>
<module>../../../org.eclipse.oomph.console.tp</module>
<module>../../../org.eclipse.oomph.console.product</module>
<module>../../../org.eclipse.oomph.console.test</module>
-->
</modules>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
</plugins>
</pluginManagement>
<!-- See
https://git.eclipse.org/c/oomph/org.eclipse.oomph.git/tree/releng/org.eclipse.oomph.parent/pom.xml -->
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven.deploy.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<compilerArgs>
<arg>-warn:-restriction</arg>
</compilerArgs>
<useProjectSettings>true</useProjectSettings>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-publisher-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<!--
<plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-version-bump-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
-->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-versions-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<!-- Replace of the SNAPSHOT version in the final product configuration -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>package-feature</id>
<configuration>
<finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<target>
<artifact>
<groupId>io.klib.tools</groupId>
<artifactId>org.eclipse.oomph.console.tp</artifactId>
<version>1.0.5</version>
</artifact>
</target>
<executionEnvironment>org.eclipse.justj.openjdk.hotspot.jre.minimal-17</executionEnvironment>
<includePackedArtifacts>true</includePackedArtifacts>
<environments>
<!--
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>aarch64</arch>
</environment>
-->
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<!--
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>aarch64</arch>
</environment>
-->
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>attach-p2-metadata</id>
<phase>package</phase>
<goals>
<goal>p2-metadata</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
</plugins>
</build>
<!--
# verify build before release
./mvnw clean verify -Possrh -DskipTests -o
# configure version for release (MANIFEST and pom) - see
https://stackoverflow.com/a/34119136/2918516
./mvnw org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.0.5 -o
# releae to sonatype
./mvnw clean deploy -Possrh -DskipTests
# increase version to new snapshot
./mvnw org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.0.6.qualifier -o
-->
<profiles>
<profile>
<id>ossrh</id>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>plugin-source</goal>
<goal>feature-source</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven.javadoc.version}</version>
<configuration>
<detectJavaApiLink>false</detectJavaApiLink>
<javadocVersion>17.0.7</javadocVersion>
<additionalOptions>
<option>-Xdoclint:-missing</option>
<option>-html5</option>
<option>-windowtitle "${project.description}"</option>
</additionalOptions>
<excludePackageNames>test.*:*.tests:*.tests.*:*.test:*.test.*</excludePackageNames>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.revelc.code.formatter</groupId>
<artifactId>formatter-maven-plugin</artifactId>
<version>${formatter.maven.version}</version>
<configuration>
<configFile>${project.parent.parent.basedir}/eclipse-java-formatter.xml</configFile>
<skipCssFormatting>true</skipCssFormatting>
<skipHtmlFormatting>true</skipHtmlFormatting>
<skipJsFormatting>true</skipJsFormatting>
<skipJsonFormatting>true</skipJsonFormatting>
<skipXmlFormatting>true</skipXmlFormatting>
<directories>
<directory>${project.basedir}/src</directory>
</directories>
</configuration>
<executions>
<execution>
<id>format-code</id>
<phase>verify</phase>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${maven.gpg.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus.staging.maven.version}</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
<tags>
<localUsername>${env.USER}${env.USERNAME}</localUsername>
<javaVersion>${java.version}</javaVersion>
</tags>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>