Re: Build failure - metron_mpack: Assembly is incorrectly configured

2016-10-13 Thread Yohann Lepage
2016-10-13 15:49 GMT+02:00 David Lyle :
> Also works for me, but I think your analysis is correct. Could you open up
> a bug jira for a fix?

Done: https://issues.apache.org/jira/browse/METRON-500


-- 
Yohann L.


Re: Build failure - metron_mpack: Assembly is incorrectly configured

2016-10-12 Thread Nick Allen
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 
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  wrote:

> Hi,
>
> In my environment, the build on current master fails because 
> 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]