Skip to content

Commit

Permalink
additional configs for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ghacupha committed Mar 19, 2018
1 parent 1f515e6 commit ee73951
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
language: java
install: true
before_install:
- chmod +x mvnw
script:
- mvn install
- mvn compile
- mvn clean package
- mvn clean test
- mvn clean verify
- mvn pdf:pdf
- mvnw compile
- mvnw clean package
- mvnw clean test
- mvnw clean verify
- mvnw install
- mvnw pdf:pdf
- mvnw release:prepare
jdk:
- oraclejdk8
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down Expand Up @@ -487,6 +488,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${maven-checkstyle-plugin.version}</version>
<executions>
<execution>
<id>run-checkstyle</id>
Expand Down Expand Up @@ -567,6 +569,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${maven-source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
Expand Down
29 changes: 29 additions & 0 deletions src/site/pdf.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<document xmlns="http://maven.apache.org/DOCUMENT/1.0.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/DOCUMENT/1.0.1 http://maven.apache.org/xsd/document-1.0.1.xsd"
outputName="maven-pdf-plugin">

<meta>
<title>book-keeper</title>
<author>Edwin Njeru</author>
</meta>

<toc name="Table of Contents">
<item name="Introduction" ref="index.apt"/>
<item name="Usage" ref="usage.apt.vm"/>
<item name="Filtering Document Descriptor" ref="examples/filtering.apt"/>
<item name="Configuring Reports" ref="/examples/configuring-reports.xml.vm"/>
<item name="Limitations" ref="limitations.apt"/>
<item name="FAQ" ref="faq.fml"/>
</toc>

<cover>
<coverTitle>${project.name}</coverTitle>
<coverSubTitle>v. ${project.version}</coverSubTitle>
<coverType>User Guide</coverType>
<projectName>${project.name}</projectName>
<projectLogo>http://maven.apache.org/images/maventxt_logo_200.gif</projectLogo>
<companyName>Edwin Njeru</companyName>
<companyLogo>http://www.apache.org/images/asf_logo_wide.png</companyLogo>
</cover>
</document>

0 comments on commit ee73951

Please sign in to comment.