| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
<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"> |
| 20 |
|
| 21 |
<modelVersion>4.0.0</modelVersion> |
| 22 |
|
| 23 |
<parent> |
| 24 |
<groupId>org.sonatype.pmaven</groupId> |
| 25 |
<artifactId>pmaven</artifactId> |
| 26 |
<version>0.8-tobrien-SNAPSHOT</version> |
| 27 |
</parent> |
| 28 |
|
| 29 |
<artifactId>pmaven-gem</artifactId> |
| 30 |
<packaging>gem</packaging> |
| 31 |
<name>Polyglot Maven :: GEM</name> |
| 32 |
|
| 33 |
<dependencies> |
| 34 |
</dependencies> |
| 35 |
|
| 36 |
<properties> |
| 37 |
|
| 38 |
|
| 39 |
<jruby.plugins.version>0.26.0</jruby.plugins.version> |
| 40 |
<gem.version>${project.parent.version}.${mavenVersion}.${jruby.plugins.version}</gem.version> |
| 41 |
<gem.basedir>${project.build.directory}/ruby-maven-${gem.version}</gem.basedir> |
| 42 |
</properties> |
| 43 |
<build> |
| 44 |
<finalName>ruby-maven-${gem.version}-java.gem</finalName> |
| 45 |
<resources> |
| 46 |
<resource> |
| 47 |
<targetPath>${gem.basedir}/pmaven-${project.parent.version}</targetPath> |
| 48 |
<directory>${project.basedir}/src/main/resources</directory> |
| 49 |
</resource> |
| 50 |
</resources> |
| 51 |
<plugins> |
| 52 |
<plugin> |
| 53 |
<groupId>org.apache.maven.plugins</groupId> |
| 54 |
<artifactId>maven-dependency-plugin</artifactId> |
| 55 |
<executions> |
| 56 |
<execution> |
| 57 |
<phase>process-sources</phase> |
| 58 |
<goals> |
| 59 |
<goal>unpack</goal> |
| 60 |
</goals> |
| 61 |
<configuration> |
| 62 |
<outputAbsoluteArtifactFilename>false</outputAbsoluteArtifactFilename> |
| 63 |
<artifactItems> |
| 64 |
<artifactItem> |
| 65 |
<groupId>org.sonatype.pmaven</groupId> |
| 66 |
<artifactId>pmaven-cli</artifactId> |
| 67 |
<classifier>bin</classifier> |
| 68 |
<type>zip</type> |
| 69 |
<outputDirectory>${gem.basedir}</outputDirectory> |
| 70 |
</artifactItem> |
| 71 |
</artifactItems> |
| 72 |
</configuration> |
| 73 |
</execution> |
| 74 |
</executions> |
| 75 |
</plugin> |
| 76 |
|
| 77 |
<plugin> |
| 78 |
<groupId>de.saumya.mojo</groupId> |
| 79 |
<artifactId>gem-maven-plugin</artifactId> |
| 80 |
<version>${jruby.plugins.version}</version> |
| 81 |
<extensions>true</extensions> |
| 82 |
<configuration> |
| 83 |
<gemspec>${project.basedir}/src/main/gemspec/maven.gemspec</gemspec> |
| 84 |
<launchDirectory>${gem.basedir}/pmaven-${project.parent.version}</launchDirectory> |
| 85 |
</configuration> |
| 86 |
</plugin> |
| 87 |
</plugins> |
| 88 |
</build> |
| 89 |
|
| 90 |
</project> |