Skip to content

Commit

Permalink
Info about deploying on maven centra.
Browse files Browse the repository at this point in the history
  • Loading branch information
kreinhard committed Jul 18, 2019
1 parent 296fd0c commit db4fcd4
Showing 1 changed file with 35 additions and 1 deletion.
36 changes: 35 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,44 @@ Micromata Genome Commons is a set of Java libraries to build mostly webserver ba
# Build
Checkout and build with maven using the root pom.

# Licence
# License
MGC is released unter the Apache 2.0 License.
See https://www.apache.org/licenses/LICENSE-2.0.html

# Documentation and more

Please refer to the [Wiki on GitHub](https://github.com/micromata/mgc/wiki).

# Deployment to Maven central:

Refer https://github.com/micromata/Merlin/tree/master/merlin-core#general-information-of-how-to-publish-to-maven-central

Instead of running gradle, use mvn:

```mvn -Prelease clean deploy```

The maven settings file (```~/m2/settings.xml```) may look like:
````
<settings>
<profiles>
<profile>
<id>ossrh</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>gpg</gpg.executable>
<gpg.key>xxx</gpg.key>
<gpg.passphrase>xxx</gpg.passphrase>
</properties>
</profile>
</profiles>
<servers>
<server>
<id>ossrh</id>
<username>xxx</username>
<password>xxx</password>
</server>
</servers>
</settings>
```

0 comments on commit db4fcd4

Please sign in to comment.