Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Raw repository documentation #55

Merged
merged 4 commits into from May 28, 2015
Merged

Raw repository documentation #55

merged 4 commits into from May 28, 2015

Conversation

mosabua
Copy link
Contributor

@mosabua mosabua commented May 27, 2015

Refactored and updated the old chapter about Maven sites and adjusted it to the raw repo concept.

https://issues.sonatype.org/browse/NEXUS-8386

@mosabua mosabua added the review label May 27, 2015
@mosabua
Copy link
Contributor Author

mosabua commented May 27, 2015

CI build at http://bamboo.s/browse/BOOK-NEXUS23-2

@mosabua
Copy link
Contributor Author

mosabua commented May 27, 2015

@mosabua
Copy link
Contributor Author

mosabua commented May 27, 2015

Updated renders from screenshot update in next build.

be used to store and provide a Maven-generated website. Proxy
repositories can subsequently proxy them in other servers. The 'raw'
format can also be used for other resources than HTML files exposed by
straight HTTP like browsable directory structures.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HTTP-like

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@mrprescott
Copy link
Contributor

+1 with minor comments

@joedragons
Copy link
Contributor

Running as written in 6.2 returned me the below error. Spoke with @mrprescott and we diagnosed that the repo wasn't created. Creating a raw hosted repo named site made it work. For people blind following along, I strongly suggest you put that there. I followed your steps I believe literally as I imagine new folks might.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.502s
[INFO] Finished at: Wed May 27 13:46:26 EDT 2015
[INFO] Final Memory: 17M/265M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:deploy (default-deploy) on project sample-site: Error uploading site: File: http://localhost:8081/repository/site/./css/maven-base.css does not exist -> [Help 1]

----

Once the site has been published, you can load the site in a browser
by going to http://localhost:8081/content/sites/site/[http://localhost:8081/content/sites/site/].
by going to http://localhost:8081/repository/site/site/index.html[http://localhost:8081/repository/site/index.html].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL actual (not displayed URL) has an extra /site in it. Manually adjusting to http://localhost:8081/repository/site/index.html works.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ups.. fixed.

@joedragons
Copy link
Contributor

+1 besides notes


.Configuring Version 3.4 of the Maven Site Plugin
----
<build>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: All the below are nicely spaced out except for this one. Randomly remembered when configuring something else; sorry for the note after +1=)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@mosabua
Copy link
Contributor Author

mosabua commented May 28, 2015

I added a link back to the raw hosted chapter so readers dont miss it.

mosabua added a commit that referenced this pull request May 28, 2015
@mosabua mosabua merged commit a5b88df into nexus-3.0.x May 28, 2015
@mosabua mosabua deleted the NEXUS-8386-raw branch May 28, 2015 16:24
dulanism pushed a commit that referenced this pull request Dec 20, 2016
…reverse proxy configuration for HTTP download method to work during upgrade (PR #55)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants