Project

General

Profile

1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3
    <parent>
4
        <artifactId>icm-iis-parent-container</artifactId>
5
        <groupId>eu.dnetlib</groupId>
6
        <version>1.0.0-SNAPSHOT</version>
7
    </parent>
8
    <modelVersion>4.0.0</modelVersion>
9

    
10
    <artifactId>icm-iis-primer-example</artifactId>
11
    <packaging>jar</packaging>
12

    
13
    <name>icm-iis-classpath-primer-example</name>
14
    <url>http://maven.apache.org</url>
15

    
16
    <properties>
17
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18
    </properties>
19

    
20
    <build>
21
        <plugins>
22
            <plugin>
23
                <groupId>org.apache.maven.plugins</groupId>
24
                <artifactId>maven-dependency-plugin</artifactId>
25
                <executions>
26
                    <execution>
27
                        <id>copy dependencies</id>
28
                        <phase>compile</phase>
29
                        <goals>
30
                            <goal>copy-dependencies</goal>
31
                        </goals>
32
                    </execution>
33
                </executions>
34
            </plugin>
35
            <plugin>
36
                <groupId>eu.dnetlib</groupId>
37
                <artifactId>icm-iis-primer-maven-plugin</artifactId>
38
                <executions>
39
                    <execution>
40
                        <id>priming</id>
41
                        <phase>compile</phase>
42
                        <goals><goal>prime</goal></goals>
43
                        <configuration>
44
                            <classProviderFiles>
45
                                <classProviderFile>${project.build.directory}/dependency/*.jar</classProviderFile>
46
                                <classProviderFile>${project.build.directory}/classes</classProviderFile>
47
                            </classProviderFiles>
48
                            <classpath>some/test/dir</classpath>
49
                            <coansysPackageDir>${project.build.directory}/dependency</coansysPackageDir>
50
                            <destination>${project.build.directory}/primed</destination>
51
                        </configuration>
52
                    </execution>
53
                </executions>
54
            </plugin>
55
        </plugins>
56
        <pluginManagement>
57
        	<plugins>
58
        		<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
59
        		<plugin>
60
        			<groupId>org.eclipse.m2e</groupId>
61
        			<artifactId>lifecycle-mapping</artifactId>
62
        			<version>1.0.0</version>
63
        			<configuration>
64
        				<lifecycleMappingMetadata>
65
        					<pluginExecutions>
66
        						<pluginExecution>
67
        							<pluginExecutionFilter>
68
        								<groupId>eu.dnetlib</groupId>
69
        								<artifactId>
70
        									icm-iis-primer-maven-plugin
71
        								</artifactId>
72
        								<versionRange>
73
        									[0.0.1-SNAPSHOT,)
74
        								</versionRange>
75
        								<goals>
76
        									<goal>prime</goal>
77
        								</goals>
78
        							</pluginExecutionFilter>
79
        							<action>
80
        								<ignore></ignore>
81
        							</action>
82
        						</pluginExecution>
83
        					</pluginExecutions>
84
        				</lifecycleMappingMetadata>
85
        			</configuration>
86
        		</plugin>
87
        	</plugins>
88
        </pluginManagement>
89
    </build>
90

    
91
    <dependencies>
92
        <dependency>
93
            <groupId>eu.dnetlib</groupId>
94
            <artifactId>icm-iis-core</artifactId>
95
            <version>1.0.0-SNAPSHOT</version>
96
        </dependency>
97
        <dependency>
98
            <groupId>eu.dnetlib</groupId>
99
            <artifactId>icm-iis-core</artifactId>
100
            <version>1.0.0-SNAPSHOT</version>
101
            <type>test-jar</type>
102
            <scope>test</scope>
103
        </dependency>
104
        <dependency>
105
            <groupId>eu.dnetlib</groupId>
106
            <artifactId>icm-iis-schemas</artifactId>
107
            <version>1.0.0-SNAPSHOT</version>
108
        </dependency>
109
        <dependency>
110
            <groupId>pl.edu.icm.coansys</groupId>
111
            <artifactId>citations-core-workflow</artifactId>
112
            <version>1.5-SNAPSHOT</version>
113
            <classifier>oozie-job</classifier>
114
            <type>tar.gz</type>
115
        </dependency>
116
        <dependency>
117
            <groupId>eu.dnetlib</groupId>
118
            <artifactId>icm-iis-transformers</artifactId>
119
            <version>1.0.0-SNAPSHOT</version>
120
        </dependency>
121
    </dependencies>
122

    
123
    <repositories>
124
        <!-- We get CoAnSys parts from there -->
125
        <repository>
126
            <id>yadda</id>
127
            <name>Yadda project repository</name>
128
            <url>http://maven.icm.edu.pl/artifactory/repo</url>
129
        </repository>
130
    </repositories>
131
</project>
(3-3/3)