Maven and Gradle plugins removed from cf-java-client


Steven Swor
 

Hi guys,

I've found several references online to a maven plugin for cloudfoundry (including artifacts in Maven Central), but I noticed the source code is no longer available. Between versions 2.3.0.RELEASE and 2.4.0.RELEASE, both the Maven and Gradle plugins appear to have been deleted from the repository. This was done in https://github.com/cloudfoundry/cf-java-client/commit/e5e6ec3df657434a923c24c72c57a4c3ed1fc78d, but the commit message doesn't mention why it was done, and there's no mention of it in the release notes for version 2.4.0.RELEASE and I can't find any discussion on this mailing list either.

Are these plugins now maintained somewhere else?


Ben Hale <bhale@...>
 

Steven,

The Maven and Gradle plugins were based on the 1.x line of the CF Java Client, and haven't been implemented against the 2.x line of the Java Client. The commit where you see removal is simply the removal of stub projects that never had implementations, not the removal of active code. At the moment, we haven't prioritized adding the plugins back, because we view the CF CLI as the proper way move built artifacts into CF as part of CI/CD pipelines. If you'd like register interest in plugins, this[1] GitHub issue would be the appropriate place.

Any attempt to implement the plugins on the 2.x line will undoubtedly be much more simple than the 1.x plugins ever were, focusing only on moving built artifacts into CF, and explicitly not doing anything more complex than that. Trying to replicate that entire CF CLI as a Maven or Gradle plugin was problematic in the past implementations and we've learned the lesson from that.


-Ben Hale
Cloud Foundry Java Experience


[1]: https://github.com/cloudfoundry/cf-java-client/issues/735

On May 24, 2017, at 17:31, Steven Swor <sworisbreathing(a)gmail.com> wrote:

Hi guys,

I've found several references online to a maven plugin for cloudfoundry (including artifacts in Maven Central), but I noticed the source code is no longer available. Between versions 2.3.0.RELEASE and 2.4.0.RELEASE, both the Maven and Gradle plugins appear to have been deleted from the repository. This was done in https://github.com/cloudfoundry/cf-java-client/commit/e5e6ec3df657434a923c24c72c57a4c3ed1fc78d, but the commit message doesn't mention why it was done, and there's no mention of it in the release notes for version 2.4.0.RELEASE and I can't find any discussion on this mailing list either.

Are these plugins now maintained somewhere else?