My Experience with maven-antrun-plugin

I’ve been spending some time with maven so that files which matched a certain criteria were automatically moved in the project – OpenNTF SocialSDK.  The files only should be moved when the files don’t have -SNAPSHOT at the end of the version.

I started modifying some code that used maven-antrun-plugin, which bridges the maven-ant worlds.  I tried mixing complex conditional depends on and unless statements from Ant targets and Ant Tasks. Where the target “depends” on another target, you should be able to conditionally execute a target.  I wrote the code, however it never ran cleanly, always throwing an error.

I split the ant tasks and targets into a separate file, and the code now runs cleanly.  From the best practices I’ve read it’s better to pick one, and only use one Maven file or Ant file, I however couldn’t get it to read depends on targets.

I hope you find this ant-maven hack as helpful as I did.

 

The solution is found in the commit – added support for automatically moving the cdnjs files when a release.

Updated the API Explorer

If you have used the IBM Connections Cloud API Explorer, you notice the new Bootstrap based theme and consistent menu.  The API Explorer is still the same with new menus and top nav look and feel and a consistent Font. The default page is focused on the Explorer page.

I updated the Playground with a Bootstrap, changed some logic on the API Page, also the default page, and provided new names for the the Environments available for your testing. I cleared out all the old environment configurations, and you only have Cloud, Cloud – Test, and On Premises (Domino and Connections) options.   You are no longer able to create your own environment, these are the only four enabled, if you need to create one, please reach out to me directly.

IBMers, and those using SAML authentication with IBM Connections Cloud, you are not able to use the IBM Connections Cloud API Explorer, please reach out to me internally and we can get you access.

You’ll notice the theme matches the API Wiki and the Developer Blog.

IBM Connections Cloud API Explorer
IBM Connections Cloud API Explorer