Skip to main content

Posts Tagged ‘maven’

A Male Programmer Shows A Female Colleague A Coding Technique. The Codes Are Visible On The Laptop Screen

Part 2: Essential Spring Boot Concepts

Introduction: In the second installment of our Spring Boot blog series, we delve into the fundamental concepts that form the backbone of any Spring Boot application. From managing dependencies with Maven or Gradle to working with data using Spring Data and mastering the intricacies of RESTful web services, we leave no stone unturned. So, fasten […]

Shot Of An Attractive Young Businesswoman Texting While Standing Outside On The Office Balcony

Deployment of Spring Boot App on Amazon EKS Using GitHub, Jenkins, Maven, Docker, and Ansible

Deployment of Spring Boot App This is a common use case scenario that is used by several organizations. I hope this detailed blog is helpful to understand the CI/CD process. Let’s get started and dig deeper into each of these steps. Step 1 — Create an Ubuntu T3 Large Instance Select an existing key pair or […]

Istock 948997140 (1)

Nexus Implementation using Ant Build scripts

Nexus implementation using Ant Build scripts In general, we keep the required compile-time jars in the local file system to use at the time of build. To avoid local file system dependencies and inconsistencies, we can use central repositories. By integrating with repositories like Maven and Nexus, we can save the memory, and it is […]

Two Business Boys Maximize Ideas With Mind Helmet

Static Code Analysis With Open Source Tools For AEM Projects

Implementing static code analysis might seem like a daunting task. In some cases, this may be true depending on logistics, timing, and other factors. There is however a quick and easy way to implement it for AEM projects. Using open-source tools such as CheckStyle, SpotBugs, PMD, and JaCoCo you will pay nothing and reap all the […]

Why and What to Validate in a Maven POM xml File

Following are some of the ways you can validate a pom.xml file: Maven itself validates some basic things that it need to build your project Manually Review pom.xml for projects and modules against a checklist to make sure everything is correct. Automate using scripting language like Python, Jython. Buy why would someone perform an extra […]

Overview of Java Continuous Integration and Release Management

There are as many ways to versioning, building, continuous integration and release management as there are development shops, however there are some best practices and luckily these best practices also have tool support. First the players Versioning Handles the source code versions, also includes branching. Could be an old one like CVS or a newer […]

Using WPS style Resource Environment Providers with Spring

Lee Burch, one of our extremely talented architects, gave me a writeup on “Using WPS style Resource Environment Providers with Spring”  He wanted to know where to post something like this and of course, my first thought is this blog.  His justification for posting this is that while it’s a common use case in the […]

Maven and WebSphere Web Applications (Part 2)

The parent project of the multiple module web application uses the uses the <packaging>pom</packaging> tag and several <module> tags to indicate that it is controlling the build order of several artifacts. The control is provided through the reactor plugin. The file structure that I use is: /ear /ear/pom.xml /web /web/pom.xml .classpath .project pom.xml The ear […]

Maven and WebSphere Web Applications (Part 1)

Web Applications are WAR files that include java code and JSP files with a web.xml deployment descriptor that are intended to implement dynamic web functionality (as opposed to static web functionality which uses HTML files). A portal team typically uses this packaging technique for the following artifacts: Portal themes and skins web services iWidgets WebSphere […]

WebSphere Portal and Maven (Part 6)

You use a parent pom.xml file that each portlet project inherits from to encapsulate your dependencies and maven plugin bindings. This keeps all this code out of sight from your portlet project. This first code posting shows the plugin definition under a pluginManagement section. This section is used to create any dependencies used by the […]

WebSphere Portal and Maven (Part 5)

I recommend using a maven plugin to package your logic. The reason is that the ANT antcall and XSLT tasks require file inputs (and do not support URIs). When you package these file resources into a jar (as you do with a plugin) then you can extract them to the correct relative filesystem locations as […]

WebSphere Portal and Maven (Part 4)

So far you have a compiled portlet and an XSLT capable of producing an xmlaccess request input file based on your specific portlet.xml file. Next you create an ANT script that is capable of submitting your request to the portal server. The script presented below diverges to distinguish between local portlet deployments (when you are […]

Load More