summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--DEPLOY4
-rw-r--r--PATCHES5
-rw-r--r--pom.xml14
4 files changed, 26 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index beef00d..955eecf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,6 @@
.project
.settings
target
+pom.xml.releaseBackup
+release.properties
+
diff --git a/DEPLOY b/DEPLOY
new file mode 100644
index 0000000..47511a0
--- /dev/null
+++ b/DEPLOY
@@ -0,0 +1,4 @@
+To deploy use something like this:
+
+mvn -Darguments=-DaltDeploymentRepository=releases::default::http://localhost:8081/nexus/content/repositories/releases/ release:perform
+
diff --git a/PATCHES b/PATCHES
index d1b4785..700ca8a 100644
--- a/PATCHES
+++ b/PATCHES
@@ -1,5 +1,10 @@
*** ALL Changes marked with FREEHEP or BEGINFREEHEP-ENDFREEHEP.
+* cpptasks-1.0-beta-4-parallel-4
+
+- Added fake <distributionManagement> section to pom to avoid MDEPLOY-50. One can now deploy
+ this artifact using altDeploymentRepository
+
* cpptasks-1.0-beta-4-parallel-3
- [src/net/sf/antcontrib/cpptasks/intel/IntelLinuxFortranCompiler.java] added ifort.
diff --git a/pom.xml b/pom.xml
index cc0315d..9c4003c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,20 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
+<!-- to avoid MDEPLOY-50 -->
+<distributionManagement>
+ <repository>
+ <id>repo</id>
+ <name>Repository Name</name>
+ <url>scp://host/path/to/repo</url>
+ </repository>
+ <snapshotRepository>
+ <id>repo</id>
+ <name>Repository Name</name>
+ <url>scp://host/path/to/repo</url>
+ </snapshotRepository>
+</distributionManagement>
+
<build>
<defaultGoal>install</defaultGoal>
<sourceDirectory>src</sourceDirectory>