You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by sjcorbett <gi...@git.apache.org> on 2017/01/19 12:33:40 UTC

[GitHub] brooklyn-server issue #520: Limit parallelism of start/stop steps on Softwar...

Github user sjcorbett commented on the issue:

    https://github.com/apache/brooklyn-server/pull/520
  
    Compilation fails for me with the following error:
    ```
    [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:testCompile (default-testCompile) on project brooklyn-software-base: Compilation failure: Compilation failure:
    [ERROR] /Users/sam/code/brooklyn.io/brooklyn/brooklyn-server/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessEntityLatchTest.java:[135,17] reference to configure is ambiguous
    [ERROR] both method <V>configure(org.apache.brooklyn.config.ConfigKey<V>,V) in org.apache.brooklyn.api.internal.AbstractBrooklynObjectSpec and method <V>configure(org.apache.brooklyn.config.ConfigKey<V>,org.apache.brooklyn.api.mgmt.Task<? extends V>) in org.apache.brooklyn.api.internal.AbstractBrooklynObjectSpec match
    [ERROR] /Users/sam/code/brooklyn.io/brooklyn/brooklyn-server/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessEntityLatchTest.java:[134,58] incompatible types: org.apache.brooklyn.api.entity.Entity cannot be converted to org.apache.brooklyn.entity.software.base.SoftwareProcessEntityTest.MyService
    [ERROR] /Users/sam/code/brooklyn.io/brooklyn/brooklyn-server/software/base/src/test/java/org/apache/brooklyn/entity/software/base/SoftwareProcessEntityLatchTest.java:[169,25] reference to configure is ambiguous
    [ERROR] both method <V>configure(org.apache.brooklyn.config.ConfigKey<V>,V) in org.apache.brooklyn.api.internal.AbstractBrooklynObjectSpec and method <V>configure(org.apache.brooklyn.config.ConfigKey<V>,org.apache.brooklyn.api.mgmt.Task<? extends V>) in org.apache.brooklyn.api.internal.AbstractBrooklynObjectSpec match
    ```
    Maven is building with Java 8:
    ```
    $ mvn -v
    Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)
    Maven home: /opt/apache-maven
    Java version: 1.8.0_05, vendor: Oracle Corporation
    Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_05.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"
    ```
    For what it's worth IntelliJ doesn't like line 135 either.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---