Maven IIB9 Plug-in Version 9.0

Slides:



Advertisements
Similar presentations
Apache Maven: J2EE Front to Back Jesse McConnell -
Advertisements

Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Introduction to Maven Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to the Java Stack.
Functional Testing with the Java Stack Test Runner
Developing CAS in Eclipse
Java Build Tool Comparison HJUG - April 29th, 2009 John Tyler.
Maven: Build and project management in the 21th century.
Packaging of EPICS-basedControl System Software
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Open source administration software for education research administration Lin-Long Shyu System Analyst Kuali Coeus Technical Team Indiana University
Maven and Stack Starter Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
AUTOBUILD Build and Deployment Automation Solution.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
Using the ALM Module Fully Automated Deployments in Stack 3.2.
INFSOM-RI Juelich, 10 June 2008 ETICS - Maven From competition, to collaboration.
Using the ALM Module Michael Youngstrom. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in lab Please ask questions.
Setting Up RMC for Catalyst March 19, Pre-requisites If getting Catalyst Admin support for installing RMS, register at IBM first and get a user.
Database Change Management One solution to an often complex problem Kevin Hurwitz Headspring Systems
Distributed Java Programming Distributed Java Programming Setting up a Java Development Environment.
1 Creating an RTC Hot Fix September 18, Steps for creating a hot fix Find the work item where the defect is resolved. Check for existing hot fixes.
Ant & Jar Ant – Java-based build tool Jar – pkzip archive, that contains metadata (a manifest file) that the JRE understands.
Creating ontology Hands on! universAAL Training Day Barcelona, Spain 16 January 2014
Artifact Management Managing Maven and other artifacts in Perforce.
Maven for building Java applications By Nalin De Zoysa
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Software Deployment & Release 26/03/2015 1EN-ICE.
8/29/10 Maven Repository Management with Nexus Jim McMahon.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
CS520 Web Programming Introduction to Maven Chengyu Sun California State University, Los Angeles.
1 Ivan Marsic Rutgers University LECTURE 2: Software Configuration Management.
Robin R. Macfarlane CEO, RRMac Associates 2015 RRMac Associates, LLC.
Managing User Desktops with Group Policy
Source Code Control For CSE 3902 By: Matt Boggus.
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Open-O Integration Project Introduction
with Some Eclipse Tricks included Safa Bacanlı Fall 16
Product Training Program
Maven 04 March
CS520 Web Programming Introduction to Maven
Build Automation with Gradle
Business Directory REST API
What are they? The Package Repository Client is a set of Tcl scripts that are capable of locating, downloading, and installing packages for both Tcl and.
Plan What is Maven ? Links : mvn command line tool
Bhavana Sudharshan Jaydeep Patel
LECTURE 2: Software Configuration Management
NAnt Build Tool CSE784 : ProjectCentralNet Prof : Dr. Jim Fawcett
Open-O CLI One Command to command whole Open-O v1.0
Automatic RElease Service
Test Driven Development
Concurrent Version Control
Advanced Integration and Deployment Techniques
Chengyu Sun California State University, Los Angeles
LECTURE 3: Software Configuration Management
Maven IIB9 Plug-in Version 9.0
With Some Eclipse Tricks included.
Mark Dönszelmann Stanford Linear Accelerator Center
Setting up an Eclipse project from a repository on GitHub
ESIS Consulting LLC (C) ESIS Consulting LLC. All rights reserved
RegRipper Harlan Carvey.
Rodrigo Silva SharePoint / Office 365 Developer & Technical Architect
Devops Jenkins as CI/CD tool Created By: Amrit Choudhary
Turning in Assignments
JENKINS TIPS Ideas for making your life with Jenkins easier
Escidoc build and development environment
Building LabKey with Gradle
Microsoft 365 Business Technical Fundamentals Series
Presentation transcript:

Maven IIB9 Plug-in Version 9.0 Features Customized for IBM IIB9 workspaces Improves significantly on older SBB IIB plug-in “Mavenizes” IIB9 Workspaces easily Manages complete IIB-BAR build lifecycle Offers a solution for versioning and utilization of common libraries across projects Self-documents with plug-in’s ‘morehelp’ goal 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Maven IIB9 Plug-in Versions Features Comparison Open Source Features vs. eMI Project Upgrade v. 2.3 v. 9.0 Unpacking of Dependencies into workspace ☑ Bar File Packaging ‘Compiled’ Bar File Packaging (via mqsicreate) ☐ Multiple Bar Override Support Automated Bar Deployment Integration Test Support Documentation Available Project Mavenization Artifact Deployment to Maven Distribution Repository 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Maven IIB9 Plug-in’s BAR lifecycle Offers a complete IIB-BAR build lifecycle analogous to Maven’s JAR, WAR, or EAR lifecycles. Supports project setup, bar creation, packaging, bar overrides, deployment to broker(s), integration testing and release/snapshop deployment to a Maven Repository Lifecycle Goal Descriptions follow 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle - initialize Performs cleanup of any additional files not deleted in the maven “clean” goal Example: 3rd Party Jars in the project’s root may require deletion 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle – generate-resources Copies ‘compile’ jar dependencies into project Brings common libraries into workspace Small Team Project(s) Complete IIB9 Workspace + = Program Level Common Libraries 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle – process-resources Validates the workspace (each project name = each directory name) Ignores .metadata directories Validated IIB9 Workspace 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@yahoo.com

