Hi Swapnil,

Try adding you module under java8 profile like

    <profile>
      <id>java8</id>
      <activation>
        <jdk>[1.8,)</jdk>
      </activation>
      <modules>
        <module>beam-sdks-java-io-geode</module>
      </modules>
    </profile>

Thanks,
Manu


On Sat, Jul 15, 2017 at 6:42 AM Ted Yu <[email protected]> wrote:

> Recently on Spark and Flink mailing lists there have been discussion on
> dropping support for Java 7.
>
> For master branch, we should consider moving to Java 8 for compilation.
>
>
> On Fri, Jul 14, 2017 at 2:41 PM, Swapnil Bawaskar <[email protected]>
> wrote:
>
> > Hi,
> >
> > I am trying to write a write an I/O transform for Apache Geode, which is
> > compiled with java-8. When I try to compile what I have so far, I get the
> > following error:
> >
> > [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce) @
> > beam-sdks-java-io-geode ---
> > [INFO] Restricted to JDK 1.7 yet
> > org.apache.geode:geode-core:jar:1.1.1:compile contains
> > org/apache/geode/admin/AdminConfig$Entry.class targeted to JDK 1.8
> > [INFO] Restricted to JDK 1.7 yet
> > org.apache.geode:geode-json:jar:1.1.1:compile contains org/json/CDL.class
> > targeted to JDK 1.8
> > [INFO] Restricted to JDK 1.7 yet
> > org.apache.geode:geode-common:jar:1.1.1:compile contains
> > org/apache/geode/annotations/Experimental.class targeted to JDK 1.8
> > [WARNING] Rule 0:
> org.apache.maven.plugins.enforcer.EnforceBytecodeVersion
> > failed with message:
> > Found Banned Dependency: org.apache.geode:geode-core:jar:1.1.1
> >
> > Are there any plans to move to java-8 for compiling?
> >
> > Thanks!
> > Swapnil.
> >
>

Reply via email to