Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Leicht Vogt2016-02-29 16:03:42 +0000
committerStephan Leicht Vogt2016-02-29 16:03:42 +0000
commitf48b40b60fcfbd436725504a14f8fbfa97bf29dd (patch)
tree12a947529c930607380fb3cb6937accd0a1cde67 /org.eclipse.scout.sdk.s2e.releng/pom.xml
parenta08a40796b25f40eb718bf30a8f13b28b8f7ed53 (diff)
downloadorg.eclipse.scout.sdk-f48b40b60fcfbd436725504a14f8fbfa97bf29dd.tar.gz
org.eclipse.scout.sdk-f48b40b60fcfbd436725504a14f8fbfa97bf29dd.tar.xz
org.eclipse.scout.sdk-f48b40b60fcfbd436725504a14f8fbfa97bf29dd.zip
deploy core-variables to maven central
Diffstat (limited to 'org.eclipse.scout.sdk.s2e.releng/pom.xml')
-rw-r--r--org.eclipse.scout.sdk.s2e.releng/pom.xml64
1 files changed, 41 insertions, 23 deletions
diff --git a/org.eclipse.scout.sdk.s2e.releng/pom.xml b/org.eclipse.scout.sdk.s2e.releng/pom.xml
index a673a075b..fdfd4efca 100644
--- a/org.eclipse.scout.sdk.s2e.releng/pom.xml
+++ b/org.eclipse.scout.sdk.s2e.releng/pom.xml
@@ -37,6 +37,8 @@
- Make sure that ${org.eclipse.jdt.core-maven}, ${org.eclipse.equinox.common-maven}, ${org.eclipse.osgi-maven},... in the parent POM don't have a '-SNAPSHOT' suffix
- In org.eclipse.scout.sdk.s2e.releng/, execute
mvn clean deploy -Pdeploy-releases -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DforgeReleaseId=forge-releases -Dgpg.passphrase=<your_passphrase>
+ - For single additional deps: In org.eclipse.scout.sdk.s2e.releng/, execute
+ mvn clean deploy -Pdeploy-releases-addNewDeps -DforgeReleaseUrl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DforgeReleaseId=forge-releases -Dgpg.passphrase=<your_passphrase>
- Close and release staged artifacts into repository 'Releases'
-->
<properties>
@@ -46,31 +48,9 @@
</properties>
<build>
- <resources>
- <resource>
- <filtering>true</filtering>
- <directory>src/main/resources</directory>
- <includes>
- <include>**/*.pom</include>
- </includes>
- </resource>
- <resource>
- <filtering>false</filtering>
- <directory>src/main/resources</directory>
- <excludes>
- <exclude>**/*.pom</exclude>
- </excludes>
- </resource>
- </resources>
-
<pluginManagement>
<plugins>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.7</version>
- </plugin>
- <plugin>
<groupId>org.eclipse.tycho.extras</groupId>
<artifactId>tycho-p2-extras-plugin</artifactId>
<version>${master_plugin_tycho-extras_version}</version>
@@ -107,12 +87,19 @@
<configuration>
<resources>
<resource>
- <directory>${project.source.dircetory}</directory>
+ <directory>src/main/resources</directory>
<filtering>true</filtering>
<includes>
<include>*.pom</include>
</includes>
</resource>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>*.jar</include>
+ </includes>
+ </resource>
</resources>
</configuration>
</plugin>
@@ -1611,5 +1598,36 @@
</plugins>
</build>
</profile>
+ <profile>
+ <id>deploy-releases-addNewDeps</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.7.0.MGPG-53</version>
+ <configuration>
+ <repositoryId>${forgeReleaseId}</repositoryId>
+ <url>${forgeReleaseUrl}</url>
+ </configuration>
+ <executions>
+ <execution>
+ <id>deploy-core-variables</id>
+ <goals>
+ <goal>sign-and-deploy-file</goal>
+ </goals>
+ <phase>deploy</phase>
+ <configuration>
+ <file>${downloaded}/org.eclipse.core.variables_${org.eclipse.core.variables}.jar</file>
+ <sources>${downloaded}/org.eclipse.core.variables.source_${org.eclipse.core.variables}.jar</sources>
+ <pomFile>${project.build.outputDirectory}/org.eclipse.core.variables.pom</pomFile>
+ <javadoc>${project.build.outputDirectory}/javadoc.jar</javadoc>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
</profiles>
</project>

Back to the top