Skip to content

Commit

Permalink
For now, added the OSSRH snapshot repository to the parent in order t…
Browse files Browse the repository at this point in the history
…o resolve snapshot dependencies. Will clean this up later.

Also, see a short readme here: hapipheno-core/src/main/java/org/monarchinitiative/phenoex/model/README.md
  • Loading branch information
ShahimEssaid committed Nov 28, 2023
1 parent 8f9cf91 commit ca40088
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
This package is an interim setup for generating the set of interfaces that represent the "hub model". The interfaces are generated under `src-gen/main/java`.

The `model.modeldsl` is a simple DSL for declaring our "entities". See the file, it should be easy to understand until there is more detailed documentation. Once that file is updated, run the following from the commandline/terminal and the core module's directory:

```
mvn exec:java \
-Dexec.mainClass=com.essaid.model.dsl.Main \
-Dexec.args="--dsl-source src/main/java/org/monarchinitiative/phenoex/model/model.modeldsl --out-dir src-gen/main/java"
```

This will delete and re-generate the `src-gen` to contain the Java model interfaces based on the entities defined in `src/main/java/org/monarchinitiative/phenoex/model/model.modeldsl`
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@
<springboot.starter.version>2.7.2</springboot.starter.version>
</properties>

<repositories>
<repository>
<id>oss</id>
<snapshots>
<enabled>true</enabled>
</snapshots>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</repository>
</repositories>

<distributionManagement>
<snapshotRepository>
<id>oss</id>
Expand Down

0 comments on commit ca40088

Please sign in to comment.