Skip to content

Commit

Permalink
Release 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
rigolepe committed Mar 6, 2018
1 parent 0822706 commit 9180a76
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -7,7 +7,7 @@
<groupId>io.atomicbits</groupId>
<artifactId>scraml-maven-plugin</artifactId>
<packaging>maven-plugin</packaging>
<version>0.8.0-M2</version> <!-- Change in 1 place! -->
<version>0.8.0</version> <!-- Change in 1 place! -->
<description>Maven pluging to generate Java clients with scraml, see http://scraml.io</description>
<url>https://github.com/atomicbits/scraml</url>
<licenses>
Expand Down
9 changes: 8 additions & 1 deletion src/main/java/io/atomicbits/scraml/mvnplugin/ScramlMojo.java
Expand Up @@ -105,6 +105,12 @@ public class ScramlMojo extends AbstractMojo {
@Parameter(property = "scraml.classHeader", defaultValue = "")
private String classHeader;

/**
* Single target source filename
*/
@Parameter(property = "scraml.singleSourceFile", defaultValue = "")
private String singleSourceFile;


@Override
public void execute() throws MojoExecutionException, MojoFailureException {
Expand Down Expand Up @@ -134,7 +140,8 @@ public void execute() throws MojoExecutionException, MojoFailureException {
apiPackageName,
apiClassName,
licenseKey,
classHeader
classHeader,
singleSourceFile
);
} catch (MalformedURLException | NullPointerException e) {
feedbackOnException(ramlBaseDir, ramlApi, ramlSource);
Expand Down

0 comments on commit 9180a76

Please sign in to comment.