<?xml version='1.0' encoding='UTF-8'?> | |
<!-- | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the | |
"License"); you may not use this file except in compliance | |
with the License. You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, | |
software distributed under the License is distributed on an | |
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
KIND, either express or implied. See the License for the | |
specific language governing permissions and limitations | |
under the License. | |
--> | |
<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>org.apache.maven.plugins</groupId> | |
<artifactId>maven-plugins</artifactId> | |
<version>30</version> | |
<relativePath>../../pom/maven/maven-plugins/pom.xml</relativePath> | |
</parent> | |
<artifactId>maven-scripting-plugin</artifactId> | |
<version>3.0.0-SNAPSHOT</version> | |
<packaging>maven-plugin</packaging> | |
<name>Apache Maven Scripting Plugin</name> | |
<description> | |
The Maven Scripting Plugin is a plugin that wrapped the Scripting API accoring to JSR223 | |
</description> | |
<inceptionYear>2016</inceptionYear> | |
<prerequisites> | |
<maven>${mavenVersion}</maven> | |
</prerequisites> | |
<scm> | |
<connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-scripting-plugin</connection> | |
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-scripting-plugin</developerConnection> | |
<url>http://svn.apache.org/viewvc/maven/plugins/trunk/maven-scripting-plugin</url> | |
</scm> | |
<issueManagement> | |
<system>JIRA</system> | |
<url>https://issues.apache.org/jira/browse/MSCRIPTING</url> | |
</issueManagement> | |
<distributionManagement> | |
<site> | |
<id>apache.website</id> | |
<url>scm:svn:https://svn.apache.org/repos/infra/websites/production/maven/components/${maven.site.path}</url> | |
</site> | |
</distributionManagement> | |
<properties> | |
<mavenVersion>3.0</mavenVersion> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-plugin-api</artifactId> | |
<version>${mavenVersion}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.shared</groupId> | |
<artifactId>maven-shared-utils</artifactId> | |
<version>3.1.0</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-core</artifactId> | |
<version>${mavenVersion}</version> | |
</dependency> | |
<!-- dependencies to annotations --> | |
<dependency> | |
<groupId>org.apache.maven.plugin-tools</groupId> | |
<artifactId>maven-plugin-annotations</artifactId> | |
<scope>provided</scope> | |
</dependency> | |
<!-- ScriptEngines --> | |
<dependency> | |
<groupId>org.codehaus.groovy</groupId> | |
<artifactId>groovy-jsr223</artifactId> | |
<version>2.4.7</version> | |
</dependency> | |
<!-- Test --> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven.plugin-testing</groupId> | |
<artifactId>maven-plugin-testing-harness</artifactId> | |
<version>2.1</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-compat</artifactId> | |
<version>${mavenVersion}</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<profiles> | |
<profile> | |
<id>run-its</id> | |
<build> | |
<pluginManagement> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-invoker-plugin</artifactId> | |
<configuration> | |
<projectsDirectory>src/it</projectsDirectory> | |
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> | |
<preBuildHookScript>setup</preBuildHookScript> | |
<postBuildHookScript>verify</postBuildHookScript> | |
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> | |
<settingsFile>src/it/settings.xml</settingsFile> | |
<goals> | |
<goal>scripting:eval</goal> | |
</goals> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> | |
</build> | |
</profile> | |
</profiles> | |
</project> |