[sikuli] 104/385: mvn deploy works. For now deploys to https://github.com/iirekm/maven-repo How to deploy to Maven Central? Instructions in distributionManagement in pom.xml
Gilles Filippini
pini at moszumanska.debian.org
Sun Jun 29 19:25:55 UTC 2014
This is an automated email from the git hooks/post-receive script.
pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.
commit 4d3f23a8bc50161460915b6c4a23000c9d5082b2
Author: Ireneusz Matysiewicz <iirekm at gmail.com>
Date: Sat Jan 4 21:04:19 2014 +0100
mvn deploy works. For now deploys to https://github.com/iirekm/maven-repo
How to deploy to Maven Central? Instructions in distributionManagement in pom.xml
---
README.md | 7 ++++++-
pom.xml | 23 +++++++++++++++++++++++
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index a7daa9c..bd756c1 100644
--- a/README.md
+++ b/README.md
@@ -166,8 +166,13 @@ or this being in the root folder <br />
As it is standard with Maven, all -D parameters go to Java system properties, wheras the content of -Dexec.args string will be given to the args array for the main method of the startup class.
-**--- How to produce the ready to use jars ...**
+**--- How to produce the ready to use jars ---**
... `sikuli-ide.jar`, `sikuli-script.jar` and `sikuli-java.jar`
[please look here](https://github.com/RaiMan/SikuliX-2014/wiki/How-to-produce-the-ready_to_use-jar-packages)
+
+**--- How to deploy to a Maven repository ---**
+Edit/configure the repository - see `distributionManagement` in `pom.xml`.
+Then run `mvn deploy -PwithDocs,withSource`. Maybe `-DaltDeploymentRepository=...` will also
+be needed - see `pom.xml`.
diff --git a/pom.xml b/pom.xml
index 6db9a88..ce8b142 100755
--- a/pom.xml
+++ b/pom.xml
@@ -231,4 +231,27 @@
</plugin>
</plugins>
</build>
+
+ <distributionManagement>
+ <!-- for now I use the repositories below.
+ Instructions: https://github.com/iirekm/maven-repo
+ -->
+ <repository>
+ <id>iirekm.releases</id>
+ <url>https://github.com/iirekm/maven-repo/raw/master/releases</url>
+ </repository>
+ <snapshotRepository>
+ <id>iirekm.shapshots</id>
+ <url>https://github.com/iirekm/maven-repo/raw/master/snapshots</url>
+ </snapshotRepository>
+
+ <!-- after getting access to https://oss.sonatype.org/ as described in
+ https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide
+ use this: -->
+ <!--
+ <repository>
+ <id>sonatype.releases</id>
+ <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
+ </repository> -->
+ </distributionManagement>
</project>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git
More information about the pkg-java-commits
mailing list