Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Fedorenko2011-05-13 19:17:58 +0000
committerIgor Fedorenko2011-05-13 19:17:58 +0000
commit7b1d18505c67123734ec40b6ad4fbe29a01e0c4d (patch)
treee199951a018f13503ea7b1e229d113b542d41c1d
parentc83ff1ad170b01a93fe9437b28bfb49033076a97 (diff)
downloadm2e-core-7b1d18505c67123734ec40b6ad4fbe29a01e0c4d.tar.gz
m2e-core-7b1d18505c67123734ec40b6ad4fbe29a01e0c4d.tar.xz
m2e-core-7b1d18505c67123734ec40b6ad4fbe29a01e0c4d.zip
publish LATEST site we can reference from UTs and ITs
Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
-rw-r--r--org.eclipse.m2e.site/pom.xml30
1 files changed, 29 insertions, 1 deletions
diff --git a/org.eclipse.m2e.site/pom.xml b/org.eclipse.m2e.site/pom.xml
index f8eb281e..d927de2b 100644
--- a/org.eclipse.m2e.site/pom.xml
+++ b/org.eclipse.m2e.site/pom.xml
@@ -97,7 +97,6 @@
</goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}-site.zip</file>
-
<serverId>forge-releases</serverId>
<repositoryUrl>${m2e.site-compressed}</repositoryUrl>
<repositoryPath>m2e/${unqualifiedVersion}/N/${unqualifiedVersion}.${buildQualifier}</repositoryPath>
@@ -108,6 +107,35 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>publish-site-latest</id>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.plugins</groupId>
+ <artifactId>maven-upload-plugin</artifactId>
+ <version>0.0.1</version>
+ <executions>
+ <execution>
+ <id>publish-site</id>
+ <phase>deploy</phase>
+ <goals>
+ <goal>upload-file</goal>
+ </goals>
+ <configuration>
+ <file>${project.build.directory}/${project.artifactId}-${project.version}-site.zip</file>
+ <serverId>forge-releases</serverId>
+ <repositoryUrl>${m2e.site-compressed}</repositoryUrl>
+ <repositoryPath>m2e/${unqualifiedVersion}/N/LATEST</repositoryPath>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top