Closed madisonleavo closed 8 years ago
Under Ubuntu 16.04:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (rat-report) on project streamsets-datacollector: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/home/madison/2.1.0.0_dc/datacollector-2.1.0.0" executable="/bin/bash">
... @ 10:104 in /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/antrun/build-main.xml
I don't think it's possible to build on Windows. Not sure why it's failing on Ubuntu. Presumably /bin/bash
exists?
Affirmative. What do you suggest?
I'm not sure... Probably best to engage with the StreamSets engineers on the Google group or Slack channel - details for both are at https://streamsets.com/community/
I didn't notice that the pasted error was not the first. Here is the entire output from mvn clean install
This one looks like the first:
exec] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default-cli) on project streamsets-datacollector: Too many files with unapproved license: 5 See RAT report in: /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/rat.txt -> [Help 1]
$ mvn clean install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.streamsets:streamsets-datacollector-container-common:jar:2.1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.iq80.snappy:snappy:jar -> duplicate declaration of version ${snappy.version} @ line 197, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.streamsets:streamsets-datacollector-sdc-kafka-10:jar:2.1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.kafka:kafka-clients:jar -> duplicate declaration of version ${kafka.version} @ line 157, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.streamsets:streamsets-datacollector-apache-kafka_0_10-lib:jar:2.1.0.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.kafka:kafka-clients:jar -> duplicate declaration of version ${kafka.version} @ line 190, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] StreamSets Data Collector RB Gen Maven Plugin
[INFO] StreamSets Data Collector
[INFO] StreamSets Data Collector Root Prototype POM
[INFO] StreamSets Data Collector Root POM
[INFO] StreamSets Testing Library
[INFO] StreamSets Data Collector Bootstrap
[INFO] StreamSets Utils
[INFO] StreamSets SSO
[INFO] StreamSets Data Collector Common
[INFO] StreamSets Data Collector Container Common
[INFO] StreamSets Data Collector JSON DTO
[INFO] StreamSets Data Collector Messaging Client
[INFO] StreamSets Data Collector Container
[INFO] StreamSets Data Collector Mini SDC
[INFO] StreamSets Data Collector SDK
[INFO] StreamSets Data Collector Stage Library Tutorial
[INFO] StreamSets Data Collector Hadoop Common
[INFO] StreamSets Data Collector MapR Common
[INFO] StreamSets Data Collector Root Libraries POM
[INFO] StreamSets Data Collector CommonLib
[INFO] StreamSets Data Collector Lookup Protolib
[INFO] StreamSets Data Collector HDFS ProtoLib
[INFO] StreamSets Data Collector MapReduce ProtoLib
[INFO] StreamSets Data Collector Cluster Bootstrap
[INFO] StreamSets Data Collector Cluster common
[INFO] StreamSets Data Collector Cluster HDFS protolib
[INFO] StreamSets Data Collector MapR FS Protolib
[INFO] StreamSets Data Collector HBase ProtoLib
[INFO] StreamSets Data Collector MapR DB Protolib
[INFO] StreamSets Data Collector Hive ProtoLib
[INFO] StreamSets Data Collector SDC kafka API
[INFO] StreamSets Data Collector Kafka Common
[INFO] StreamSets Data Collector SDC kafka 08
[INFO] StreamSets Data Collector SDC kafka 09 Common
[INFO] StreamSets Data Collector SDC kafka 09
[INFO] StreamSets Data Collector MapR Streams Common
[INFO] StreamSets Data Collector SDC kafka 09 MapR51
[INFO] StreamSets Data Collector SDC kafka 10
[INFO] StreamSets Data Collector Kafka Source ProtoLib
[INFO] StreamSets Data Collector Kafka Target ProtoLib
[INFO] StreamSets Data Collector MapR Streams Producer ProtoLib
[INFO] StreamSets Data Collector Cluster Kafka ProtoLib
[INFO] StreamSets Data Collector MapR Streams Source ProtoLib
[INFO] StreamSets Data Collector Jython ProtoLib
[INFO] StreamSets Data Collector Groovy ProtoLib
[INFO] StreamSets Data Collector SDC elasticsearch API
[INFO] StreamSets Data Collector SDC elasticsearch 1
[INFO] StreamSets Data Collector SDC elasticsearch 2
[INFO] StreamSets Data Collector Elastic Search ProtoLib
[INFO] StreamSets Data Collector SDC Solr API
[INFO] StreamSets Data Collector SDC Solr 4
[INFO] StreamSets Data Collector Solr ProtoLib
[INFO] StreamSets Data Collector Cassandra ProtoLib
[INFO] StreamSets Data Collector MongoDB ProtoLib
[INFO] StreamSets Data Collector flume ProtoLib
[INFO] StreamSets Data Collector Apache Kudu ProtoLib
[INFO] StreamSets Data Collector Cluster Bootstrap
[INFO] StreamSets Data Collector Mapr Cluster Bootstrap
[INFO] StreamSets Data Collector Mesos Bootstrap
[INFO] StreamSets Data Collector CLI
[INFO] StreamSets Data Collector Common UI
[INFO] StreamSets Data Collector SDC Solr 6
[INFO] StreamSets Data Collector Amazon AWS Library
[INFO] StreamSets Data Collector Basic Lib Fake Java 7
[INFO] StreamSets Data Collector Basic Lib
[INFO] StreamSets Data Collector Dev Lib
[INFO] StreamSets Data Collector InfluxDB 0.9+ Lib
[INFO] StreamSets Data Collector JDBC Lib
[INFO] StreamSets Data Collector JMS Lib
[INFO] StreamSets Data Collector Omniture Lib
[INFO] StreamSets Data Collector RabbitMQ Lib
[INFO] StreamSets Data Collector Redis 2.9.x, 3.0.x Lib
[INFO] StreamSets Data Collector Stats Lib
[INFO] StreamSets Data Collector Apache Kafka 0.10 Lib
[INFO] StreamSets Data Collector Apache Kudu 0.9 Lib
[INFO] StreamSets Data Collector Apache Solr 6.1.0 Lib
[INFO] StreamSets Data Collector Cassandra Driver 3.1.0 Lib
[INFO] StreamSets Data Collector 5.8.0 Cluster Kafka 2.0.2 Lib
[INFO] StreamSets Data Collector 5.8.0 Lib
[INFO] StreamSets Data Collector CDH5 Kafka 0.8.2.0 1.3.2 Lib
[INFO] StreamSets Data Collector Elastic Search 2.4.1 Lib
[INFO] StreamSets Data Collector Groovy 2.4.7 Lib
[INFO] StreamSets Data Collector HDP 2.4.0 Lib
[INFO] StreamSets Data Collector Jython 2.7.0 Lib
[INFO] StreamSets Data Collector MapR 5.2.0 Lib
[INFO] StreamSets Data Collector MongoDB 3.0.2 Lib
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StreamSets Data Collector RB Gen Maven Plugin 2.1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Deleting /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/target/classes
[INFO]
[INFO] --- maven-plugin-plugin:3.4:descriptor (default-descriptor) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Using 'UTF-8' encoding to read mojo metadata.
[INFO] Mojo extractor with id: java-javadoc found 0 mojo descriptors.
[INFO] Mojo extractor with id: java-annotations found 1 mojo descriptors.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] No tests to run.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Building jar: /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/target/streamsets-datacollector-rbgen-maven-plugin-2.1.0.0.jar
[INFO]
[INFO] --- maven-plugin-plugin:3.4:addPluginArtifactMetadata (default-addPluginArtifactMetadata) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ streamsets-datacollector-rbgen-maven-plugin ---
[INFO] Installing /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/target/streamsets-datacollector-rbgen-maven-plugin-2.1.0.0.jar to /home/madison/.m2/repository/com/streamsets/streamsets-datacollector-rbgen-maven-plugin/2.1.0.0/streamsets-datacollector-rbgen-maven-plugin-2.1.0.0.jar
[INFO] Installing /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/rbgen-maven-plugin/pom.xml to /home/madison/.m2/repository/com/streamsets/streamsets-datacollector-rbgen-maven-plugin/2.1.0.0/streamsets-datacollector-rbgen-maven-plugin-2.1.0.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building StreamSets Data Collector 2.1.0.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ streamsets-datacollector ---
[INFO] Deleting /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target
[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (rat-report) @ streamsets-datacollector ---
[INFO] Executing tasks
main:
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Building StreamSets Data Collector 2.1.0.0
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO]
[exec] [INFO] --- apache-rat-plugin:0.12:check (default-cli) @ streamsets-datacollector ---
[exec] [INFO] Enabled default license matchers.
[exec] [INFO] Will parse SCM ignores for exclusions...
[exec] [INFO] Parsing exclusions from /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/.gitignore
[exec] [INFO] Finished adding exclusions from SCM ignore files.
[exec] [INFO] 76 implicit excludes (use -debug for more details).
[exec] [INFO] Exclude: CHANGES.txt
[exec] [INFO] Exclude: **/.settings/*
[exec] [INFO] Exclude: **/.classpath
[exec] [INFO] Exclude: **/.project
[exec] [INFO] Exclude: **/.idea/**
[exec] [INFO] Exclude: **/*.iml
[exec] [INFO] Exclude: **/.gitignore
[exec] [INFO] Exclude: .gitreview
[exec] [INFO] Exclude: .git/**
[exec] [INFO] Exclude: **/target/**
[exec] [INFO] Exclude: .m2/**
[exec] [INFO] Exclude: **/node_modules/**
[exec] [INFO] Exclude: **/.bowerrc
[exec] [INFO] Exclude: **/META-INF/services/**
[exec] [INFO] Exclude: sdk/src/main/services/**
[exec] [INFO] Exclude: **/*.conf
[exec] [INFO] Exclude: **/*.svg
[exec] [INFO] Exclude: **/MANIFEST.MF
[exec] [INFO] Exclude: **/service.sdl
[exec] [INFO] Exclude: **/*.db
[exec] [INFO] Exclude: **/*.csv
[exec] [INFO] Exclude: **/*.txt
[exec] [INFO] Exclude: **/*.json
[exec] [INFO] Exclude: **/*.log
[exec] [INFO] Exclude: **/*.html
[exec] [INFO] Exclude: common/src/main/resources/*
[exec] [INFO] Exclude: **/*.desc
[exec] [INFO] Exclude: **/*.proto
[exec] [INFO] Exclude: **/*.md
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/EmployeeProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/EngineerProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/ExecutiveProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/ExtensionsProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/PersonProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/RepeatedProto.java
[exec] [INFO] Exclude: commonlib/src/test/java/com/streamsets/pipeline/lib/util/OneofProto.java
[exec] [INFO] Exclude: commonlib/src/test/resources/*.ser
[exec] [INFO] Exclude: commonlib/src/main/resources/*
[exec] [INFO] Exclude: basic-lib/src/test/resources/*.ser
[exec] [INFO] Exclude: **/id_rsa_test
[exec] [INFO] Exclude: **/*.pub
[exec] [INFO] Exclude: common/src/test/resources/TestStreamingXmlParser-records.xml
[exec] [INFO] Exclude: python/**
[exec] [INFO] Exclude: docs/**
[exec] [INFO] Exclude: cloudera-integration/csd/**
[exec] [INFO] Exclude: common-ui/src/main/webapp/common/directives/**
[exec] [INFO] 3037 resources included (use -debug for more details)
[exec] [INFO] Rat check: Summary over all files. Unapproved: 5, unknown: 5, generated: 0, approved: 2921 licenses.
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD FAILURE
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 1.220 s
[exec] [INFO] Finished at: 2016-10-25T11:48:50-05:00
[exec] [INFO] Final Memory: 12M/260M
[exec] [INFO] ------------------------------------------------------------------------
[exec] [ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.12:check (default-cli) on project streamsets-datacollector: Too many files with unapproved license: 5 See RAT report in: /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/rat.txt -> [Help 1]
[exec] [ERROR]
[exec] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[exec] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[exec] [ERROR]
[exec] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[exec] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] StreamSets Data Collector RB Gen Maven Plugin ...... SUCCESS [ 1.709 s]
[INFO] StreamSets Data Collector .......................... FAILURE [ 2.812 s]
[INFO] StreamSets Data Collector Root Prototype POM ....... SKIPPED
[INFO] StreamSets Data Collector Root POM ................. SKIPPED
[INFO] StreamSets Testing Library ......................... SKIPPED
[INFO] StreamSets Data Collector Bootstrap ................ SKIPPED
[INFO] StreamSets Utils ................................... SKIPPED
[INFO] StreamSets SSO ..................................... SKIPPED
[INFO] StreamSets Data Collector Common ................... SKIPPED
[INFO] StreamSets Data Collector Container Common ......... SKIPPED
[INFO] StreamSets Data Collector JSON DTO ................. SKIPPED
[INFO] StreamSets Data Collector Messaging Client ......... SKIPPED
[INFO] StreamSets Data Collector Container ................ SKIPPED
[INFO] StreamSets Data Collector Mini SDC ................. SKIPPED
[INFO] StreamSets Data Collector SDK ...................... SKIPPED
[INFO] StreamSets Data Collector Stage Library Tutorial ... SKIPPED
[INFO] StreamSets Data Collector Hadoop Common ............ SKIPPED
[INFO] StreamSets Data Collector MapR Common .............. SKIPPED
[INFO] StreamSets Data Collector Root Libraries POM ....... SKIPPED
[INFO] StreamSets Data Collector CommonLib ................ SKIPPED
[INFO] StreamSets Data Collector Lookup Protolib .......... SKIPPED
[INFO] StreamSets Data Collector HDFS ProtoLib ............ SKIPPED
[INFO] StreamSets Data Collector MapReduce ProtoLib ....... SKIPPED
[INFO] StreamSets Data Collector Cluster Bootstrap ........ SKIPPED
[INFO] StreamSets Data Collector Cluster common ........... SKIPPED
[INFO] StreamSets Data Collector Cluster HDFS protolib .... SKIPPED
[INFO] StreamSets Data Collector MapR FS Protolib ......... SKIPPED
[INFO] StreamSets Data Collector HBase ProtoLib ........... SKIPPED
[INFO] StreamSets Data Collector MapR DB Protolib ......... SKIPPED
[INFO] StreamSets Data Collector Hive ProtoLib ............ SKIPPED
[INFO] StreamSets Data Collector SDC kafka API ............ SKIPPED
[INFO] StreamSets Data Collector Kafka Common ............. SKIPPED
[INFO] StreamSets Data Collector SDC kafka 08 ............. SKIPPED
[INFO] StreamSets Data Collector SDC kafka 09 Common ...... SKIPPED
[INFO] StreamSets Data Collector SDC kafka 09 ............. SKIPPED
[INFO] StreamSets Data Collector MapR Streams Common ...... SKIPPED
[INFO] StreamSets Data Collector SDC kafka 09 MapR51 ...... SKIPPED
[INFO] StreamSets Data Collector SDC kafka 10 ............. SKIPPED
[INFO] StreamSets Data Collector Kafka Source ProtoLib .... SKIPPED
[INFO] StreamSets Data Collector Kafka Target ProtoLib .... SKIPPED
[INFO] StreamSets Data Collector MapR Streams Producer ProtoLib SKIPPED
[INFO] StreamSets Data Collector Cluster Kafka ProtoLib ... SKIPPED
[INFO] StreamSets Data Collector MapR Streams Source ProtoLib SKIPPED
[INFO] StreamSets Data Collector Jython ProtoLib .......... SKIPPED
[INFO] StreamSets Data Collector Groovy ProtoLib .......... SKIPPED
[INFO] StreamSets Data Collector SDC elasticsearch API .... SKIPPED
[INFO] StreamSets Data Collector SDC elasticsearch 1 ...... SKIPPED
[INFO] StreamSets Data Collector SDC elasticsearch 2 ...... SKIPPED
[INFO] StreamSets Data Collector Elastic Search ProtoLib .. SKIPPED
[INFO] StreamSets Data Collector SDC Solr API ............. SKIPPED
[INFO] StreamSets Data Collector SDC Solr 4 ............... SKIPPED
[INFO] StreamSets Data Collector Solr ProtoLib ............ SKIPPED
[INFO] StreamSets Data Collector Cassandra ProtoLib ....... SKIPPED
[INFO] StreamSets Data Collector MongoDB ProtoLib ......... SKIPPED
[INFO] StreamSets Data Collector flume ProtoLib ........... SKIPPED
[INFO] StreamSets Data Collector Apache Kudu ProtoLib ..... SKIPPED
[INFO] StreamSets Data Collector Cluster Bootstrap ........ SKIPPED
[INFO] StreamSets Data Collector Mapr Cluster Bootstrap ... SKIPPED
[INFO] StreamSets Data Collector Mesos Bootstrap .......... SKIPPED
[INFO] StreamSets Data Collector CLI ...................... SKIPPED
[INFO] StreamSets Data Collector Common UI ................ SKIPPED
[INFO] StreamSets Data Collector SDC Solr 6 ............... SKIPPED
[INFO] StreamSets Data Collector Amazon AWS Library ....... SKIPPED
[INFO] StreamSets Data Collector Basic Lib Fake Java 7 .... SKIPPED
[INFO] StreamSets Data Collector Basic Lib ................ SKIPPED
[INFO] StreamSets Data Collector Dev Lib .................. SKIPPED
[INFO] StreamSets Data Collector InfluxDB 0.9+ Lib ........ SKIPPED
[INFO] StreamSets Data Collector JDBC Lib ................. SKIPPED
[INFO] StreamSets Data Collector JMS Lib .................. SKIPPED
[INFO] StreamSets Data Collector Omniture Lib ............. SKIPPED
[INFO] StreamSets Data Collector RabbitMQ Lib ............. SKIPPED
[INFO] StreamSets Data Collector Redis 2.9.x, 3.0.x Lib ... SKIPPED
[INFO] StreamSets Data Collector Stats Lib ................ SKIPPED
[INFO] StreamSets Data Collector Apache Kafka 0.10 Lib .... SKIPPED
[INFO] StreamSets Data Collector Apache Kudu 0.9 Lib ...... SKIPPED
[INFO] StreamSets Data Collector Apache Solr 6.1.0 Lib .... SKIPPED
[INFO] StreamSets Data Collector Cassandra Driver 3.1.0 Lib SKIPPED
[INFO] StreamSets Data Collector 5.8.0 Cluster Kafka 2.0.2 Lib SKIPPED
[INFO] StreamSets Data Collector 5.8.0 Lib ................ SKIPPED
[INFO] StreamSets Data Collector CDH5 Kafka 0.8.2.0 1.3.2 Lib SKIPPED
[INFO] StreamSets Data Collector Elastic Search 2.4.1 Lib . SKIPPED
[INFO] StreamSets Data Collector Groovy 2.4.7 Lib ......... SKIPPED
[INFO] StreamSets Data Collector HDP 2.4.0 Lib ............ SKIPPED
[INFO] StreamSets Data Collector Jython 2.7.0 Lib ......... SKIPPED
[INFO] StreamSets Data Collector MapR 5.2.0 Lib ........... SKIPPED
[INFO] StreamSets Data Collector MongoDB 3.0.2 Lib ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.608 s
[INFO] Finished at: 2016-10-25T11:48:51-05:00
[INFO] Final Memory: 63M/545M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (rat-report) on project streamsets-datacollector: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/home/madison/2.1.0.0_dc/datacollector-2.1.0.0" executable="/bin/bash">... @ 10:104 in /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :streamsets-datacollector
Ah - it's the license check. If you look at /home/madison/2.1.0.0_dc/datacollector-2.1.0.0/target/rat.txt
you'll see the non-compliant files. You can build with -DskipRat
to get round it for now.
Please let me know if this works so I can close the issue.
That was the winner. Thank you!
Under Windows: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7: run (rat-report) on project streamsets-datacollector: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "\bin\bash": Cr eateProcess error=2, The system cannot find the file specified [ERROR] around Ant part ...
<exec dir="C:\Users\madison\Downloads\2.1.0.0_dc\d atacollector-2.1.0.0" executable="/bin/bash" failonerror="true">
... @ 10:120 in C:\Users\madison\Downloads\2.1.0.0_dc\datacollector-2.1.0.0\target\antrun\bui ld-main.xml