-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
95 lines (95 loc) · 2.68 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
<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>
<groupId>com.silico-sciences</groupId>
<artifactId>p2-maven</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<pluginRepositories>
<pluginRepository>
<id>reficio</id>
<url>http://repo.reficio.org/maven/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>Sonatype</id>
<url>https://oss.sonatype.org/content/repositories/releases/</url>
</repository>
</repositories>
<properties>
<!-- Relative path to the repo being uploaded -->
<repo-path>${project.build.directory}/repository/</repo-path>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.reficio</groupId>
<artifactId>p2-maven-plugin</artifactId>
<version>1.2.0-SNAPSHOT</version>
<executions>
<execution>
<id>generate-p2-site</id>
<phase>install</phase>
<goals>
<goal>site</goal>
</goals>
<configuration>
<artifacts>
<!-- specify your depencies here -->
<!-- groupId:artifactId:version -->
<artifact>
<id>com.thoughtworks.xstream:xstream:1.4.8</id>
<source>true</source>
<transitive>true</transitive>
</artifact>
<artifact>
<id>commons-io:commons-io:2.4</id>
<source>true</source>
<transitive>true</transitive>
</artifact>
<artifact>
<id>org.apache.commons:commons-lang3:3.4</id>
<source>true</source>
<transitive>true</transitive>
</artifact>
<artifact>
<id>org.apache.commons:commons-math3:3.5</id>
<source>true</source>
<transitive>true</transitive>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>wagon-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>uploadP2</id>
<phase>install</phase>
<goals>
<goal>upload</goal>
</goals>
<configuration>
<serverId>p2Repo</serverId>
<url>scp://silico-sciences.com</url>
<fromDir>${repo-path}</fromDir>
<toDir>public/p2-maven/target/repository</toDir>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.8</version>
</extension>
</extensions>
</build>
</project>