Hello community, here is the log from the commit of package mojo-executor for openSUSE:Factory checked in at 2019-11-26 16:58:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mojo-executor (Old) and /work/SRC/openSUSE:Factory/.mojo-executor.new.26869 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mojo-executor" Tue Nov 26 16:58:56 2019 rev:2 rq:750581 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mojo-executor/mojo-executor.changes 2019-11-06 13:55:51.864140726 +0100 +++ /work/SRC/openSUSE:Factory/.mojo-executor.new.26869/mojo-executor.changes 2019-11-26 16:59:01.092114633 +0100 @@ -1,0 +2,11 @@ +Sun Nov 24 16:51:15 UTC 2019 - Fridrich Strba <[email protected]> + +- Upgrade to version 2.3.1 +- Added patch: + * mojo-executor-dependency.patch + + Collections.emptyList() has type of java.lang.Object and + cannot be cast to List<Dependency>. +- Specify maven.compiler.release to fix build with jdk9+ and newer + maven-javadoc-plugin + +------------------------------------------------------------------- Old: ---- mojo-executor-parent-2.3.0.tar.gz New: ---- mojo-executor-dependency.patch mojo-executor-parent-2.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mojo-executor.spec ++++++ --- /var/tmp/diff_new_pack.O9VHUB/_old 2019-11-26 16:59:02.588114139 +0100 +++ /var/tmp/diff_new_pack.O9VHUB/_new 2019-11-26 16:59:02.588114139 +0100 @@ -1,7 +1,7 @@ # # spec file for package mojo-executor # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: mojo-executor -Version: 2.3.0 +Version: 2.3.1 Release: 0 Summary: Mojo Executor License: Apache-2.0 @@ -25,11 +25,13 @@ URL: http://timmoore.github.io/mojo-executor/ Source0: https://github.com/TimMoore/%{name}/archive/%{name}-parent-%{version}.tar.gz Source1: http://www.apache.org/licenses/LICENSE-2.0 -BuildRequires: maven-local fdupes +Patch0: mojo-executor-dependency.patch +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-model) BuildRequires: mvn(org.apache.maven:maven-plugin-api) -BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.slf4j:slf4j-api) BuildRequires: mvn(org.slf4j:slf4j-simple) @@ -49,14 +51,19 @@ %prep %setup -q -n %{name}-%{name}-parent-%{version} +%patch0 -p1 cp %{SOURCE1} . %pom_disable_module %{name}-maven-plugin +%pom_remove_plugin :jacoco-maven-plugin perl -pi -e 's#org\.sonatype\.aether\.repository#org.eclipse.aether.repository#g' \ mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java %build -%mvn_build -f +%mvn_build -f \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -- -Dmaven.compiler.release=7 +%endif %install %mvn_install ++++++ mojo-executor-dependency.patch ++++++ --- mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java 2019-11-23 20:33:23.082262552 +0100 +++ mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java 2019-11-23 20:32:56.434427749 +0100 @@ -197,7 +197,7 @@ * @return The plugin instance */ public static Plugin plugin(String groupId, String artifactId, String version) { - return plugin(groupId, artifactId, version, Collections.emptyList()); + return plugin(groupId, artifactId, version, Collections.<Dependency>emptyList()); } /** ++++++ mojo-executor-parent-2.3.0.tar.gz -> mojo-executor-parent-2.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/.travis.yml new/mojo-executor-mojo-executor-parent-2.3.1/.travis.yml --- old/mojo-executor-mojo-executor-parent-2.3.0/.travis.yml 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/.travis.yml 2019-11-21 10:49:07.000000000 +0100 @@ -7,7 +7,7 @@ # - '3.5.0' jdk: - - oraclejdk7 + - openjdk8 # cache local Maven repo: http://docs.travis-ci.com/user/caching/ cache: @@ -26,4 +26,11 @@ - MAVEN=$PWD/apache-maven-3.5.0 install: /bin/true -script: export M2_HOME=$MAVEN ; export PATH=$M2_HOME/bin:$PATH ; mvn --version ; mvn clean install +script: + - echo $JAVA_HOME + - export M2_HOME=$MAVEN + - export PATH=$M2_HOME/bin:$PATH + - mvn --version + - mvn clean install + +after_success: bash <(curl -s https://codecov.io/bash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/README.md new/mojo-executor-mojo-executor-parent-2.3.1/README.md --- old/mojo-executor-mojo-executor-parent-2.3.0/README.md 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/README.md 2019-11-21 10:49:07.000000000 +0100 @@ -2,10 +2,14 @@ The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to easily create Maven plugins that are composed of other plugins. -Note from the Maintainer -======================== +Note from the Maintainers +========================= -I'm no longer maintaning this project actively, as I no longer use it (and have moved away from Maven and Java entirely). It's a simple library that does its job, and a lot of people are using it effectively in its current state. + +Tim Moore +--------- + +I'm no longer maintaining this project actively, as I no longer use it (and have moved away from Maven and Java entirely). It's a simple library that does its job, and a lot of people are using it effectively in its current state. I am happy to continue reviewing and merging pull requests, and releasing new versions to Maven Central. Most of the contributions so far have come from other people, and I'm very grateful to the people that have helped to improve Mojo Executor. @@ -13,12 +17,24 @@ If anyone in the community would like to take over as full-time maintainer, let's talk! Email me at [email protected] and we can set up a Skype call or Google Hangout to discuss it in detail. -Cheers, +Cheers, — Tim + +Nick Cross +---------- + +While I am no longer actively using this plugin I am happy to review, assist with contributions, merge PRs and release new versions. I have released the last two versions (2.3.0/2.3.1) rolling up all the various fixes and improvements. + +Cheers, +— Nick + + + News ==== +- 4 May 2017 — Mojo Executor 2.3.0 released (by Nick Cross) with various bug fixes and minor improvements. - 27 Mar 2014 — Mojo Executor 1.5.2 released with support for Maven 2 through 3.1. - 12 Feb 2014 — I'm looking for a new maintainer for this project. If you're interested, please get in touch! - 26 Nov 2013 — Mojo Executor 2.2.0 released with support for attributes in plugin configuration. @@ -74,7 +90,7 @@ private BuildPluginManager pluginManager; ``` -An alternative form for the executionEnvironment, ignoring the optional MavenProject, is: +An alternative form for the executionEnvironment, ignoring the optional MavenProject, is: ``` executionEnvironment( mavenSession, @@ -97,7 +113,7 @@ <dependency> <groupId>org.twdata.maven</groupId> <artifactId>mojo-executor</artifactId> - <version>2.2.0</version> + <version>2.3.0</version> </dependency> </dependencies> ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/pom.xml new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/pom.xml --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/pom.xml 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/pom.xml 2019-11-21 10:49:07.000000000 +0100 @@ -20,7 +20,7 @@ <parent> <groupId>org.twdata.maven</groupId> <artifactId>mojo-executor-parent</artifactId> - <version>2.3.0</version> + <version>2.3.1</version> </parent> <artifactId>mojo-executor</artifactId> @@ -66,6 +66,7 @@ <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> + <scope>test</scope> </dependency> </dependencies> </project> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MavenCompatibilityHelper.java 2019-11-21 10:49:07.000000000 +0100 @@ -24,9 +24,9 @@ import org.apache.maven.plugin.PluginNotFoundException; import org.apache.maven.plugin.PluginResolutionException; import org.apache.maven.plugin.descriptor.PluginDescriptor; +import org.eclipse.aether.repository.RemoteRepository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.sonatype.aether.repository.RemoteRepository; import org.twdata.maven.mojoexecutor.MojoExecutor.ExecutionEnvironment; import java.lang.reflect.InvocationTargetException; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/main/java/org/twdata/maven/mojoexecutor/MojoExecutor.java 2019-11-21 10:49:07.000000000 +0100 @@ -65,6 +65,7 @@ * ); * </pre> */ +@SuppressWarnings("WeakerAccess") public class MojoExecutor { private static final Logger logger = LoggerFactory.getLogger( MojoExecutor.class ); @@ -117,20 +118,7 @@ } MojoExecution exec = mojoExecution(mojoDescriptor, executionId, configuration); env.getPluginManager().executeMojo(session, exec); - // TODO : Consider using JDK7 multi-catch - } catch (PluginConfigurationException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (PluginNotFoundException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (InvalidPluginDescriptorException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (PluginManagerException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (PluginDescriptorParsingException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (MojoFailureException e) { - throw new MojoExecutionException("Unable to execute mojo", e); - } catch (PluginResolutionException e) { + } catch (PluginConfigurationException | PluginNotFoundException | InvalidPluginDescriptorException | PluginManagerException | PluginDescriptorParsingException | MojoFailureException | PluginResolutionException e) { throw new MojoExecutionException("Unable to execute mojo", e); } } @@ -209,7 +197,7 @@ * @return The plugin instance */ public static Plugin plugin(String groupId, String artifactId, String version) { - return plugin(groupId, artifactId, version, Collections.<Dependency>emptyList()); + return plugin(groupId, artifactId, version, Collections.emptyList()); } /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/test/java/org/twdata/maven/mojoexecutor/MojoExecutorTest.java new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/test/java/org/twdata/maven/mojoexecutor/MojoExecutorTest.java --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor/src/test/java/org/twdata/maven/mojoexecutor/MojoExecutorTest.java 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor/src/test/java/org/twdata/maven/mojoexecutor/MojoExecutorTest.java 2019-11-21 10:49:07.000000000 +0100 @@ -24,18 +24,17 @@ import org.apache.maven.project.MavenProject; import org.codehaus.plexus.configuration.xml.XmlPlexusConfiguration; import org.codehaus.plexus.util.xml.Xpp3Dom; +import org.eclipse.aether.RepositorySystemSession; +import org.eclipse.aether.repository.RemoteRepository; import org.hamcrest.CoreMatchers; import org.hamcrest.Description; import org.hamcrest.Matcher; import org.hamcrest.TypeSafeDiagnosingMatcher; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; -import org.sonatype.aether.RepositorySystemSession; -import org.sonatype.aether.repository.RemoteRepository; import java.util.List; import java.util.Map; @@ -49,6 +48,8 @@ import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import static org.twdata.maven.mojoexecutor.MojoExecutor.artifactId; +import static org.twdata.maven.mojoexecutor.MojoExecutor.attribute; +import static org.twdata.maven.mojoexecutor.MojoExecutor.attributes; import static org.twdata.maven.mojoexecutor.MojoExecutor.configuration; import static org.twdata.maven.mojoexecutor.MojoExecutor.dependencies; import static org.twdata.maven.mojoexecutor.MojoExecutor.dependency; @@ -60,8 +61,6 @@ import static org.twdata.maven.mojoexecutor.MojoExecutor.name; import static org.twdata.maven.mojoexecutor.MojoExecutor.plugin; import static org.twdata.maven.mojoexecutor.MojoExecutor.version; -import static org.twdata.maven.mojoexecutor.MojoExecutor.attributes; -import static org.twdata.maven.mojoexecutor.MojoExecutor.attribute; @RunWith(MockitoJUnitRunner.class) public class MojoExecutorTest { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor-maven-plugin/pom.xml new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor-maven-plugin/pom.xml --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor-maven-plugin/pom.xml 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor-maven-plugin/pom.xml 2019-11-21 10:49:07.000000000 +0100 @@ -20,7 +20,7 @@ <parent> <groupId>org.twdata.maven</groupId> <artifactId>mojo-executor-parent</artifactId> - <version>2.3.0</version> + <version>2.3.1</version> </parent> <artifactId>mojo-executor-maven-plugin</artifactId> @@ -80,7 +80,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-plugin-plugin</artifactId> - <version>3.4</version> <executions> <execution> <id>default-descriptor</id> @@ -94,7 +93,6 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> - <version>2.0.0</version> <configuration> <!-- <debug>true</debug> --> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor-maven-plugin/src/main/java/org/twdata/maven/mojoexecutor/plugin/MojoExecutorMojo.java new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor-maven-plugin/src/main/java/org/twdata/maven/mojoexecutor/plugin/MojoExecutorMojo.java --- old/mojo-executor-mojo-executor-parent-2.3.0/mojo-executor-maven-plugin/src/main/java/org/twdata/maven/mojoexecutor/plugin/MojoExecutorMojo.java 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/mojo-executor-maven-plugin/src/main/java/org/twdata/maven/mojoexecutor/plugin/MojoExecutorMojo.java 2019-11-21 10:49:07.000000000 +0100 @@ -41,6 +41,7 @@ /** * Execute a Mojo using the MojoExecutor. */ +@SuppressWarnings("unused") @Mojo( name = "execute-mojo", defaultPhase = LifecyclePhase.TEST, requiresDependencyResolution = ResolutionScope.TEST) public class MojoExecutorMojo extends AbstractMojo { /** diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mojo-executor-mojo-executor-parent-2.3.0/pom.xml new/mojo-executor-mojo-executor-parent-2.3.1/pom.xml --- old/mojo-executor-mojo-executor-parent-2.3.0/pom.xml 2017-05-04 14:27:03.000000000 +0200 +++ new/mojo-executor-mojo-executor-parent-2.3.1/pom.xml 2019-11-21 10:49:07.000000000 +0100 @@ -17,244 +17,313 @@ <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/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.sonatype.oss</groupId> - <artifactId>oss-parent</artifactId> - <version>7</version> - </parent> - - <groupId>org.twdata.maven</groupId> - <artifactId>mojo-executor-parent</artifactId> - <version>2.3.0</version> - <packaging>pom</packaging> - - <name>Mojo Executor Parent</name> - <description> - The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to - easily create Maven plugins that are composed of other plugins. - </description> - <url>http://timmoore.github.com/mojo-executor/</url> - <inceptionYear>2008</inceptionYear> - <licenses> - <license> - <name>Apache License, Version 2.0</name> - <url>http://www.apache.org/licenses/LICENSE-2.0</url> - <distribution>repo</distribution> - </license> - </licenses> - - <developers> - <developer> - <id>mrdon</id> - <name>Don Brown</name> - <email>[email protected]</email> - <roles> - <role>Original Author</role> - </roles> - </developer> - <developer> - <id>TimMoore</id> - <name>Tim Moore</name> - <email>[email protected]</email> - <roles> - <role>Current Maintainer</role> - </roles> - </developer> - </developers> - <contributors> - <contributor> - <name>Jelmer Kuperus</name> - </contributor> - <contributor> - <name>Olivier Lamy</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Matthew McCullough</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Robert Munteanu</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Gili Tzabari</name> - <email>[email protected]</email> - </contributor> - <contributor> - <name>Joseph Walton</name> - <email>[email protected]</email> - </contributor> - </contributors> - - <modules> - <module>mojo-executor</module> - <module>mojo-executor-maven-plugin</module> - </modules> - - <scm> - <connection>scm:git:git://github.com/TimMoore/mojo-executor.git</connection> - <developerConnection>scm:git:ssh://[email protected]/TimMoore/mojo-executor.git</developerConnection> - <url>https://github.com/TimMoore/mojo-executor</url> - </scm> - <issueManagement> - <system>GitHub</system> - <url>https://github.com/TimMoore/mojo-executor/issues</url> - </issueManagement> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <maven.version>3.0.5</maven.version> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven</artifactId> - <version>${maven.version}</version> - <scope>import</scope> - <type>pom</type> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - <version>${maven.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <version>3.4</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-embedder</artifactId> - <version>3.3.1</version> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>2.1</version> - </dependency> - - <dependency> - <groupId>${project.groupId}</groupId> - <artifactId>mojo-executor</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest-core</artifactId> - <version>1.2</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.mockito</groupId> - <artifactId>mockito-core</artifactId> - <version>1.8.5</version> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.5</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-api</artifactId> - <version>1.7.22</version> - </dependency> - <dependency> - <groupId>org.slf4j</groupId> - <artifactId>slf4j-simple</artifactId> - <version>1.7.22</version> - </dependency> - </dependencies> - </dependencyManagement> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.1</version> - <configuration> - <source>1.5</source> - <target>1.5</target> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven</groupId> - <artifactId>maven-invoker-plugin</artifactId> - <version>2.0.0</version> - </plugin> - </plugins> - </pluginManagement> + <parent> + <groupId>org.sonatype.oss</groupId> + <artifactId>oss-parent</artifactId> + <version>9</version> + </parent> + + <groupId>org.twdata.maven</groupId> + <artifactId>mojo-executor-parent</artifactId> + <version>2.3.1</version> + <packaging>pom</packaging> + + <name>Mojo Executor Parent</name> + <description> + The Mojo Executor provides a way to to execute other Mojos (plugins) within a Maven plugin, allowing you to + easily create Maven plugins that are composed of other plugins. + </description> + <url>http://timmoore.github.com/mojo-executor/</url> + <inceptionYear>2008</inceptionYear> + <licenses> + <license> + <name>Apache License, Version 2.0</name> + <url>http://www.apache.org/licenses/LICENSE-2.0</url> + <distribution>repo</distribution> + </license> + </licenses> + + <developers> + <developer> + <id>mrdon</id> + <name>Don Brown</name> + <email>[email protected]</email> + <roles> + <role>Original Author</role> + </roles> + </developer> + <developer> + <id>TimMoore</id> + <name>Tim Moore</name> + <email>[email protected]</email> + <roles> + <role>Current Maintainer</role> + </roles> + </developer> + </developers> + <contributors> + <contributor> + <name>Jelmer Kuperus</name> + </contributor> + <contributor> + <name>Olivier Lamy</name> + <email>[email protected]</email> + </contributor> + <contributor> + <name>Matthew McCullough</name> + <email>[email protected]</email> + </contributor> + <contributor> + <name>Robert Munteanu</name> + <email>[email protected]</email> + </contributor> + <contributor> + <name>Gili Tzabari</name> + <email>[email protected]</email> + </contributor> + <contributor> + <name>Joseph Walton</name> + <email>[email protected]</email> + </contributor> + </contributors> + + <modules> + <module>mojo-executor</module> + <module>mojo-executor-maven-plugin</module> + </modules> + + <scm> + <connection>scm:git:git://github.com/TimMoore/mojo-executor.git</connection> + <developerConnection>scm:git:ssh://[email protected]/TimMoore/mojo-executor.git</developerConnection> + <url>https://github.com/TimMoore/mojo-executor</url> + <tag>mojo-executor-parent-2.3.1</tag> + </scm> + <issueManagement> + <system>GitHub</system> + <url>https://github.com/TimMoore/mojo-executor/issues</url> + </issueManagement> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.version>3.5.0</maven.version> + </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven</artifactId> + <version>${maven.version}</version> + <scope>import</scope> + <type>pom</type> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> + <version>${maven.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <version>3.4</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-embedder</artifactId> + <version>3.3.1</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>2.1</version> + </dependency> + + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>mojo-executor</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.hamcrest</groupId> + <artifactId>hamcrest-core</artifactId> + <version>1.3</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>1.8.5</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.5</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-api</artifactId> + <version>1.7.25</version> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-simple</artifactId> + <version>1.7.25</version> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.8.1</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <version>3.6.0</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>3.2.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-deploy-plugin</artifactId> + <version>2.8.2</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.1.1</version> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + <configuration> + <detectOfflineLinks>false</detectOfflineLinks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-source-plugin</artifactId> + <version>3.1.0</version> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.4</version> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>test</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <artifactId>maven-enforcer-plugin</artifactId> + <version>3.0.0-M2</version> + <executions> + <execution> + <id>enforce-dependencies</id> + <goals> + <goal>enforce</goal> + </goals> + <configuration> + <rules> + <requireMavenVersion> + <version>[3.0,4.0)</version> + <message>Version 2.x of Mojo Executor requires Maven ${maven.version}. Use Mojo Executor 1.x with Maven 2.</message> + </requireMavenVersion> + </rules> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-release-plugin</artifactId> + <version>2.5.3</version> + <configuration> + <autoVersionSubmodules>true</autoVersionSubmodules> + <mavenExecutorId>forked-path</mavenExecutorId> + </configuration> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>test</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>release-sign-artifacts</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> <plugins> - <plugin> - <artifactId>maven-enforcer-plugin</artifactId> - <version>1.4.1</version> - <executions> - <execution> - <id>enforce-dependencies</id> - <goals> - <goal>enforce</goal> - </goals> - <configuration> - <rules> - <requireMavenVersion> - <version>[3.0,4.0)</version> - <message>Version 2.x of Mojo Executor requires Maven ${maven.version}. Use Mojo Executor 1.x with Maven 2.</message> - </requireMavenVersion> - </rules> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-release-plugin</artifactId> - <version>2.1</version> - <configuration> - <autoVersionSubmodules>true</autoVersionSubmodules> - <mavenExecutorId>forked-path</mavenExecutorId> - </configuration> - </plugin> + <plugin> + <artifactId>maven-gpg-plugin</artifactId> + <version>1.6</version> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> </plugins> - </build> - - <profiles> - <profile> - <id>release-sign-artifacts</id> - <activation> - <property> - <name>performRelease</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> - <plugin> - <artifactId>maven-gpg-plugin</artifactId> - <version>1.2</version> - <executions> - <execution> - <id>sign-artifacts</id> - <phase>verify</phase> - <goals> - <goal>sign</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> + </build> + </profile> + </profiles> </project>
