Skip to content

Commit 65042de

Browse files
committed
Added distributionManagement and github site plugin
1 parent 4110815 commit 65042de

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

Diff for: dygraphs-gwt-sample/pom.xml

+17
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@
2121
<moduleShortName>${gwt.shortName}</moduleShortName>
2222
</configuration>
2323
</plugin>
24+
<plugin>
25+
<groupId>com.github.github</groupId>
26+
<artifactId>site-maven-plugin</artifactId>
27+
<version>0.12</version>
28+
<configuration>
29+
<message>Creating site for ${project.version}</message>
30+
<outputDirectory>${project.build.directory}/${artifactId}-${version}/${gwt.shortName}</outputDirectory>
31+
</configuration>
32+
<executions>
33+
<execution>
34+
<goals>
35+
<goal>site</goal>
36+
</goals>
37+
<phase>site</phase>
38+
</execution>
39+
</executions>
40+
</plugin>
2441
</plugins>
2542
</build>
2643
<dependencies>

Diff for: pom.xml

+13-2
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
<gwt.version>2.8.0-SNAPSHOT</gwt.version>
2727
<gwt.module>sample.DygraphsGWTSample</gwt.module>
2828
<gwt.shortName>dygraphsgwtsample</gwt.shortName>
29+
<github.global.server>github</github.global.server>
30+
<github.maven.repository>file:///home/GMI/uemit.seren/Code/maven-repository/</github.maven.repository>
2931
</properties>
3032

3133
<licenses>
@@ -116,6 +118,7 @@
116118
<version>1.0-rc-2</version>
117119
<extensions>true</extensions>
118120
<configuration>
121+
<draftCompile>true</draftCompile>
119122
<startupUrls>
120123
<startupUrl>dygraphsgwtsample/index.html</startupUrl>
121124
</startupUrls>
@@ -143,8 +146,16 @@
143146
</plugins>
144147
</pluginManagement>
145148
</build>
146-
147-
149+
<distributionManagement>
150+
<repository>
151+
<id>repo</id>
152+
<url>${github.maven.repository}/releases/</url>
153+
</repository>
154+
<snapshotRepository>
155+
<id>snapshot-repo</id>
156+
<url>${github.maven.repository}/snapshots/</url>
157+
</snapshotRepository>
158+
</distributionManagement>
148159
<repositories>
149160
<repository>
150161
<id>google-snapshots</id>

0 commit comments

Comments
 (0)