BAR lifecycle – compile Creates a broker archive using mqsicreatebar and/or mqsipackagebar Saves the broker file in target directory using traditional maven naming convention C4_HDRVistaInterface-6.0-SNAPSHOT.jar IIB9 Workspace 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@yahoo.com

BAR lifecycle – test-compile Compiles any Integration Tests from src/test/java directory to target/test-classes/ directory. Project’s src/test/java directory Project’s target/test-classes/ directory 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle – process-classes Applies bar overrides using properties files found in resources folders. C4_HDRVistaInterface-6.0-SNAPSHOT.jar 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle – pre-integration-test Deploys a Bar to a Configured IIB9 Broker using the mqsideploy command. Integration Test Environment 1 (IIB9 Broker) IntTestEnv1.broker mqsideploy command 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

BAR lifecycle – integration-test Executes integration tests against the just-deployed bar on targeted broker. Executes tests with *IT.java, *ITCase.java, or IT*.java pattern Integration Test Environment 1 (IIB9 Broker) Compiled Integration Tests 1) Executes tests Project’s fail-safe reports directory 2) writes results to 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com BAR lifecycle – verify Evaluates integration test results. fails build if failures found Integration Tests Results 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com BAR lifecycle – deploy Deploys a Bar to a Maven Repository. Deploys without Bar Overrides Maven Repository Project’s Target Directory C4_HDRVistaInterface-6.0-SNAPSHOT.jar 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Maven IIB9 Plugin’s ZIP lifecycle The ZIP lifecycle is a simple but powerful custom lifecycle that deploys versioned, zipped common libraries (source) to a Maven Repository Enables the retrieval of common source libraries into multiple projects without having to pull from Source Control Management systems. Treats dependent common library source just like compiled 3rd Party jars. 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com

Checked out into a workspace directory Normal IIB9 Workspace SCM Server (Subversion) Local Workspace Ind. Projects Emi Common Emi Common Java IIB9 Projects are normally Checked out into a workspace directory Vie Common Vie Common Java HDR HDR Vista Interface ESR, VTS, ….

‘Mavenized’ IIB9 Workspace SCM Server (Subversion) Local Workspace Parent Pom.xml Ind. Projects Pom.xml Emi Common Pom.xml Emi Common Java IIB9 Maven Plugin ‘Mavenize’ Goal Pom.xml Vie Common The IIB9 Maven Plugin’s ‘mavenize’ goal can point at a workspace and add an appropriate pom.xml file to each project Pom.xml Vie Common Java Pom.xml HDR Pom.xml HDR Vista Interface Pom.xml ESR, VTS, ….

Uploading Common Libraries Maven Repository SCM Server (Subversion) Local Workspace Parent Pom.xml Ind. Projects Pom.xml Emi Common Pom.xml Emi Common Java IIB9 Maven Plugin’s Parent Pom.xml ‘Deploy’ goal Pom.xml Vie Common Pom.xml Vie Common Java Optional: The common libraries can be zipped up and uploaded to Maven repository for later use Pom.xml HDR Pom.xml HDR Vista Interface Pom.xml ESR, VTS, ….

Checking out Team Projects SCM Server (Subversion) Local Workspace Individual Team IIB9 Projects are Checked out into a workspace directory in a standard fashion. Note that we have not yet checked out common libraries into the workspace. Individual Team Projects Pom.xml HDR Pom.xml HDR Vista Interface Pom.xml ESR, VTS, ….

Integration of common libraries Maven Repository SCM Server (Subversion) Local Workspace Ind. Projects Pom.xml Emi Common Pom.xml Emi Common Java Pom.xml Vie Common Pom.xml Vie Common Java Optional: We can pull and unzip versioned common libraries into workspace from a Maven repository while pulling projects directly from SCM Pom.xml HDR Pom.xml HDR Vista Interface Pom.xml ESR, VTS, ….

Checking Out All Projects SCM Server (Subversion) Maven Repository Local Workspace Ind. Projects X Pom.xml Emi Common X Pom.xml Emi Common Java X Pom.xml Vie Common X Pom.xml Vie Common Java You Decide: The common libraries are not pulled from the Maven Repository when the ‘unpack Iib Dependencies Into Workspace’ configuration is set to false Pom.xml HDR Pom.xml HDR Vista Interface Pom.xml ESR, VTS, ….

Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com That’s it for Now Thank you for your attention! Questions? Contact Information: Brett Shelley, brett.shelley@vadosity.com, (717) 585-3726 2/19/2019 Maven IIB9 Plug-In,Brett Shelley, brett.shelley@vadosity.com