Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
90c94238
Commit
90c94238
authored
Jul 19, 2013
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add basic READMEs
parent
8fdfe245
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
48 additions
and
18 deletions
+48
-18
README.md
README.md
+10
-10
CONTRIBUTING.md
docs/CONTRIBUTING.md
+8
-6
README.md
spring-launcher/README.md
+4
-0
README.md
spring-package-maven-plugin/README.md
+21
-0
README.md
spring-starters/README.md
+3
-0
pom.xml
spring-starters/pom.xml
+1
-1
pom.xml
spring-starters/src/main/parent/pom.xml
+1
-1
No files found.
README.md
View file @
90c94238
...
@@ -44,7 +44,7 @@ An `alias` can be used for the Spring Zero command line tool:
...
@@ -44,7 +44,7 @@ An `alias` can be used for the Spring Zero command line tool:
$ alias spr="java -jar ~/.m2/repository/org/springframework/zero/spring-cli/0.5.0.BUILD-SNAPSHOT/spring-cli-0.5.0.BUILD-SNAPSHOT.jar"
$ alias spr="java -jar ~/.m2/repository/org/springframework/zero/spring-cli/0.5.0.BUILD-SNAPSHOT/spring-cli-0.5.0.BUILD-SNAPSHOT.jar"
_Also see [
CONTRIBUTING.md](
/CONTRIBUTING.md) if you want to submit pull requests._
_Also see [
docs/CONTRIBUTING](docs
/CONTRIBUTING.md) if you want to submit pull requests._
## Quick Start Example
## Quick Start Example
...
@@ -102,7 +102,7 @@ The 'spring' command line application compiles and runs Groovy source, making it
...
@@ -102,7 +102,7 @@ The 'spring' command line application compiles and runs Groovy source, making it
easy to write the absolute minimum of code to get an application running. Spring CLI
easy to write the absolute minimum of code to get an application running. Spring CLI
can also watch files, automatically recompiling and restarting when they change.
can also watch files, automatically recompiling and restarting when they change.
*See [spring-cli/README
.md
](spring-cli/README.md).*
*See [spring-cli/README](spring-cli/README.md).*
### Spring Bootstrap
### Spring Bootstrap
...
@@ -115,7 +115,7 @@ Features include:
...
@@ -115,7 +115,7 @@ Features include:
*
Embedded web applications with a choice of container (Tomcat or Jetty for now)
*
Embedded web applications with a choice of container (Tomcat or Jetty for now)
*
First class externalized configuration support
*
First class externalized configuration support
_See [spring-bootstrap/README
.md
](spring-bootstrap/README.md)._
_See [spring-bootstrap/README](spring-bootstrap/README.md)._
### Spring Autoconfigure
### Spring Autoconfigure
...
@@ -128,7 +128,7 @@ classpath. For example, If a 'HSQLDB' is on the classpath the user probably want
...
@@ -128,7 +128,7 @@ classpath. For example, If a 'HSQLDB' is on the classpath the user probably want
in-memory database to be defined. Auto-configuration will back away as the user starts
in-memory database to be defined. Auto-configuration will back away as the user starts
to define their own beans.
to define their own beans.
_See [spring-autoconfigure/README
.md
](spring-autoconfigure/README.md)._
_See [spring-autoconfigure/README](spring-autoconfigure/README.md)._
### Spring Actuator
### Spring Actuator
...
@@ -138,7 +138,7 @@ writing a JSON web service then it will provide a server, security, logging, ext
...
@@ -138,7 +138,7 @@ writing a JSON web service then it will provide a server, security, logging, ext
configuration, management endpoints, an audit abstraction, and more. If you want to
configuration, management endpoints, an audit abstraction, and more. If you want to
switch off the built in features, or extend or replace them, it makes that really easy as well.
switch off the built in features, or extend or replace them, it makes that really easy as well.
_See [spring-actuator/README
.md
](spring-actuator/README.md)._
_See [spring-actuator/README](spring-actuator/README.md)._
### Spring Starters
### Spring Starters
...
@@ -148,7 +148,7 @@ that you need without having to hunt through sample code and copy paste loads of
...
@@ -148,7 +148,7 @@ that you need without having to hunt through sample code and copy paste loads of
dependency descriptors. For example, if you want to get started using Spring and JPA for
dependency descriptors. For example, if you want to get started using Spring and JPA for
database access just include one dependency in your project, and you are good to go.
database access just include one dependency in your project, and you are good to go.
_See [spring-starters/README
.md
](spring-starters/README.md)._
_See [spring-starters/README](spring-starters/README.md)._
### Packaging
### Packaging
...
@@ -157,16 +157,16 @@ The [spring-launcher](spring-launcher/) and
...
@@ -157,16 +157,16 @@ The [spring-launcher](spring-launcher/) and
to package you application for release. Applications can be released as a single jar
to package you application for release. Applications can be released as a single jar
file that can simply be launched using
`java -jar`
.
file that can simply be launched using
`java -jar`
.
_See
[
spring-launcher/README
.md
](
spring-launcher/README.md
)
&
_See
[
spring-launcher/README
](
spring-launcher/README.md
)
&
[
spring-package-maven-plugin/README
.md
](
spring-package-maven-plugin/README.md
)
._
[
spring-package-maven-plugin/README
](
spring-package-maven-plugin/README.md
)
._
## Samples
## Samples
Groovy samples for use with the command line application are available in
Groovy samples for use with the command line application are available in
[
spring-cli/samples
](
spring-cli/samples/
)
. To run the CLI samples type
[
spring-cli/samples
](
spring-cli/samples/
#
)
. To run the CLI samples type
`spr run <sample>.groovy`
from samples directory.
`spr run <sample>.groovy`
from samples directory.
Java samples are available in
[
spring-zero-sample
](
spring-zero-samples/
)
and should
Java samples are available in
[
spring-zero-sample
](
spring-zero-samples/
#
)
and should
be build with maven and run use
`java -jar target/<sample>.jar`
. The following java
be build with maven and run use
`java -jar target/<sample>.jar`
. The following java
samples are provided:
samples are provided:
...
...
CONTRIBUTING.md
→
docs/
CONTRIBUTING.md
View file @
90c94238
...
@@ -62,9 +62,11 @@ Maven is well supported by most Java IDEs. Refer to you vendor documentation.
...
@@ -62,9 +62,11 @@ Maven is well supported by most Java IDEs. Refer to you vendor documentation.
### Integration tests
### Integration tests
The sample application are used as integration tests during the build. Due to the
fact that they make use of the
`spring-package-maven-plugin`
they cannot be called
The sample application are used as integration tests during the build
directly, and so instead are launched via the
`maven-invoker-plugin`
. If you encounter
(when you
`mvn install`
). Due to the fact that they make use of the
build failures running the integration tests, check the
`build.log`
file in the appropriate
`spring-package-maven-plugin`
they cannot be called directly, and so
sample directory.
instead are launched via the
`maven-invoker-plugin`
. If you encounter
build failures running the integration tests, check the
`build.log`
\ No newline at end of file
file in the appropriate sample directory.
spring-launcher/README.md
View file @
90c94238
# Spring Launcher
# Spring Launcher
A very thin Java main for executable JAR and WAR
archives.
`JarLauncher`
and
`WarLauncher`
know how to access classpath
resources and dependencies in nested jar files.
spring-package-maven-plugin/README.md
View file @
90c94238
# Spring Package Maven Plugin
# Spring Package Maven Plugin
A maven plugin for building executable JAR and WAR files. To use it
configure your project to build a JAR or WAR (as appropriate) in the
normal way, using the
`maven-jar-plugin`
or
`maven-war-plugin`
, and
then add the Spring plugin to your
`<build><plugins>`
section
`pom.xml`
```
xml
<plugin>
<groupId>
org.springframework.zero
</groupId>
<artifactId>
spring-package-maven-plugin
</artifactId>
<version>
{{project.version}}
</version>
<executions>
<execution>
<goals>
<goal>
package
</goal>
</goals>
</execution>
</executions>
</plugin>
```
spring-starters/README.md
View file @
90c94238
# Spring Starters
# Spring Starters
Aggregated dependencies for starter projects with an opinionated
choice of Spring and related useful technologies.
spring-starters/pom.xml
View file @
90c94238
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<configuration>
<configuration>
<useDefaultDelimiters>
false
</useDefaultDelimiters>
<useDefaultDelimiters>
false
</useDefaultDelimiters>
<delimiters>
<delimiters>
<delimiter>
#
{*}
</delimiter>
<delimiter>
@
{*}
</delimiter>
</delimiters>
</delimiters>
<resources>
<resources>
<resource>
<resource>
...
...
spring-starters/src/main/parent/pom.xml
View file @
90c94238
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<spring.version>
4.0.0.BUILD-SNAPSHOT
</spring.version>
<spring.version>
4.0.0.BUILD-SNAPSHOT
</spring.version>
<spring.zero.version>
#
{project.version}
</spring.zero.version>
<spring.zero.version>
@
{project.version}
</spring.zero.version>
</properties>
</properties>
<prerequisites>
<prerequisites>
<maven>
3.0
</maven>
<maven>
3.0
</maven>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment