It seems to be working for me.

nallen@HW12402 : ~/Development/incubator-metron
$ mvn clean package -DskipTests
...
[INFO] Reactor Summary:
[INFO]
[INFO] Metron ............................................. SUCCESS [
 0.301 s]
[INFO] metron-analytics ................................... SUCCESS [
 0.001 s]
[INFO] metron-maas-common ................................. SUCCESS [
 3.857 s]
[INFO] metron-platform .................................... SUCCESS [
 0.001 s]
[INFO] metron-test-utilities .............................. SUCCESS [
 2.988 s]
[INFO] metron-integration-test ............................ SUCCESS [
 0.886 s]
[INFO] metron-maas-service ................................ SUCCESS [
 4.272 s]
[INFO] metron-common ...................................... SUCCESS [
11.200 s]
[INFO] metron-hbase ....................................... SUCCESS [
 1.220 s]
[INFO] metron-profiler-common ............................. SUCCESS [
 0.564 s]
[INFO] metron-profiler .................................... SUCCESS [
15.375 s]
[INFO] metron-profiler-client ............................. SUCCESS [
 6.763 s]
[INFO] metron-writer ...................................... SUCCESS [
 5.679 s]
[INFO] metron-enrichment .................................. SUCCESS [
23.517 s]
[INFO] metron-indexing .................................... SUCCESS [
 5.552 s]
[INFO] metron-solr ........................................ SUCCESS [
11.461 s]
[INFO] metron-pcap ........................................ SUCCESS [
 1.323 s]
[INFO] metron-parsers ..................................... SUCCESS [
23.894 s]
[INFO] metron-pcap-backend ................................ SUCCESS [
16.866 s]
[INFO] metron-data-management ............................. SUCCESS [
28.070 s]
[INFO] metron-api ......................................... SUCCESS [
15.192 s]
[INFO] metron-management .................................. SUCCESS [
 2.237 s]
[INFO] elasticsearch-shaded ............................... SUCCESS [
 4.215 s]
[INFO] metron-elasticsearch ............................... SUCCESS [
28.073 s]
[INFO] metron-deployment .................................. SUCCESS [
 0.002 s]
[INFO] Metron Ambari Management Pack ...................... SUCCESS [
 0.815 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 03:34 min
[INFO] Finished at: 2016-10-12T17:21:41-04:00
[INFO] Final Memory: 150M/1883M
[INFO]
------------------------------------------------------------------------


$ metron-deployment/scripts/platform-info.sh
Metron 0.2.1BETA
--
* master
--
commit 609ea40c2e8ab3b35b645f4238d2f66afc120fb5
Author: cstella <ceste...@gmail.com>
Date:   Tue Oct 11 13:59:45 2016 -0400

    METRON-488: Snort should use a proper CSV implementation (cestella via
mmiklavc) closes apache/incubator-metron#297
--
--
ansible 2.0.0.2
  config file =
  configured module search path = Default w/o overrides
--
Vagrant 1.8.1
--
Python 2.7.12
--
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T11:41:47-05:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_66, vendor: Oracle Corporation
Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
--
Darwin HW12402.local 15.6.0 Darwin Kernel Version 15.6.0: Mon Aug 29
20:21:34 PDT 2016; root:xnu-3248.60.11~1/RELEASE_X86_64 x86_64

On Wed, Oct 12, 2016 at 4:07 PM, Yohann Lepage <yoh...@lepage.info> wrote:

> Hi,
>
> In my environment, the build on current master fails because <id></id>
> is empty in metron-mpack.xml
>
> Am I the only one?
>
> It could be related to the behavior of maven-assembly-plugin since 2.2
> : In previous versions (before 2.2 final), leaving off the assembly id
> and leaving the classifier unconfigured resulted in the assembly being
> used as the project's main artifact. With the 2.2 release, this
> configuration results in a validation error.
> (http://maven.apache.org/plugins/maven-assembly-plugin/
> faq.html#required-classifiers)
>
>
>
> yoyo@yoyo-vm:~/incubator-metron$ git rev-parse HEAD
> 609ea40c2e8ab3b35b645f4238d2f66afc120fb5
>
> yoyo@yoyo-vm:~/incubator-metron$ mvn clean package  -DskipTests
> ...
> [INFO] --- maven-assembly-plugin:2.4.1:single (build-tarball) @
> metron_mpack ---
> [INFO] Reading assembly descriptor: src/main/assemblies/metron-mpack.xml
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Metron ............................................. SUCCESS [
> 0.095 s]
> [INFO] metron-analytics ................................... SUCCESS [
> 0.002 s]
> [INFO] metron-maas-common ................................. SUCCESS [
> 1.708 s]
> [INFO] metron-platform .................................... SUCCESS [
> 0.002 s]
> [INFO] metron-test-utilities .............................. SUCCESS [
> 1.242 s]
> [INFO] metron-integration-test ............................ SUCCESS [
> 0.700 s]
> [INFO] metron-maas-service ................................ SUCCESS [
> 2.583 s]
> [INFO] metron-common ...................................... SUCCESS [
> 8.553 s]
> [INFO] metron-hbase ....................................... SUCCESS [
> 0.628 s]
> [INFO] metron-profiler-common ............................. SUCCESS [
> 0.299 s]
> [INFO] metron-profiler .................................... SUCCESS [
> 14.017 s]
> [INFO] metron-profiler-client ............................. SUCCESS [
> 5.942 s]
> [INFO] metron-writer ...................................... SUCCESS [
> 5.278 s]
> [INFO] metron-enrichment .................................. SUCCESS [
> 21.441 s]
> [INFO] metron-indexing .................................... SUCCESS [
> 5.087 s]
> [INFO] metron-solr ........................................ SUCCESS [
> 10.085 s]
> [INFO] metron-pcap ........................................ SUCCESS [
> 0.511 s]
> [INFO] metron-parsers ..................................... SUCCESS [
> 21.636 s]
> [INFO] metron-pcap-backend ................................ SUCCESS [
> 16.211 s]
> [INFO] metron-data-management ............................. SUCCESS [
> 25.524 s]
> [INFO] metron-api ......................................... SUCCESS [
> 13.533 s]
> [INFO] metron-management .................................. SUCCESS [
> 1.173 s]
> [INFO] elasticsearch-shaded ............................... SUCCESS [
> 3.902 s]
> [INFO] metron-elasticsearch ............................... SUCCESS [
> 26.950 s]
> [INFO] metron-deployment .................................. SUCCESS [
> 0.001 s]
> [INFO] Metron Ambari Management Pack ...................... FAILURE [
> 0.124 s]
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 03:07 min
> [INFO] Finished at: 2016-10-12T21:39:18+02:00
> [INFO] Final Memory: 132M/548M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-assembly-plugin:2.4.1:single
> (build-tarball) on project metron_mpack: Assembly is incorrectly
> configured: Assembly is incorrectly configured:
> [ERROR] Assembly:  is not configured correctly: Assembly ID must be
> present and non-empty.
> [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/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR]   mvn <goals> -rf :metron_mpack
>
>
> Quick-and-dirty fix:
>
> yoyo@yoyo-vm:~/incubator-metron$ git diff
> metron-deployment/packaging/ambari/metron-mpack/src/main/
> assemblies/metron-mpack.xml
> diff --git a/metron-deployment/packaging/ambari/metron-mpack/src/main/
> assemblies/metron-mpack.xml
> b/metron-deployment/packaging/ambari/metron-mpack/src/main/
> assemblies/metron-mpack.xml
> index 7de489f..ed667b8 100644
> --- a/metron-deployment/packaging/ambari/metron-mpack/src/main/
> assemblies/metron-mpack.xml
> +++ b/metron-deployment/packaging/ambari/metron-mpack/src/main/
> assemblies/metron-mpack.xml
> @@ -18,7 +18,7 @@
>          xmlns="http://maven.apache.org/plugins/maven-assembly-
> plugin/assembly/1.1.3"
>          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>          xsi:schemaLocation="http://maven.apache.org/plugins/
> maven-assembly-plugin/assembly/1.1.3
> http://maven.apache.org/xsd/assembly-1.1.3.xsd";>
> -    <id></id>
> +    <id>test</id>
>      <formats>
>          <format>tar.gz</format>
>      </formats>
> @@ -40,4 +40,4 @@
>      </files>
>      <dependencySets>
>      </dependencySets>
> -</assembly>
> \ No newline at end of file
> +</assembly>
>
>
> yoyo@yoyo-vm:~/incubator-metron$ mvn clean package  -DskipTests
> ...
>
> [INFO] --- maven-assembly-plugin:2.4.1:single (build-tarball) @
> metron_mpack ---
> [INFO] Reading assembly descriptor: src/main/assemblies/metron-mpack.xml
> [INFO] Building tar:
> /home/yoyo/incubator-metron/metron-deployment/packaging/
> ambari/metron-mpack/target/metron_mpack-1.0.0.0-SNAPSHOT-test.tar.gz
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Metron ............................................. SUCCESS [
> 0.118 s]
> [INFO] metron-analytics ................................... SUCCESS [
> 0.004 s]
> [INFO] metron-maas-common ................................. SUCCESS [
> 1.808 s]
> [INFO] metron-platform .................................... SUCCESS [
> 0.002 s]
> [INFO] metron-test-utilities .............................. SUCCESS [
> 1.073 s]
> [INFO] metron-integration-test ............................ SUCCESS [
> 0.767 s]
> [INFO] metron-maas-service ................................ SUCCESS [
> 2.505 s]
> [INFO] metron-common ...................................... SUCCESS [
> 8.424 s]
> [INFO] metron-hbase ....................................... SUCCESS [
> 0.719 s]
> [INFO] metron-profiler-common ............................. SUCCESS [
> 0.256 s]
> [INFO] metron-profiler .................................... SUCCESS [
> 14.112 s]
> [INFO] metron-profiler-client ............................. SUCCESS [
> 5.942 s]
> [INFO] metron-writer ...................................... SUCCESS [
> 5.116 s]
> [INFO] metron-enrichment .................................. SUCCESS [
> 21.109 s]
> [INFO] metron-indexing .................................... SUCCESS [
> 5.070 s]
> [INFO] metron-solr ........................................ SUCCESS [
> 9.928 s]
> [INFO] metron-pcap ........................................ SUCCESS [
> 0.461 s]
> [INFO] metron-parsers ..................................... SUCCESS [
> 21.540 s]
> [INFO] metron-pcap-backend ................................ SUCCESS [
> 16.251 s]
> [INFO] metron-data-management ............................. SUCCESS [
> 25.328 s]
> [INFO] metron-api ......................................... SUCCESS [
> 14.068 s]
> [INFO] metron-management .................................. SUCCESS [
> 1.194 s]
> [INFO] elasticsearch-shaded ............................... SUCCESS [
> 3.850 s]
> [INFO] metron-elasticsearch ............................... SUCCESS [
> 26.453 s]
> [INFO] metron-deployment .................................. SUCCESS [
> 0.004 s]
> [INFO] Metron Ambari Management Pack ...................... SUCCESS [
> 0.135 s]
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 03:06 min
> [INFO] Finished at: 2016-10-12T21:47:41+02:00
> [INFO] Final Memory: 131M/554M
> [INFO] ------------------------------------------------------------
> ------------
>
>
>
> Env :
> yoyo@yoyo-vm:~/incubator-metron$ java -version
> java version "1.8.0_101"
> Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
> Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
>
> yoyo@yoyo-vm:~/incubator-metron$ lsb_release -a
> No LSB modules are available.
> Distributor ID: Ubuntu
> Description: Ubuntu 16.04.1 LTS
> Release: 16.04
> Codename: xenial
>
> yoyo@yoyo-vm:~/incubator-metron$ uname -a
> Linux yoyo-vm 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC
> 2016 x86_64 x86_64 x86_64 GNU/Linux
>
>
>
> --
> Yohann L.
>



-- 
Nick Allen <n...@nickallen.org>

Reply via email to