/
pom.xml
61 lines (61 loc) · 2.03 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0"?>
<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>
<artifactId>gem-parent-mojo</artifactId>
<groupId>de.saumya.mojo</groupId>
<version>1.0.0-beta-1-SNAPSHOT</version>
<relativePath>../gem-parent-mojo/pom.xml</relativePath>
</parent>
<artifactId>tests-parent-mojo</artifactId>
<packaging>pom</packaging>
<name>Tests Mojo Parent</name>
<dependencies>
<dependency>
<groupId>${project.parent.groupId}</groupId>
<artifactId>runit-maven-plugin</artifactId>
<version>${project.parent.version}</version>
<type>maven-plugin</type>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>src-dependencies</id>
<phase>generate-sources</phase>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<configuration>
<includeGroupIds>de.saumya.mojo</includeGroupIds>
<includeArtifactIds>
jruby-maven-plugin,gem-maven-plugin,runit-maven-plugin
</includeArtifactIds>
<includes>
de/saumya/mojo/jruby/AbstractJRubyMojo.java,
de/saumya/mojo/gem/AbstractGemMojo.java,
de/saumya/mojo/tests/AbstractTestMojo.java
</includes>
<classifier>sources</classifier>
<outputDirectory>${project.build.directory}/sources</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>de/saumya/mojo/jruby/**</exclude>
<exclude>de/saumya/mojo/gem/**</exclude>
<exclude>de/saumya/mojo/tests/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
</project>