This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new a68274e Javadocs
a68274e is described below
commit a68274e7dfd50dff8c9f08609e419a09efaf898f
Author: JamesBognar <[email protected]>
AuthorDate: Mon Dec 17 12:07:01 2018 -0500
Javadocs
---
.../04.DeployingToHeroku.html | 137 ++++++++++++++++++++-
.../juneau-examples-rest-springboot.Heroku.1.png | Bin 0 -> 100781 bytes
.../juneau-examples-rest-springboot.Heroku.2.png | Bin 0 -> 136990 bytes
.../juneau-examples-rest-springboot.Heroku.3.png | Bin 0 -> 293130 bytes
.../juneau-examples-rest-springboot.Heroku.4.png | Bin 0 -> 105931 bytes
.../juneau-examples-rest-springboot.Heroku.4a.png | Bin 0 -> 257041 bytes
.../juneau-examples-rest-springboot.Heroku.5.png | Bin 0 -> 13946 bytes
.../juneau-examples-rest-springboot.Heroku.6.png | Bin 0 -> 243630 bytes
.../juneau-examples-rest-springboot.Heroku.1.png | Bin 0 -> 100781 bytes
.../juneau-examples-rest-springboot.Heroku.2.png | Bin 0 -> 136990 bytes
.../juneau-examples-rest-springboot.Heroku.3.png | Bin 0 -> 293130 bytes
.../juneau-examples-rest-springboot.Heroku.4.png | Bin 0 -> 105931 bytes
.../juneau-examples-rest-springboot.Heroku.4a.png | Bin 0 -> 257041 bytes
.../juneau-examples-rest-springboot.Heroku.5.png | Bin 0 -> 13946 bytes
.../juneau-examples-rest-springboot.Heroku.6.png | Bin 0 -> 243630 bytes
juneau-doc/src/main/javadoc/overview.html | 137 ++++++++++++++++++++-
.../src/main/javadoc/resources/fragments/toc.html | 2 +-
.../src/main/javadoc/resources/juneau-doc.css | 14 +++
.../juneau-examples-rest-springboot/settings.xml | 34 +++++
19 files changed, 318 insertions(+), 6 deletions(-)
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/04.DeployingToHeroku.html
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/04.DeployingToHeroku.html
index 8f71344..893deb1 100644
---
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/04.DeployingToHeroku.html
+++
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/04.DeployingToHeroku.html
@@ -13,8 +13,141 @@
***************************************************************************************************************************/
-->
-{todo} Deploying to Heroku
+{new} Deploying to Heroku
<p>
- TODO
+ <a href='https://www.heroku.com'>Heroku</a> is a platform-as-a-service
that allows applications to be quickly hosted
+ in the cloud.
+ The <l>juneau-examples-rest-springboot</l> project contains additional
metadata files for quickly
+ deploying and running the examples in Heroku using free services.
</p>
+<ul class='spaced-list'>
+ <li>
+ <l>app.json</l>
+ <br><br>
+ This class provides basic metadata information to
Heroku about our application.
+ <br><br>
+ <p class='bcode w800'>
+ {
+ <jok>"name"</jok>: <jov>"Start on Heroku: Juneau REST Examples"</jov>,
+ <jok>"description"</jok>: <jov>"Deployable REST examples to
Heroku."</jov>
+ }
+ </p>
+ <li>
+ <l>Procfile</l>
+ <br><br>
+ This class tells Heroku how to deploy our application
using the Web dyno.
+ <br><br>
+ <p class='bcode w800'>
+ web: java -jar target/juneau-examples-rest-springboot-8.0.0-SNAPSHOT.jar
+ </p>
+ <li>
+ <l>settings.xml</l>
+ <br><br>This is an optional Maven settings file that points to
both the main Maven repo in
+ addition to the Apache snapshots repo if you happen to be using
a snapshot version of Juneau.
+</ul>
+<p>
+ You'll need to sign up for an account on Heroku.
+ Afterwards, you can go to the apps page to create a new application:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.1.png'>
+
+<p>
+ Click the <l>New</l> button to create a new app, give it a unique name:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/new-app
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.2.png'>
+
+<p>
+ After clicking the <l>Create app</l> button, you should see this page:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps/juneau-examples-rest/deploy/heroku-git
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.3.png'>
+
+<p>
+ For this example, we'll use the <l>Heroku Git</l> option for deploying
our application.
+ <br>Follow the instructions for installing the Heroku CLI and logging
into Heroku:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps/juneau-examples-rest/deploy/heroku-git
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.4.png'>
+
+<p>
+ Next, run the following commands to cd into our Eclipse project and
initialize it as a local git repo:
+</p>
+<p class='bpcode w800'>
+ $ cd juneau-examples-rest-springboot/
+ $ git init
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ cd juneau-examples-rest-springboot/
+ $ git init
+ Initialized empty Git repository in
/.../juneau-examples-rest-springboot/.git/
+</p>
+
+<p>
+ Next, run the following command to link our project to the Heroku app:
+</p>
+<p class='bpcode w800'>
+ $ heroku git:remote -a juneau-examples-rest
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ heroku git:remote -a juneau-examples-rest
+ set git remote heroku to https://git.heroku.com/juneau-examples-rest.git
+</p>
+
+<p>
+ Next, run the following commands to add our files to the git repo and
push to the Heroku master branch:
+</p>
+<p class='bpcode w800'>
+ $ git add .
+ $ git commit -am "Initial deploy"
+ $ git push heroku master
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ git add .
+ master (root-commit) 7c94cb9] Initial deploy
+ 123 files changed, 11986 insertions(+)
+ Counting objects: 127, done.
+ $ git commit -am "Initial deploy"
+ $ git push heroku master
+ Delta compression using up to 8 threads.
+ Compressing objects: 100% (113/113), done.
+ Writing objects: 100% (127/127), 363.91 KiB | 21.41 MiB/s, done.
+ ...
+ remote: -----> Compressing...
+ remote: Done: 85.9M
+ remote: -----> Launching...
+ remote: Released v3
+ remote: https://juneau-examples-rest.herokuapp.com/ deployed to
Heroku
+ remote:
+ remote: Verifying deploy... done.
+ To https://git.heroku.com/juneau-examples-rest.git
+ * [new branch] master -> master
+</p>
+<p>
+ If no errors were shown, then our application should now be live.
+ You can click on the <l>Open app</l> button to open the examples
application in a browser:
+</p>
+<img class='bordered w400'
src='doc-files/juneau-examples-rest-springboot.Heroku.5.png'>
+
+<p>
+ If everything worked, your browser should now be loaded with our
example REST app:
+</p>
+<p class='bpcode w1000'>
+ https://juneau-examples-rest.herokuapp.com
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.6.png'>
+
+
\ No newline at end of file
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.1.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.1.png
new file mode 100644
index 0000000..d44ee06
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.1.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.2.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.2.png
new file mode 100644
index 0000000..24d3c26
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.2.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.3.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.3.png
new file mode 100644
index 0000000..47abc87
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.3.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4.png
new file mode 100644
index 0000000..7aa189e
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
new file mode 100644
index 0000000..10be677
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.5.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.5.png
new file mode 100644
index 0000000..d32ce52
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.5.png
differ
diff --git
a/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.6.png
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.6.png
new file mode 100644
index 0000000..7bbce5d
Binary files /dev/null and
b/juneau-doc/docs/Topics/18.juneau-examples-rest-springboot/doc-files/juneau-examples-rest-springboot.Heroku.6.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.1.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.1.png
new file mode 100644
index 0000000..d44ee06
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.1.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.2.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.2.png
new file mode 100644
index 0000000..24d3c26
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.2.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.3.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.3.png
new file mode 100644
index 0000000..47abc87
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.3.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4.png
new file mode 100644
index 0000000..7aa189e
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
new file mode 100644
index 0000000..10be677
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.4a.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.5.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.5.png
new file mode 100644
index 0000000..d32ce52
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.5.png
differ
diff --git
a/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.6.png
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.6.png
new file mode 100644
index 0000000..7bbce5d
Binary files /dev/null and
b/juneau-doc/src/main/javadoc/doc-files/juneau-examples-rest-springboot.Heroku.6.png
differ
diff --git a/juneau-doc/src/main/javadoc/overview.html
b/juneau-doc/src/main/javadoc/overview.html
index 8e7fc73..eb8738d 100644
--- a/juneau-doc/src/main/javadoc/overview.html
+++ b/juneau-doc/src/main/javadoc/overview.html
@@ -454,7 +454,7 @@
<li><p class='new'><a class='doclink'
href='#juneau-examples-rest-springboot.Installing'>Installing in Eclipse</a></p>
<li><p class='new'><a class='doclink'
href='#juneau-examples-rest-springboot.Running'>Running in Eclipse</a></p>
<li><p class='new'><a class='doclink'
href='#juneau-examples-rest-springboot.Building'>Building and Running from
Command-Line</a></p>
- <li><p class='todo'><a class='doclink'
href='#juneau-examples-rest-springboot.DeployingToHeroku'>Deploying to
Heroku</a></p>
+ <li><p class='new'><a class='doclink'
href='#juneau-examples-rest-springboot.DeployingToHeroku'>Deploying to
Heroku</a></p>
</ol>
<li><p class='toc2'><a class='doclink' href='#Security'>Security
Best-Practices</a></p>
<ol>
@@ -28410,11 +28410,142 @@
<!--
====================================================================================================
-->
-<h3 class='topic todo' onclick='toggle(this)'><a
href='#juneau-examples-rest-springboot.DeployingToHeroku'
id='juneau-examples-rest-springboot.DeployingToHeroku'>18.4 - Deploying to
Heroku</a></h3>
+<h3 class='topic new' onclick='toggle(this)'><a
href='#juneau-examples-rest-springboot.DeployingToHeroku'
id='juneau-examples-rest-springboot.DeployingToHeroku'>18.4 - Deploying to
Heroku</a></h3>
<div class='topic'><!-- START: 18.4 -
juneau-examples-rest-springboot.DeployingToHeroku -->
<p>
- TODO
+ <a href='https://www.heroku.com'>Heroku</a> is a platform-as-a-service
that allows applications to be quickly hosted
+ in the cloud.
+ The <l>juneau-examples-rest-springboot</l> project contains additional
metadata files for quickly
+ deploying and running the examples in Heroku using free services.
</p>
+<ul class='spaced-list'>
+ <li>
+ <l>app.json</l>
+ <br><br>
+ This class provides basic metadata information to
Heroku about our application.
+ <br><br>
+ <p class='bcode w800'>
+ {
+ <jok>"name"</jok>: <jov>"Start on Heroku: Juneau REST Examples"</jov>,
+ <jok>"description"</jok>: <jov>"Deployable REST examples to
Heroku."</jov>
+ }
+ </p>
+ <li>
+ <l>Procfile</l>
+ <br><br>
+ This class tells Heroku how to deploy our application
using the Web dyno.
+ <br><br>
+ <p class='bcode w800'>
+ web: java -jar target/juneau-examples-rest-springboot-8.0.0-SNAPSHOT.jar
+ </p>
+ <li>
+ <l>settings.xml</l>
+ <br><br>This is an optional Maven settings file that points to
both the main Maven repo in
+ addition to the Apache snapshots repo if you happen to be using
a snapshot version of Juneau.
+</ul>
+<p>
+ You'll need to sign up for an account on Heroku.
+ Afterwards, you can go to the apps page to create a new application:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.1.png'>
+
+<p>
+ Click the <l>New</l> button to create a new app, give it a unique name:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/new-app
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.2.png'>
+
+<p>
+ After clicking the <l>Create app</l> button, you should see this page:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps/juneau-examples-rest/deploy/heroku-git
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.3.png'>
+
+<p>
+ For this example, we'll use the <l>Heroku Git</l> option for deploying
our application.
+ <br>Follow the instructions for installing the Heroku CLI and logging
into Heroku:
+</p>
+<p class='bpcode w1000'>
+ https://dashboard.heroku.com/apps/juneau-examples-rest/deploy/heroku-git
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.4.png'>
+
+<p>
+ Next, run the following commands to cd into our Eclipse project and
initialize it as a local git repo:
+</p>
+<p class='bpcode w800'>
+ $ cd juneau-examples-rest-springboot/
+ $ git init
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ cd juneau-examples-rest-springboot/
+ $ git init
+ Initialized empty Git repository in
/.../juneau-examples-rest-springboot/.git/
+</p>
+
+<p>
+ Next, run the following command to link our project to the Heroku app:
+</p>
+<p class='bpcode w800'>
+ $ heroku git:remote -a juneau-examples-rest
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ heroku git:remote -a juneau-examples-rest
+ set git remote heroku to https://git.heroku.com/juneau-examples-rest.git
+</p>
+
+<p>
+ Next, run the following commands to add our files to the git repo and
push to the Heroku master branch:
+</p>
+<p class='bpcode w800'>
+ $ git add .
+ $ git commit -am "Initial deploy"
+ $ git push heroku master
+</p>
+<h5 class='figure'>Output</h5>
+<p class='bpcode w800 console'>
+ $ git add .
+ master (root-commit) 7c94cb9] Initial deploy
+ 123 files changed, 11986 insertions(+)
+ Counting objects: 127, done.
+ $ git commit -am "Initial deploy"
+ $ git push heroku master
+ Delta compression using up to 8 threads.
+ Compressing objects: 100% (113/113), done.
+ Writing objects: 100% (127/127), 363.91 KiB | 21.41 MiB/s, done.
+ ...
+ remote: -----> Compressing...
+ remote: Done: 85.9M
+ remote: -----> Launching...
+ remote: Released v3
+ remote: https://juneau-examples-rest.herokuapp.com/ deployed to
Heroku
+ remote:
+ remote: Verifying deploy... done.
+ To https://git.heroku.com/juneau-examples-rest.git
+ * [new branch] master -> master
+</p>
+<p>
+ If no errors were shown, then our application should now be live.
+ You can click on the <l>Open app</l> button to open the examples
application in a browser:
+</p>
+<img class='bordered w400'
src='doc-files/juneau-examples-rest-springboot.Heroku.5.png'>
+
+<p>
+ If everything worked, your browser should now be loaded with our
example REST app:
+</p>
+<p class='bpcode w1000'>
+ https://juneau-examples-rest.herokuapp.com
+</p>
+<img class='bordered w1000'
src='doc-files/juneau-examples-rest-springboot.Heroku.6.png'>
</div><!-- END: 18.4 - juneau-examples-rest-springboot.DeployingToHeroku -->
</div><!-- END: 18 - juneau-examples-rest-springboot -->
diff --git a/juneau-doc/src/main/javadoc/resources/fragments/toc.html
b/juneau-doc/src/main/javadoc/resources/fragments/toc.html
index 83edf6b..22a9b56 100644
--- a/juneau-doc/src/main/javadoc/resources/fragments/toc.html
+++ b/juneau-doc/src/main/javadoc/resources/fragments/toc.html
@@ -397,7 +397,7 @@
<li><p class='new'><a class='doclink'
href='{OVERVIEW_URL}#juneau-examples-rest-springboot.Installing'>Installing in
Eclipse</a></p>
<li><p class='new'><a class='doclink'
href='{OVERVIEW_URL}#juneau-examples-rest-springboot.Running'>Running in
Eclipse</a></p>
<li><p class='new'><a class='doclink'
href='{OVERVIEW_URL}#juneau-examples-rest-springboot.Building'>Building and
Running from Command-Line</a></p>
- <li><p class='todo'><a class='doclink'
href='{OVERVIEW_URL}#juneau-examples-rest-springboot.DeployingToHeroku'>Deploying
to Heroku</a></p>
+ <li><p class='new'><a class='doclink'
href='{OVERVIEW_URL}#juneau-examples-rest-springboot.DeployingToHeroku'>Deploying
to Heroku</a></p>
</ol>
<li><p class='toc2'><a class='doclink'
href='{OVERVIEW_URL}#Security'>Security Best-Practices</a></p>
<ol>
diff --git a/juneau-doc/src/main/javadoc/resources/juneau-doc.css
b/juneau-doc/src/main/javadoc/resources/juneau-doc.css
index 91ce80b..72d9e1e 100755
--- a/juneau-doc/src/main/javadoc/resources/juneau-doc.css
+++ b/juneau-doc/src/main/javadoc/resources/juneau-doc.css
@@ -408,6 +408,11 @@ a.doclink {
}
.w900 {
width:900px !important;
+ max-width:900px !important;
+}
+.w1000 {
+ width:1000px !important;
+ max-width:1000px !important;
}
hr {
@@ -416,3 +421,12 @@ hr {
max-width: 900px;
}
+.console {
+ color: #8df900;
+ font-weight: bold;
+ font-family: monospace;
+ font-size: 1.1em;
+ background-color: black !important;
+}
+
+
diff --git a/juneau-examples/juneau-examples-rest-springboot/settings.xml
b/juneau-examples/juneau-examples-rest-springboot/settings.xml
new file mode 100644
index 0000000..0e500e2
--- /dev/null
+++ b/juneau-examples/juneau-examples-rest-springboot/settings.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd">
+ <profiles>
+ <profile>
+ <id>apache-snapshots</id>
+ <repositories>
+ <repository>
+ <id>apache.snapshots</id>
+ <name>Apache Development Snapshot
Repository</name>
+
<url>https://repository.apache.org/content/repositories/snapshots/</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>true</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>maven1</id>
+
<url>https://repo1.maven.org/maven2</url>
+ <releases>
+ <enabled>true</enabled>
+ </releases>
+ </repository>
+ </repositories>
+ </profile>
+ </profiles>
+
+ <activeProfiles>
+ <activeProfile>apache-snapshots</activeProfile>
+ </activeProfiles>
+</settings>
\ No newline at end of file