You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Rohit Yadav <ro...@shapeblue.com> on 2016/12/27 07:23:35 UTC

[DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

All,


Java7 has eol-ed, it's about time to move to Java8 for both codebase and runtime [1].


An experimental PR [2] shows that moving to Java8 is fairly straight forward. The only component that is failing is F5 network plugin, which lacks authors/maintainers as this issue has been previously raised on dev@ [3].


In order to move to JDK8, we'll need to take hard decisions to comment/exclude plugins such as F5 from the default build profiles that may not get fixes and improvements from their authors/maintainers. Thoughts, comments?


[1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710

<https://issues.apache.org/jira/browse/CLOUDSTACK-9710>

[2] https://github.com/apache/cloudstack/pull/1864

[3] http://markmail.org/message/ggx5ycoezyr2ywel


Regards.

rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Sudhansu,


Thanks for sharing the fix, looks like at least the build failure is fixed with your change.

I'll update the PR shortly, I think with your suggested fix we should be good to switch to jdk1.8.

I've also found and updated F5 dependency version to v12.1 library that is jdk1.8 compatible.


[1] https://github.com/rhtyd/cloudstack-nonoss/blob/master/install-non-oss.sh#L20


Regards.

________________________________
From: Sudhansu Sahu <su...@gmail.com>
Sent: 27 December 2016 19:20:18
To: dev@cloudstack.apache.org
Subject: Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

HI Rohit/ Wido,

After adding below dependency to f5/pom.xml the build is successful. Below
is the log for both FAILURE and successful BUILD.


Sudhansus-MAC:f5 sudhansu$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
Sudhansus-MAC:f5 sudhansu$ mvn -Pnoredist -DskipTests clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=500m; support was removed in 8.0
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - F5 4.9.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-server/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-server/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloudstack/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloudstack/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-core/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-core/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-utils/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-utils/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-managed-context/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-managed-context/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-maven-standard/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-maven-standard/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-config/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-config/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloudstack-framework/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloudstack-framework/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-db/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-db/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-rest/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-rest/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-ipc/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-ipc/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-security/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-security/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-cluster/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-cluster/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-jobs/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-jobs/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-events/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-events/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-schema/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-schema/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-components-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-components-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
cloud-plugin-network-f5 ---
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target
(includes = [**/*], excludes = [])
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (cloudstack-checkstyle) @
cloud-plugin-network-f5 ---
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @
cloud-plugin-network-f5 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
error: cannot access Stub
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 28.137s
[INFO] Finished at: Tue Dec 27 19:15:49 IST 2016
[INFO] Final Memory: 27M/338M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "noredist" could not be activated because
it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project cloud-plugin-network-f5: Compilation failure
[ERROR]
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
error: cannot access Stub
[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
Sudhansus-MAC:f5 sudhansu$ vi pom
Sudhansus-MAC:f5 sudhansu$ vi pom.xml
Sudhansus-MAC:f5 sudhansu$ vi pom.xml
Sudhansus-MAC:f5 sudhansu$ mvn -Pnoredist -DskipTests clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=500m; support was removed in 8.0
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - F5 4.9.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
cloud-plugin-network-f5 ---
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target
(includes = [**/*], excludes = [])
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (cloudstack-checkstyle) @
cloud-plugin-network-f5 ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @
cloud-plugin-network-f5 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @
cloud-plugin-network-f5 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
cloud-plugin-network-f5 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-plugin-network-f5
---
[INFO] Building jar:
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
cloud-plugin-network-f5 ---
[INFO] Installing
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
to
/Users/sudhansu/.m2/repository/org/apache/cloudstack/cloud-plugin-network-f5/4.9.2.0-SNAPSHOT/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
[INFO] Installing
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/pom.xml
to
/Users/sudhansu/.m2/repository/org/apache/cloudstack/cloud-plugin-network-f5/4.9.2.0-SNAPSHOT/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13.429s
[INFO] Finished at: Tue Dec 27 19:17:11 IST 2016
[INFO] Final Memory: 28M/390M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "noredist" could not be activated because
it does not exist.
Sudhansus-MAC:f5 sudhansu$ git diff
diff --git a/plugins/network-elements/f5/pom.xml
b/plugins/network-elements/f5/pom.xml
index 137c607..37e218b 100644
--- a/plugins/network-elements/f5/pom.xml
+++ b/plugins/network-elements/f5/pom.xml
@@ -27,6 +27,10 @@
     <relativePath>../../pom.xml</relativePath>
   </parent>
   <dependencies>
+<dependency>
+<groupId>org.apache.axis</groupId>
+<artifactId>axis-jaxrpc</artifactId>
+</dependency>
     <dependency>
       <groupId>com.cloud.com.f5</groupId>
       <artifactId>icontrol</artifactId>
Sudhansus-MAC:f5 sudhansu$

Thanks
Sudhansu


rohit.yadav@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 

On Tue, Dec 27, 2016 at 5:55 PM, Wido den Hollander <wi...@widodh.nl> wrote:

>
> > Op 27 december 2016 om 8:23 schreef Rohit Yadav <
> rohit.yadav@shapeblue.com>:
> >
> >
> > All,
> >
> >
> > Java7 has eol-ed, it's about time to move to Java8 for both codebase and
> runtime [1].
> >
> >
> > An experimental PR [2] shows that moving to Java8 is fairly straight
> forward. The only component that is failing is F5 network plugin, which
> lacks authors/maintainers as this issue has been previously raised on dev@
> [3].
> >
> >
> > In order to move to JDK8, we'll need to take hard decisions to
> comment/exclude plugins such as F5 from the default build profiles that may
> not get fixes and improvements from their authors/maintainers. Thoughts,
> comments?
> >
>
> I think that we should drop the F5 plugin then and move to Java 8. We
> can't stick on 7 for ever imho.
>
> Wido
>
> >
> > [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> >
> > <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
> >
> > [2] https://github.com/apache/cloudstack/pull/1864
> >
> > [3] http://markmail.org/message/ggx5ycoezyr2ywel
> >
> >
> > Regards.
> >
> > rohit.yadav@shapeblue.com
> > www.shapeblue.com<http://www.shapeblue.com>
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
>

Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Sudhansu Sahu <su...@gmail.com>.
HI Rohit/ Wido,

After adding below dependency to f5/pom.xml the build is successful. Below
is the log for both FAILURE and successful BUILD.


Sudhansus-MAC:f5 sudhansu$ java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
Sudhansus-MAC:f5 sudhansu$ mvn -Pnoredist -DskipTests clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=500m; support was removed in 8.0
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - F5 4.9.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-server/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-server/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloudstack/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloudstack/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-core/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-core/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-utils/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-utils/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-managed-context/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-managed-context/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-maven-standard/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-maven-standard/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-config/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-config/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloudstack-framework/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloudstack-framework/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-db/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-db/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-rest/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-rest/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-ipc/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-ipc/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-security/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-security/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-cluster/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-cluster/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-jobs/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-jobs/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-framework-events/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-framework-events/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-schema/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-schema/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/cloud-engine-components-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
Downloading:
http://juniper.github.io/contrail-maven/snapshots/org/apache/cloudstack/cloud-engine-components-api/4.9.2.0-SNAPSHOT/maven-metadata.xml
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
cloud-plugin-network-f5 ---
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target
(includes = [**/*], excludes = [])
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (cloudstack-checkstyle) @
cloud-plugin-network-f5 ---
Downloading:
http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.9.2.0-SNAPSHOT/maven-metadata.xml
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @
cloud-plugin-network-f5 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR]
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
error: cannot access Stub
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 28.137s
[INFO] Finished at: Tue Dec 27 19:15:49 IST 2016
[INFO] Final Memory: 27M/338M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "noredist" could not be activated because
it does not exist.
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.2:compile
(default-compile) on project cloud-plugin-network-f5: Compilation failure
[ERROR]
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
error: cannot access Stub
[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
Sudhansus-MAC:f5 sudhansu$ vi pom
Sudhansus-MAC:f5 sudhansu$ vi pom.xml
Sudhansus-MAC:f5 sudhansu$ vi pom.xml
Sudhansus-MAC:f5 sudhansu$ mvn -Pnoredist -DskipTests clean install
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=500m; support was removed in 8.0
Listening for transport dt_socket at address: 8787
[INFO] Scanning for projects...
[INFO]

[INFO]
------------------------------------------------------------------------
[INFO] Building Apache CloudStack Plugin - F5 4.9.2.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @
cloud-plugin-network-f5 ---
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target
(includes = [**/*], excludes = [])
[INFO] Deleting
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5
(includes = [target, dist], excludes = [])
[INFO]
[INFO] --- maven-checkstyle-plugin:2.17:check (cloudstack-checkstyle) @
cloud-plugin-network-f5 ---
[INFO] Starting audit...
Audit done.
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @
cloud-plugin-network-f5 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources)
@ cloud-plugin-network-f5 ---
[debug] execute contextualize
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/test/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @
cloud-plugin-network-f5 ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @
cloud-plugin-network-f5 ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.5:jar (default-jar) @ cloud-plugin-network-f5
---
[INFO] Building jar:
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
[INFO]
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @
cloud-plugin-network-f5 ---
[INFO]
[INFO] --- maven-install-plugin:2.3.1:install (default-install) @
cloud-plugin-network-f5 ---
[INFO] Installing
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/target/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
to
/Users/sudhansu/.m2/repository/org/apache/cloudstack/cloud-plugin-network-f5/4.9.2.0-SNAPSHOT/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.jar
[INFO] Installing
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/pom.xml
to
/Users/sudhansu/.m2/repository/org/apache/cloudstack/cloud-plugin-network-f5/4.9.2.0-SNAPSHOT/cloud-plugin-network-f5-4.9.2.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 13.429s
[INFO] Finished at: Tue Dec 27 19:17:11 IST 2016
[INFO] Final Memory: 28M/390M
[INFO]
------------------------------------------------------------------------
[WARNING] The requested profile "noredist" could not be activated because
it does not exist.
Sudhansus-MAC:f5 sudhansu$ git diff
diff --git a/plugins/network-elements/f5/pom.xml
b/plugins/network-elements/f5/pom.xml
index 137c607..37e218b 100644
--- a/plugins/network-elements/f5/pom.xml
+++ b/plugins/network-elements/f5/pom.xml
@@ -27,6 +27,10 @@
     <relativePath>../../pom.xml</relativePath>
   </parent>
   <dependencies>
+<dependency>
+<groupId>org.apache.axis</groupId>
+<artifactId>axis-jaxrpc</artifactId>
+</dependency>
     <dependency>
       <groupId>com.cloud.com.f5</groupId>
       <artifactId>icontrol</artifactId>
Sudhansus-MAC:f5 sudhansu$

Thanks
Sudhansu

On Tue, Dec 27, 2016 at 5:55 PM, Wido den Hollander <wi...@widodh.nl> wrote:

>
> > Op 27 december 2016 om 8:23 schreef Rohit Yadav <
> rohit.yadav@shapeblue.com>:
> >
> >
> > All,
> >
> >
> > Java7 has eol-ed, it's about time to move to Java8 for both codebase and
> runtime [1].
> >
> >
> > An experimental PR [2] shows that moving to Java8 is fairly straight
> forward. The only component that is failing is F5 network plugin, which
> lacks authors/maintainers as this issue has been previously raised on dev@
> [3].
> >
> >
> > In order to move to JDK8, we'll need to take hard decisions to
> comment/exclude plugins such as F5 from the default build profiles that may
> not get fixes and improvements from their authors/maintainers. Thoughts,
> comments?
> >
>
> I think that we should drop the F5 plugin then and move to Java 8. We
> can't stick on 7 for ever imho.
>
> Wido
>
> >
> > [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> >
> > <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
> >
> > [2] https://github.com/apache/cloudstack/pull/1864
> >
> > [3] http://markmail.org/message/ggx5ycoezyr2ywel
> >
> >
> > Regards.
> >
> > rohit.yadav@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
>

Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Wido den Hollander <wi...@widodh.nl>.
> Op 27 december 2016 om 8:23 schreef Rohit Yadav <ro...@shapeblue.com>:
> 
> 
> All,
> 
> 
> Java7 has eol-ed, it's about time to move to Java8 for both codebase and runtime [1].
> 
> 
> An experimental PR [2] shows that moving to Java8 is fairly straight forward. The only component that is failing is F5 network plugin, which lacks authors/maintainers as this issue has been previously raised on dev@ [3].
> 
> 
> In order to move to JDK8, we'll need to take hard decisions to comment/exclude plugins such as F5 from the default build profiles that may not get fixes and improvements from their authors/maintainers. Thoughts, comments?
> 

I think that we should drop the F5 plugin then and move to Java 8. We can't stick on 7 for ever imho.

Wido

> 
> [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> 
> <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
> 
> [2] https://github.com/apache/cloudstack/pull/1864
> 
> [3] http://markmail.org/message/ggx5ycoezyr2ywel
> 
> 
> Regards.
> 
> rohit.yadav@shapeblue.com 
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>   
>  
>

RE: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Paul Angus <pa...@shapeblue.com>.
I have no idea of the effort involved, so I'm going to pretend that it would be easy.....

It would be great if our plugin model for network functions could become more of a driver model, such that these things could be developed and maintained independantly of the ACS release cycles.

It would be a fantastic step toward a proper, flexible NFV offering.



Kind regards,

Paul Angus

paul.angus@shapeblue.com 
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK
@shapeblue
  
 


-----Original Message-----
From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com] 
Sent: 27 December 2016 07:24
To: dev@cloudstack.apache.org
Subject: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

All,


Java7 has eol-ed, it's about time to move to Java8 for both codebase and runtime [1].


An experimental PR [2] shows that moving to Java8 is fairly straight forward. The only component that is failing is F5 network plugin, which lacks authors/maintainers as this issue has been previously raised on dev@ [3].


In order to move to JDK8, we'll need to take hard decisions to comment/exclude plugins such as F5 from the default build profiles that may not get fixes and improvements from their authors/maintainers. Thoughts, comments?


[1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710

<https://issues.apache.org/jira/browse/CLOUDSTACK-9710>

[2] https://github.com/apache/cloudstack/pull/1864

[3] http://markmail.org/message/ggx5ycoezyr2ywel


Regards.

rohit.yadav@shapeblue.com
www.shapeblue.com
53 Chandos Place, Covent Garden, London  WC2N 4HSUK @shapeblue
  
 


Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Will Stevens <wi...@gmail.com>.
Haha. Rohit already did what I suggested. I am only just getting through my
emails. :)

On Dec 27, 2016 9:05 AM, "Will Stevens" <wi...@gmail.com> wrote:

> Maybe we should send an email to the dev and users lists with something
> like this:
> ---
> Dropping F5 Support
> The F5 plugin currently does not have any maintainers and it is holding us
> back from making an important move to Java 8. If you depend on this plugin,
> we recommend that you contact the dev@ list and either contribute to the
> plugin upgrade, or commission someone to do it for you.
> ---
> At least this way we can give people fair warning and give them a chance
> to get into the dev cycle or pay someone to work on this before it affects
> their business. Ideally people will learn about dropped plugins before they
> are released and they are not learning about it in the release notes. :)
>
>
> On Dec 27, 2016 3:19 AM, "Erik Weber" <te...@gmail.com> wrote:
>
>> I am +1 to removing code without maintainers, as long as it's not a core
>> feature.
>>
>> Erik
>>
>>
>> tir. 27. des. 2016 kl. 08.23 skrev Rohit Yadav <rohit.yadav@shapeblue.com
>> >:
>>
>> > All,
>> >
>> >
>> >
>> >
>> >
>> > Java7 has eol-ed, it's about time to move to Java8 for both codebase and
>> > runtime [1].
>> >
>> >
>> >
>> >
>> >
>> > An experimental PR [2] shows that moving to Java8 is fairly straight
>> > forward. The only component that is failing is F5 network plugin, which
>> > lacks authors/maintainers as this issue has been previously raised on
>> dev@
>> > [3].
>> >
>> >
>> >
>> >
>> >
>> > In order to move to JDK8, we'll need to take hard decisions to
>> > comment/exclude plugins such as F5 from the default build profiles that
>> may
>> > not get fixes and improvements from their authors/maintainers. Thoughts,
>> > comments?
>> >
>> >
>> >
>> >
>> >
>> > [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
>> >
>> >
>> >
>> > <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
>> >
>> >
>> >
>> > [2] https://github.com/apache/cloudstack/pull/1864
>> >
>> >
>> >
>> > [3] http://markmail.org/message/ggx5ycoezyr2ywel
>> >
>> >
>> >
>> >
>> >
>> > Regards.
>> >
>> >
>> >
>> > rohit.yadav@shapeblue.com
>> >
>> > www.shapeblue.com
>> >
>> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>> >
>> > @shapeblue
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>

Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Will Stevens <wi...@gmail.com>.
Maybe we should send an email to the dev and users lists with something
like this:
---
Dropping F5 Support
The F5 plugin currently does not have any maintainers and it is holding us
back from making an important move to Java 8. If you depend on this plugin,
we recommend that you contact the dev@ list and either contribute to the
plugin upgrade, or commission someone to do it for you.
---
At least this way we can give people fair warning and give them a chance to
get into the dev cycle or pay someone to work on this before it affects
their business. Ideally people will learn about dropped plugins before they
are released and they are not learning about it in the release notes. :)


On Dec 27, 2016 3:19 AM, "Erik Weber" <te...@gmail.com> wrote:

> I am +1 to removing code without maintainers, as long as it's not a core
> feature.
>
> Erik
>
>
> tir. 27. des. 2016 kl. 08.23 skrev Rohit Yadav <rohit.yadav@shapeblue.com
> >:
>
> > All,
> >
> >
> >
> >
> >
> > Java7 has eol-ed, it's about time to move to Java8 for both codebase and
> > runtime [1].
> >
> >
> >
> >
> >
> > An experimental PR [2] shows that moving to Java8 is fairly straight
> > forward. The only component that is failing is F5 network plugin, which
> > lacks authors/maintainers as this issue has been previously raised on
> dev@
> > [3].
> >
> >
> >
> >
> >
> > In order to move to JDK8, we'll need to take hard decisions to
> > comment/exclude plugins such as F5 from the default build profiles that
> may
> > not get fixes and improvements from their authors/maintainers. Thoughts,
> > comments?
> >
> >
> >
> >
> >
> > [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> >
> >
> >
> > <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
> >
> >
> >
> > [2] https://github.com/apache/cloudstack/pull/1864
> >
> >
> >
> > [3] http://markmail.org/message/ggx5ycoezyr2ywel
> >
> >
> >
> >
> >
> > Regards.
> >
> >
> >
> > rohit.yadav@shapeblue.com
> >
> > www.shapeblue.com
> >
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> >
> > @shapeblue
> >
> >
> >
> >
> >
> >
> >
> >
>

Re: [DISCUSS][FUTURE] Move to JDK1.8 and support JRE1.8

Posted by Erik Weber <te...@gmail.com>.
I am +1 to removing code without maintainers, as long as it's not a core
feature.

Erik


tir. 27. des. 2016 kl. 08.23 skrev Rohit Yadav <ro...@shapeblue.com>:

> All,
>
>
>
>
>
> Java7 has eol-ed, it's about time to move to Java8 for both codebase and
> runtime [1].
>
>
>
>
>
> An experimental PR [2] shows that moving to Java8 is fairly straight
> forward. The only component that is failing is F5 network plugin, which
> lacks authors/maintainers as this issue has been previously raised on dev@
> [3].
>
>
>
>
>
> In order to move to JDK8, we'll need to take hard decisions to
> comment/exclude plugins such as F5 from the default build profiles that may
> not get fixes and improvements from their authors/maintainers. Thoughts,
> comments?
>
>
>
>
>
> [1] https://issues.apache.org/jira/browse/CLOUDSTACK-9710
>
>
>
> <https://issues.apache.org/jira/browse/CLOUDSTACK-9710>
>
>
>
> [2] https://github.com/apache/cloudstack/pull/1864
>
>
>
> [3] http://markmail.org/message/ggx5ycoezyr2ywel
>
>
>
>
>
> Regards.
>
>
>
> rohit.yadav@shapeblue.com
>
> www.shapeblue.com
>
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
>
> @shapeblue
>
>
>
>
>
>
>
>