forked from jruby/jruby-maven-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpom.xml
95 lines (95 loc) · 3.1 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>parent-mojo</artifactId>
<groupId>de.saumya.mojo</groupId>
<version>0.28.4-SNAPSHOT</version>
<relativePath>../parent-mojo/pom.xml</relativePath>
</parent>
<artifactId>rails2-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<name>Rails 2.3.x Maven Mojo</name>
<dependencies>
<dependency>
<groupId>${project.parent.groupId}</groupId>
<artifactId>jruby-maven-plugin</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>${project.parent.groupId}</groupId>
<artifactId>gem-maven-plugin</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-velocity</artifactId>
<version>1.1.8</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${project.build.directory}/sources</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.0</version>
<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
</includeArtifactIds>
<includes>
de/saumya/mojo/jruby/AbstractJRubyMojo.java,
de/saumya/mojo/gem/AbstractGemMojo.java
</includes>
<classifier>sources</classifier>
<outputDirectory>${project.build.directory}/sources</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3</version>
<configuration>
<excludes>
<exclude>de/saumya/mojo/jruby/**</exclude>
<exclude>de/saumya/mojo/gem/**</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-plugin-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<goalPrefix>rails2</goalPrefix>
</configuration>
</plugin>
</plugins>
</build>
</project>