Debian Codegraph @

pmaven-gem/pom.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 ~ Copyright (C) 2009 the original author or authors.
5 ~
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
9 ~
10 ~ http://www.apache.org/licenses/LICENSE-2.0
11 ~
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
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 <!-- if some more gem releases are needed you can append some number
38 here with the gem.version -->
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>