Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b4f31ec793e6bb86423c1b9e4e2a41fea338b8a4 (plain) (blame)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<project>
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<artifactId>org.eclipse.papyrus.extra.releng</artifactId>
		<groupId>org.eclipse.papyrus</groupId>
		<version>1.1.0-SNAPSHOT</version>
		<relativePath>../../../releng/extra</relativePath>
	</parent>
	<groupId>org.eclipse.papyrus</groupId>
	<artifactId>org.eclipse.papyrus.uml.diagram.ecore</artifactId>
	<version>0.7.0-SNAPSHOT</version>
	<packaging>eclipse-plugin</packaging>

	<licenses>
		<license>
			<name>Eclipse Public License,Version 1.0</name>
			<url>http://www.eclipse.org/legal/epl-v10.html</url>
			<distribution>repo</distribution>
			<comments>Eclipse Public License</comments>
		</license>
	</licenses>

	<!-- mvn clean site site:stage-deploy scm-publish:publish-scm -->
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<siteMainDirectory>${user.home}/staging</siteMainDirectory>
	</properties>

	<!-- It is important to ensure your ID s are repo.eclipse.org as the Hudson 
		instance is configured to use these IDs. -->
	<distributionManagement>
		<repository>
			<id>repo.eclipse.org</id>
			<name>Papyrus Repository - Releases</name>
			<url>https://repo.eclipse.org/content/repositories/papyrus-releases/</url>
		</repository>
		<snapshotRepository>
			<id>repo.eclipse.org</id>
			<name>Papyrus Repository - Snapshots</name>
			<url>https://repo.eclipse.org/content/repositories/papyrus-snapshots/</url>
			<!-- If you want to keep several snapshot versions use -->
			<uniqueVersion>true</uniqueVersion>
		</snapshotRepository>
		<site>
			<id>my.git.server</id>
			<url>scm:git:git@github.com/flefevre/testpapy.git</url>
		</site>
	</distributionManagement>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.3</version>
				<configuration>
					<skipDeploy>false</skipDeploy>
					<stagingSiteURL>file://${siteMainDirectory}</stagingSiteURL>
					<siteDirectory>site</siteDirectory>
				</configuration>
				<!-- executions> <execution> <id>stage-for-scm-publish</id> <phase>post-site</phase> 
					<goals> <goal>stage</goal> </goals> </execution> </executions -->
				<dependencies>
					<dependency>
						<groupId>lt.velykis.maven.skins</groupId>
						<artifactId>reflow-velocity-tools</artifactId>
						<version>1.1.1</version>
					</dependency>
					<dependency>
						<groupId>org.apache.velocity</groupId>
						<artifactId>velocity</artifactId>
						<version>1.7</version>
					</dependency>
				</dependencies>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-scm-publish-plugin</artifactId>
				<version>1.1</version>
				<configuration>
					<!-- checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory -->
					<content>${siteMainDirectory}</content> <!-- tryUpdate>true</tryUpdate -->
					<!-- content>target/site</content -->
					<!-- content>${stagingDirectory}</content -->
					<scmBranch>gh-pages</scmBranch>
					<pubScmUrl>scm:git:git@github.com:flefevre/testpapy.git</pubScmUrl>
				</configuration>
				<executions>
					<execution>
						<id>scm-publish</id>
						<phase>site-deploy</phase>
						<goals>
							<goal>publish-scm</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
	</build>
	<reporting>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.8</version>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.9</version>
			</plugin>
		</plugins>
	</reporting>
	<repositories>
		<repository>
			<id>central</id>
			<name>Maven Repository Switchboard</name>
			<layout>default</layout>
			<url>http://repo1.maven.org/maven2</url>
			<snapshots>
				<enabled>true</enabled>
				<checksumPolicy>fail</checksumPolicy>
			</snapshots>
			<releases>
				<enabled>true</enabled>
			</releases>
		</repository>
		<repository>
			<id>central snapshots</id>
			<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
			<snapshots>
				<enabled>true</enabled>
				<checksumPolicy>fail</checksumPolicy>
			</snapshots>
		</repository>
	</repositories>
</project>

Back to the top