Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
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
openSource
spring-cloud-netflix
Commits
89a57125
Commit
89a57125
authored
Oct 06, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automate docs build with shared parent pom
parent
3668e2ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
151 deletions
+14
-151
.travis.yml
.travis.yml
+1
-1
pom.xml
pom.xml
+13
-150
No files found.
.travis.yml
View file @
89a57125
...
...
@@ -2,7 +2,7 @@ language: java
before_install
:
git config user.name "$GIT_NAME" && git config user.email "$GIT_EMAIL"
&& git config credential.helper "store --file=.git/credentials" && echo "https://$GH_TOKEN:@github.com" > .git/credentials
install
:
-
mvn install -q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
-
mvn install -
P docs -
q -U -DskipTests=true -Dmaven.test.redirectTestOutputToFile=true
-
./src/main/asciidoc/ghpages.sh
script
:
mvn --settings .settings.xml deploy -nsu -Dmaven.test.redirectTestOutputToFile=true
env
:
...
...
pom.xml
View file @
89a57125
...
...
@@ -11,9 +11,9 @@
<description>
Spring Cloud Netflix
</description>
<parent>
<groupId>
org.springframework.
boot
</groupId>
<artifactId>
spring-
boot-starter-parent
</artifactId>
<version>
1.
1.5.RELEASE
</version>
<groupId>
org.springframework.
cloud
</groupId>
<artifactId>
spring-
cloud-build
</artifactId>
<version>
1.
0.0.BUILD-SNAPSHOT
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
...
...
@@ -204,8 +204,6 @@
</dependencyManagement>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1.7
</java.version>
<archaius.version>
0.6.0
</archaius.version>
<eureka.version>
1.1.135
</eureka.version>
<feign.version>
6.1.2
</feign.version>
...
...
@@ -215,164 +213,29 @@
<zuul.version>
1.0.24
</zuul.version>
</properties>
<profiles>
<profile>
<id>
docs
</id>
<build>
<plugins>
<plugin>
<artifactId>
maven-antrun-plugin
</artifactId>
<dependencies>
<dependency>
<groupId>
org.jruby
</groupId>
<artifactId>
jruby-complete
</artifactId>
<version>
1.7.12
</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>
readme
</id>
<phase>
process-resources
</phase>
<goals>
<goal>
run
</goal>
</goals>
<inherited>
false
</inherited>
<configuration>
<tasks>
<java
classname=
"org.jruby.Main"
failonerror=
"yes"
>
<arg
value=
"${basedir}/src/main/ruby/generate_readme.sh"
/>
<arg
value=
"-o"
/>
<arg
value=
"${basedir}/README.adoc"
/>
</java>
</tasks>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>
org.asciidoctor
</groupId>
<artifactId>
asciidoctor-maven-plugin
</artifactId>
<version>
1.5.0
</version>
<executions>
<execution>
<id>
generate-
</id>
<phase>
process-resources
</phase>
<goals>
<goal>
process-asciidoc
</goal>
</goals>
<inherited>
false
</inherited>
<configuration>
<sourceDocumentName>
${project.artifactId}.adoc
</sourceDocumentName>
<backend>
html
</backend>
<doctype>
article
</doctype>
<attributes>
<docinfo>
true
</docinfo>
<spring-cloud-version>
${project.version}
</spring-cloud-version>
</attributes>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>
milestone
</id>
<distributionManagement>
<repository>
<id>
repo.spring.io
</id>
<name>
Spring Milestone Repository
</name>
<url>
https://repo.spring.io/libs-milestone-local
</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>
central
</id>
<distributionManagement>
<snapshotRepository>
<id>
sonatype-nexus-snapshots
</id>
<name>
Sonatype Nexus Snapshots
</name>
<url>
https://oss.sonatype.org/content/repositories/snapshots/
</url>
</snapshotRepository>
<repository>
<id>
sonatype-nexus-staging
</id>
<name>
Nexus Release Repository
</name>
<url>
https://oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-gpg-plugin
</artifactId>
<executions>
<execution>
<id>
sign-artifacts
</id>
<phase>
verify
</phase>
<goals>
<goal>
sign
</goal>
</goals>
</execution>
</executions>
<artifactId>
maven-antrun-plugin
</artifactId>
<inherited>
false
</inherited>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
build-helper-maven-plugin
</artifactId>
<inherited>
false
</inherited>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<distributionManagement>
<!-- see 'staging' profile for dry-run deployment settings -->
<downloadUrl>
http://www.springsource.com/download/community
</downloadUrl>
<site>
<id>
spring-docs
</id>
<url>
scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-retry/docs/${project.version}
</url>
</site>
<repository>
<id>
repo.spring.io
</id>
<name>
Spring Release Repository
</name>
<url>
https://repo.spring.io/libs-release-local
</url>
</repository>
<snapshotRepository>
<id>
repo.spring.io
</id>
<name>
Spring Snapshot Repository
</name>
<url>
https://repo.spring.io/libs-snapshot-local
</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>
spring-snapshots
</id>
<name>
Spring Snapshots
</name>
<url>
http://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</repository>
<repository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
spring-snapshots
</id>
<name>
Spring Snapshots
</name>
<url>
http://repo.spring.io/snapshot
</url>
<snapshots>
<enabled>
true
</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>
spring-milestones
</id>
<name>
Spring Milestones
</name>
<url>
http://repo.spring.io/milestone
</url>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>
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