Skip to content

Commit 93fe015

Browse files
committed
Adding pom metadata required for mvn site:stage. Adding release instructions to readme
1 parent e008450 commit 93fe015

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,16 @@ If you are using Maven you can add the BioJava repository by adding the followin
3535
</dependencies>
3636
```
3737

38+
### For developers
39+
40+
Release biojava to maven central:
41+
- `mvn -Prelease release:prepare`
42+
- `mvn -Prelease release:perform`
43+
Publish new javadocs:
44+
- `mvn site` this will write `target/site`, but that's not enough for a multimodule project. See [docs](https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html)
45+
- `mvn site:stage` this will write the full html directory tree to `target/staging`
46+
- Push the contents of `target/staging` to the [biojava.github.io repo](https://github.com/biojava/biojava.github.io) under directory `docs/api` for it to be published in biojava.org
47+
3848
### Mailing Lists
3949

4050
BioJava has one main mailing list. In order to avoid SPAM the list only accepts postings from list members. Anybody can become a list member, so please subscribe before you post. If you send without being subscribed your mail might get stuck in the moderation loop, which can cause several weeks of delay (no fun to read through all that spam).

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,13 @@
534534
<id>ossrh</id>
535535
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
536536
</repository>
537+
<site>
538+
<!-- Needed for site plugin, to do mvn site:stage (without which a multimodule project won't have all the correct directory structure)
539+
Note that the values here are not actually used for deployment (for that we'd need some sort of proper git+ssh url I guess) - JD 2024-01-07 -->
540+
<id>deploy</id>
541+
<name>biojava.org</name>
542+
<url>git:github.com:biojava/biojava.github.io.git</url>
543+
</site>
537544
</distributionManagement>
538545

539546
<profiles>

0 commit comments

Comments
 (0)