Navigation Menu

Skip to content

Commit

Permalink
dependencies changed
Browse files Browse the repository at this point in the history
  • Loading branch information
verhas committed May 25, 2019
1 parent 8e971ba commit 741090f
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 25 deletions.
13 changes: 12 additions & 1 deletion MODULES.md
Expand Up @@ -111,7 +111,9 @@ part of the Java::Geci project. These include
* mapper

Programs that use one of these generators should have a dependency on
this module.
this module. Since this module has a transitive dependency on the module
`engine` there is no need for explicitly require dependency on the
`engine` module for programs that use the code generators.

### `tools`

Expand All @@ -121,4 +123,13 @@ generator implementation may extend instead of implementing the
`Generator` interface directly.

### `examples`

Examples contain sample use of code generators; some code generators,
like the "Hello, World" code generator, which are not meant to be used
in production; and also the tests for the generators in core.

### `jamal`

This module contains an experimental code generator that lets you
program your Java code with a preprocessor. The usability of the tool is
questionable, thus this is still an experiment.
Binary file modified diagrams.graffle
Binary file not shown.
36 changes: 21 additions & 15 deletions images/module-dependency.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions javageci-core/pom.xml
Expand Up @@ -55,6 +55,12 @@
<artifactId>javageci-annotation</artifactId>

</dependency>

<dependency>
<groupId>com.javax0.geci</groupId>
<artifactId>javageci-engine</artifactId>

</dependency>


<dependency>
Expand Down
2 changes: 1 addition & 1 deletion javageci-core/pom.xml.jam
Expand Up @@ -8,7 +8,7 @@
{@include ../plugins.jim}

{dependencies#
{@for MODULE in (api,tools,annotation)=
{@for MODULE in (api,tools,annotation,engine)=
{dependency :{GROUPID}:javageci-MODULE:}}
{@for MODULE in (api,engine)=
{dependency :org.junit.jupiter:junit-jupiter-MODULE:}}
Expand Down
1 change: 1 addition & 0 deletions javageci-core/src/main/java/module-info.java
@@ -1,6 +1,7 @@
module geci.core {
requires geci.tools;
requires geci.annotation;
requires transitive geci.engine;
requires jamal.engine;
requires jamal.api;

Expand Down
6 changes: 0 additions & 6 deletions javageci-engine/pom.xml
Expand Up @@ -49,12 +49,6 @@
<artifactId>javageci-tools</artifactId>

</dependency>

<dependency>
<groupId>com.javax0.geci</groupId>
<artifactId>javageci-core</artifactId>

</dependency>


<dependency>
Expand Down
2 changes: 1 addition & 1 deletion javageci-engine/pom.xml.jam
Expand Up @@ -8,7 +8,7 @@
{@include ../plugins.jim}

{dependencies#
{@for MODULE in (api,tools,core)=
{@for MODULE in (api,tools)=
{dependency :{GROUPID}:javageci-MODULE:}}
{@for MODULE in (api,engine)=
{dependency :org.junit.jupiter:junit-jupiter-MODULE:}}
Expand Down
1 change: 0 additions & 1 deletion javageci-examples/src/main/java/module-info.java
@@ -1,5 +1,4 @@
module geci.examples {
requires geci.engine;
requires geci.tools;
requires geci.annotation;
requires geci.core;
Expand Down

0 comments on commit 741090f

Please sign in to comment.