Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-259 fix documentation for running spring boot run maven goal #260

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,16 @@ mvn clean test
API Server
```shell
# After starting the server, visit http://localhost:8080
mvn --projects jsgenerator-api spring-boot:run
mvn --also-make --projects jsgenerator-api clean spring-boot:run
```

Command Line Interface (CLI)
```shell
# After reading the help, play out with different CLI options
mvn --projects jsgenerator-cli spring-boot:run -Dspring-boot.run.arguments=--help
mvn --also-make --projects jsgenerator-cli clean spring-boot:run -Dspring-boot.run.arguments=--help

# For example:
mvn --projects :jsgenerator-cli spring-boot:run \
mvn --also-make --projects :jsgenerator-cli clean spring-boot:run \
-Dspring-boot.run.arguments="--tty --inline '<div>I am a <strong>tea pot</strong></div>'"
```

Expand Down
Binary file modified illustrations/intellij-maven-runner-configuration.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion jsgenerator-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -30,4 +33,4 @@
<artifactId>jsgenerator-slim-api</artifactId>
</dependency>
</dependencies>
</project>
</project>
5 changes: 4 additions & 1 deletion jsgenerator-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
Expand All @@ -30,4 +33,4 @@
<artifactId>jsgenerator-slim-cli</artifactId>
</dependency>
</dependencies>
</project>
</project>
9 changes: 8 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<name>jsgenerator</name>
<description>Generates JavaScript from HTML</description>
<inceptionYear>2018</inceptionYear>

<url>https://github.com/osscameroon/js-generator</url>

<properties>
Expand Down Expand Up @@ -140,6 +140,13 @@
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down