Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 73093a99c3
Fetching contributors…

Cannot retrieve contributors at this time

101 lines (92 sloc) 3.416 kb
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2009 the original author or authors.
~
~ Licensed 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.sonatype.pmaven</groupId>
<artifactId>pmaven</artifactId>
<version>0.8-SNAPSHOT</version>
</parent>
-->
<groupId>rubygems</groupId>
<artifactId>ruby-maven</artifactId>
<version>${maven.version}.${jruby.plugins.version}</version>
<packaging>gem</packaging>
<name>ruby wrapper around maven and more</name>
<dependencies>
</dependencies>
<properties>
<!-- if some more gem releases are needed you can append some number
here with the gem.version -->
<jruby.plugins.version>0.28.4</jruby.plugins.version>
<maven.version>3.0.3</maven.version>
<!-- <gem.version>${project.parent.version}.${mavenVersion}.${jruby.plugins.version}</gem.version> -->
<gem.basedir>${project.build.directory}/ruby-maven-${project.version}</gem.basedir>
</properties>
<build>
<resources>
<resource>
<targetPath>${gem.basedir}/apache-maven-${maven.version}</targetPath>
<directory>${project.basedir}/src/main/resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<outputAbsoluteArtifactFilename>false</outputAbsoluteArtifactFilename>
<artifactItems>
<artifactItem>
<groupId>org.apache.maven</groupId>
<artifactId>apache-maven</artifactId>
<version>${maven.version}</version>
<classifier>bin</classifier>
<type>zip</type>
<outputDirectory>${gem.basedir}</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>de.saumya.mojo</groupId>
<artifactId>ruby-tools</artifactId>
<version>${jruby.plugins.version}</version>
<outputDirectory>${gem.basedir}/apache-maven-${maven.version}/lib/ruby</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>de.saumya.mojo</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${jruby.plugins.version}</version>
<extensions>true</extensions>
<configuration>
<gemspec>${project.basedir}/src/main/gemspec/maven.gemspec</gemspec>
<launchDirectory>${gem.basedir}/apache-maven-${maven.version}</launchDirectory>
<includeOpenSSL>true</includeOpenSSL>
</configuration>
</plugin>
</plugins>
</build>
</project>
Jump to Line
Something went wrong with that request. Please try again.