Github user nickwallen commented on the issue:

    https://github.com/apache/metron/pull/774
  
    I checkout your PR and then attempt to do an install and the build fails.
    ```
    $ mvn clean install
    [INFO] Scanning for projects...
    Downloading: 
https://repo.maven.apache.org/maven2/org/apache/metron/bundles-maven-plugin/0.4.2/bundles-maven-plugin-0.4.2.pom
    [WARNING] The POM for org.apache.metron:bundles-maven-plugin:jar:0.4.2 is 
missing, no dependency information available
    Downloading: 
https://repo.maven.apache.org/maven2/org/apache/metron/bundles-maven-plugin/0.4.2/bundles-maven-plugin-0.4.2.jar
    [ERROR] [ERROR] Some problems were encountered while processing the POMs:
    [ERROR] Unresolveable build extension: Plugin 
org.apache.metron:bundles-maven-plugin:0.4.2 or one of its dependencies could 
not be resolved: Could not find artifact 
org.apache.metron:bundles-maven-plugin:jar:0.4.2 in central 
(https://repo.maven.apache.org/maven2) @
     @
    [ERROR] The build could not read 1 project -> [Help 1]
    [ERROR]
    [ERROR]   The project org.apache.metron:bundles-testing:0.4.2 
(/Users/nallen/tmp/metron-pr774/bundles-testing/pom.xml) has 1 error
    [ERROR]     Unresolveable build extension: Plugin 
org.apache.metron:bundles-maven-plugin:0.4.2 or one of its dependencies could 
not be resolved: Could not find artifact 
org.apache.metron:bundles-maven-plugin:jar:0.4.2 in central 
(https://repo.maven.apache.org/maven2) -> [Help 2]
    [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/ProjectBuildingException
    [ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
    ```
    
    I noticed that you changed the .travis build instructions so that you have 
to manually go into the `bundles-maven-plugin` project and install that first.  
    ```
    $ git diff origin/master -- .travis.yml
    diff --git a/.travis.yml b/.travis.yml
    index f5edfb27..8023830a 100644
    --- a/.travis.yml
    +++ b/.travis.yml
    @@ -33,6 +33,7 @@ before_install:
       - npm config set prefix $HOME/.npm-prefix --global
    
     install:
    +  - cd bundles-maven-plugin && mvn -q install && cd ..
       - time mvn -q -T 2C -DskipTests clean install
    
     script:
    ```
    
    Ideally we need to be able to just build Metron by running an install from 
the root directory.  Is there no way around this?  What troubles did you run 
into that caused you to have to do this?


---

Reply via email to