I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite
Tag: Maven
A Handy Reference of Maven Parameters
I cannot count the times I have looked up the following through Google. Thus I decided to put together a few handy parameters (or properties or whatever is the correct term) for Maven builds. All the below are given with the goal install but they can safely be used with any other Maven goal as … Continue reading A Handy Reference of Maven Parameters
Generate md5 Hash for Maven
Maven creates and checks MD5 checksums at various times. For instance, when downloading an artifact from a repository, Maven checks whether the checksum of the downloaded files (e.g. POM, JAR) is correct. I am uploading Maven artifacts manually to a very simple, file-based repository. This requires me to calculate the Maven checksum for artifacts manually. What sounds … Continue reading Generate md5 Hash for Maven
Setting Up Xtend with Maven and eclipse (Luna)
Xtend is currently my favourite alternative language for the JVM (closely followed by Kotlin). Unfortunately, I did not find a good guide of how to set up a Maven project within eclipse (Luna) which uses Xtend. Specifically the following guide will allow you to allow you to write test cases in Xtend for your existing … Continue reading Setting Up Xtend with Maven and eclipse (Luna)
Force Android Studio to Update Maven Snapshot Dependencies
Problem You are using Gradle to build your Android Studio project and you have linked Maven SNAPSHOT modules. When you build your project, Gradle/Android Studio does not grab the latest version of the SNAPSHOT module but instead uses a cached version. Solution Add the following to your build.gradle: configurations.all { resolutionStrategy { cacheChangingModulesFor 0, 'seconds' … Continue reading Force Android Studio to Update Maven Snapshot Dependencies
Setting Up eclipse Luna with Maven for Android
As of August 2014, don't even try this. Officially, the Google Eclipse plugin supports Eclipse 4.4 (Luna) at present. However, in order to be able to create projects which are both Maven projects and Android projects you will need to install the m2e-android plugin. This currently does not support eclipse Luna. Probably, if you create … Continue reading Setting Up eclipse Luna with Maven for Android
Deploy Maven Project with Netbeans
Problem You would like to deploy a Java Maven project you are developing using the Netbeans IDE to your Maven repository. Solution Right click on your project in the Netbeans 'Projects' view and select the Custom / Goals … in the drop down menu as shown below. Type 'deploy' in the field 'Goals' in the … Continue reading Deploy Maven Project with Netbeans
Jenkins StackOverflow Exception during JUnit Test
Problem The build of a Maven job in Jenkins fails due to a StackOverflowException or a OutOfMemoryException during a JUnit test. Analysis Most likely, there is a bug in your application, which leads to infinite recursion or an infinite allocation in resources. So first try to run your test in a different environment (for instance in eclipse, … Continue reading Jenkins StackOverflow Exception during JUnit Test