Skip to content

Commit

Permalink
refine integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
bsorrentino committed Oct 1, 2020
1 parent 9646e90 commit 692074d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
11 changes: 3 additions & 8 deletions test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ PROCESSOR PLUGIN

<failOnError>false</failOnError>
<processors>
<processor>org.bsc.maven.plugin.processor.test.TESTWikiProcessor</processor>
<processor>org.bsc.maven.plugin.processor.test.TestWikiProcessor</processor>
</processors>

<options>
Expand All @@ -99,17 +99,12 @@ PROCESSOR PLUGIN

<additionalSourceDirectories>
<item>${basedir}/src/main/java</item>
<!--
<item>${user.home}/src</item>
-->
</additionalSourceDirectories>

<failOnError>false</failOnError>
<skipSourcesUnchanged>true</skipSourcesUnchanged>
<processors>
<processor>org.bsc.maven.plugin.processor.test.TESTWikiProcessor</processor>
<!--
<processor>org.bsc.jaxrs.JAXRSWikiProcessor</processor>
-->
<processor>org.bsc.maven.plugin.processor.test.TestWikiProcessor</processor>
</processors>

<options>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@SupportedAnnotationTypes( "*" )
//@SupportedOptions( {"subfolder", "filepath", "templateUri"})
//@SupportedAnnotationTypes( {"javax.ws.rs.GET", "javax.ws.rs.PUT", "javax.ws.rs.POST", "javax.ws.rs.DELETE"})
public class TESTWikiProcessor extends BaseAbstractProcessor {
public class TestWikiProcessor extends BaseAbstractProcessor {

/**
*
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package org.bsc.maven.plugin.processor.test;

public class TestWikiProcessorClass {

@ServiceDocumentation("service1")
public void service1() {


}

@ServiceDocumentation("service2")
public void service2( @ParameterDocumentation("param1") String param1) {


}
}
4 changes: 4 additions & 0 deletions test/src/site/.maven-processor-source-files.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/Users/bsorrentino/WORKSPACES/GITHUB.me/maven-annotation-plugin/test/src/main/java/org/bsc/maven/plugin/processor/test/ParameterDocumentation.java
/Users/bsorrentino/WORKSPACES/GITHUB.me/maven-annotation-plugin/test/src/main/java/org/bsc/maven/plugin/processor/test/TestWikiProcessor.java
/Users/bsorrentino/WORKSPACES/GITHUB.me/maven-annotation-plugin/test/src/main/java/org/bsc/maven/plugin/processor/test/ServiceDocumentation.java
/Users/bsorrentino/WORKSPACES/GITHUB.me/maven-annotation-plugin/test/src/main/java/org/bsc/maven/plugin/processor/test/TestWikiProcessorClass.java

0 comments on commit 692074d

Please sign in to comment.