Skip to content

Commit

Permalink
fixed poms
Browse files Browse the repository at this point in the history
  • Loading branch information
rmpestano committed Jun 30, 2015
1 parent ea4d8fc commit 066c981
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 12 deletions.
5 changes: 2 additions & 3 deletions cukedoctor-main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<parent>
<artifactId>cukedoctor</artifactId>
<groupId>com.github.cukedoctor</groupId>
<version>0.2</version>
<relativePath>../pom.xml</relativePath>
<version>0.3-SNAPSHOT</version>
</parent>

<artifactId>cukedoctor-main</artifactId>
Expand All @@ -18,7 +17,7 @@
<dependency>
<groupId>com.github.cukedoctor</groupId>
<artifactId>cukedoctor-reporter</artifactId>
<version>${parent.version}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
Expand Down
4 changes: 2 additions & 2 deletions cukedoctor-maven-plugin/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ NOTE: *plugins* option replaced *format* option which was deprecated in newer cu
<outputDir>docs</outputDir> <2>
<format>pdf</format> <3>
<toc>left</toc> <4>
<numbered>false</numbered> <5>
<numbered>true</numbered> <5>
</configuration>
<executions>
<execution>
Expand All @@ -69,4 +69,4 @@ NOTE: *plugins* option replaced *format* option which was deprecated in newer cu
<2> directory name (relative to /target) to generate documetation (default is _cukedoctor_)
<3> document format, default is html5
<4> table of content position, default is right
<5> section numbering, default is true
<5> section numbering, default is false
5 changes: 2 additions & 3 deletions cukedoctor-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<parent>
<artifactId>cukedoctor</artifactId>
<groupId>com.github.cukedoctor</groupId>
<version>0.2</version>
<relativePath>../pom.xml</relativePath>
<version>0.3-SNAPSHOT</version>
</parent>

<artifactId>cukedoctor-maven-plugin</artifactId>
Expand All @@ -18,7 +17,7 @@
<dependency>
<groupId>com.github.cukedoctor</groupId>
<artifactId>cukedoctor-reporter</artifactId>
<version>${parent.version}</version>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
Expand Down
2 changes: 1 addition & 1 deletion cukedoctor-reporter/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This module is responsible for generating adoc files from .json cucumber executi
@Test
public void shouldSaveDocumentationIntoDisk(){
List<String> pathToCucumberJsonFiles = FileUtil.findJsonFiles("target/test-classes/json-output/");
List<Feature> features = FeatureParser.parse();
List<Feature> features = FeatureParser.parse(pathToCucumberJsonFiles);
DocumentAttributes attrs = new DocumentAttributes();
attrs.toc("left").backend("html5")
.docType("book")
Expand Down
3 changes: 1 addition & 2 deletions cukedoctor-reporter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<parent>
<groupId>com.github.cukedoctor</groupId>
<artifactId>cukedoctor</artifactId>
<version>0.2</version>
<relativePath>../pom.xml</relativePath>
<version>0.3-SNAPSHOT</version>
</parent>

<artifactId>cukedoctor-reporter</artifactId>
Expand Down
31 changes: 30 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,46 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
<relativePath />
</parent>

<groupId>com.github.cukedoctor</groupId>
<artifactId>cukedoctor</artifactId>
<version>0.2</version>
<version>0.3-SNAPSHOT</version>
<packaging>pom</packaging>

<name>cukedoctor</name>
<url>github.com/rmpestano/cukedoctor</url>

<description>
BDD living documentation based on Cucumber and Asciidoctor
</description>


<modules>
<module>cukedoctor-reporter</module>
<module>cukedoctor-maven-plugin</module>
<module>cukedoctor-main</module>
</modules>

<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/rmpestano/cukedoctor.git</connection>
<developerConnection>scm:git:git@github.com:rmpestano/cukedoctor.git</developerConnection>
<url>git@github.com:rmpestano/cukedoctor.git</url>
</scm>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson-core.version>2.5.3</jackson-core.version>
Expand Down

0 comments on commit 066c981

Please sign in to comment.