SlideShare une entreprise Scribd logo
1  sur  38
Stefan Scheidt Solution Architect OPITZ CONSULTING GmbH Maven 3 New Features
Wer bin ich? Software-Entwickler und Architekt Trainer und Coach Autor und Sprecher
Wer ist OPITZ CONSULTING? Last Minute: Offizieller OC 1 Seiter Von Tom Ihr Projektspezialist für Java, SOA und Oracle
Wer sind Sie?
Über diesen Vortrag...
Was ist Maven? Ein deklarativesBuild-System Convention overConfiguration Wiederverwendung durch Plugins Dependency Management Ein Tool für technisches Projekt-Reporting ein „Software Project Management Tool“
Was ist Maven? Ein Open-Source-Projekt bei Apache Ziel: Vereinheitlichen von Build, Verteilung, Projekt-Webseite Zweck: Don‘trepeatyourself! Siehe auch http://maven.apache.org/what-is-maven.html
Release-Historie 	 		1.0 Beta		2003 		 	1.0			2004 / Juli 		 	2.0 Alpha		2005 / April 		 	2.0 Beta		2005 / September 		 	2.0			2005 / Oktober 		 	3.0 Alpha		2009 / Februar 		 	3.0 Beta 		2010 / April 			3.0			2010 / Oktober Quelle: http://archive.apache.org/dist/maven/binaries/
Primäre Ziele für Maven 3.0 Refactoring der Code Base Interne Modularisierung
Modularisierung Quelle: http://maven.apache.org/ref/3.0/
Primäres Anliegen BackwardCompatibility Dafür viele Integrationstests Siehehttps://grid.sonatype.org/ci/view/Maven/job/maven-3.0.x-ITs/
Compatibility Notes https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html No moreprofiles.xml Support forprofilesoutside of the POM orthesettings.xml has beenremoved Advise: moveaffectedprofilesintosettings.xml (Hint: mvn--settingssome/settings/file.xml)
Compatibility Notes Stricter POM Validation More Errors MoreWarnings Explanationsbased on Exceptions Links to MavenWiki https://cwiki.apache.org/confluence/display/MAVEN/Errors+and+Solutions
Compatibility Notes Dependency Resolution fromLocalRepository buildscanonlyaccesslocallycachedartifacts iftheyhavethe proper repositoriesconfigured (Maven 3 keepstrack of artifactorigin)
Einschub: Aether A libraryforinteractingwith artifactrepositories Local / RemoteRepositories Workspaces Transport Artifact Resolution
Einschub: Maven benutzt Aether
Einschub: Aether – Ziele „Wewant to ensurethatprojectsbuilding with SBT, Leinigen, Gradle, Buildr, Ant, or a homegrownsysteminteroperate reliablywithMavenrepositories.“ Jason van Zyl, Aetherquestionsansweredfor JAX
Compatibility Notes ClassPathIssues Maven 3 usingAether canresult in different classpaths Warning: mvndependency:tree still useslegacyresolutioncode! (Hint: usemvn--debug)
Compatibility Notes PluginRepositories Buildextensions, plugins and plugindependenciesareonlyresolvedfrom<pluginRepositories> (and no longerfrom<repositories>)
Compatibility Notes Plugin Version Resolution automaticpluginversionresolution isscheduledfor removal Till then: latestreleaseversionisused, notlatestsnapshotversion
Compatibility Notes SnapshotDeployments snapshotartifacts will alwaysbedeployed using a timestampedversion (<uniqueVersion>false</uniqueVersion> has no effect)
Compatibility Notes Site Generation All reportingrelatedcode has beenremovedfromMavencore ThereforeonemustuseMaven Site Plugin 3.x Siehe https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
Compatibility Notes Configuration of reportingplugins pluginconfiguration in <reporting> no longeraffectsplugins in <build> (whenexecuting a pluginduringbuildlifecycleorfromcli, onlyconfigurationfrom<build>isconsidered)
PluginCompatibility PluginCompatibility Matrix https://cwiki.apache.org/MAVEN/maven-3x-plugin-compatibility-matrix.html Reporting PluginsCompatibility Matrix https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
Maven Shell http://shell.sonatype.org/ https://docs.sonatype.org/display/MVNSH/Home CLI forMaven standalone Java process keepsPOMs in memoryforfasterbuilds replacesmaven-cli-plugin
Performance
Performance: Parallel builds https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3 Experimental Feature since 3.0 Beta 1 mvn -T 4 clean install    # Buildswith 4 threads
   mvn -T 1C clean install   # 1 thread per cpucore
   mvn -T 1.5C clean install # 1.5 thread per core „20-50% speedimprovementisquitecommon“ Depends on distribution of tests
Maven 3 und IDEs Major Java IDEs allreadyinclude (someversion of) Maven 3 Eclipse via m2eclipse, IntelliJ, NetBeans Still no supportby Oracle JDeveloper
Maven 3 und CI-Systeme Hudson No supportforMaven 3 yet, voteforhttp://issues.hudson-ci.org/browse/HUDSON-4988 WorkAround: Free Style Projects Shell Command: export M2_HOME=/path/to/apache-maven-3.0-beta-3 export M2=$M2_HOME/bin export PATH=$M2:$PATH 		cd someproject mvn clean install
Maven 3 und CI-Systeme Teamcity No Support in Teamcity 5 Support announcedfor Teamcity 6
Maven 3 und Sonar Sonar 2.2 supportsMaven 3 Butyouneed to use sonar-maven3-plugin:2.2 (mvn org.codehaus.sonar:sonar-maven3-plugin:2.2:sonar) Siehe http://www.sonatype.com/people/2010/08/maven-3-and-sonar/
PolyglotMaven http://polyglot.sonatype.org/
Ausblicke m2eclipse will move to eclipse.org Release of m2eclipse 1.0 „soon“ Release of mvnsh „fairlysoon“ newphase of work on PolyglotMaven OSGiruntime in futurerelease
Ausblicke: Maven 3.1 POM format 4.1 Global excludes Versionlessparentelements Mixins New settingssystem New Plugin API
Ausblicke - Quellen http://java.profict.nl/presentaties/maven.pdf http://www.sonatype.com/people/↵⌫2010/10/maven-3-0-has-landed/ http://www.infoq.com/news/2010/10/↵⌫maven-30-released Siehe auch https://sonatype.webex.com/sonatype/lsr.php?↵⌫ AT=pb&SP=EC&rID=46805542&rKey=3f773d348b2df17b
Fazit „Weseethis as a newbeginningforMaven“ Jason van Zyl
Fragen und Antworten
Kontakt Stefan Scheidt Solution Architect OPITZ CONSULTING GmbHKirchstr. 6, 51647 GummersbachTel. +49 (2261) 6001 - 0stefan.scheidt@opitz-consulting.com

Contenu connexe

Tendances

Tomcat Maven Plugin
Tomcat Maven PluginTomcat Maven Plugin
Tomcat Maven PluginOlivier Lamy
 
Capistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient wayCapistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient waySylvain Rayé
 
Magento 2 Capistrano Deploy
Magento 2 Capistrano DeployMagento 2 Capistrano Deploy
Magento 2 Capistrano DeployDuke Dao
 
Apache Maven and Java 9 and 10 (Devoxx France 2018)
Apache Maven and Java 9 and 10 (Devoxx France 2018)Apache Maven and Java 9 and 10 (Devoxx France 2018)
Apache Maven and Java 9 and 10 (Devoxx France 2018)Robert Scholte
 
"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii ShumadaFwdays
 
"How to deploy to production 10 times a day" Андрей Шумада
"How to deploy to production 10 times a day" Андрей Шумада"How to deploy to production 10 times a day" Андрей Шумада
"How to deploy to production 10 times a day" Андрей ШумадаFwdays
 
Weblogic.deployer usage
Weblogic.deployer usageWeblogic.deployer usage
Weblogic.deployer usageBunty Ray
 
Session on Launching Selenium Grid and Running tests using docker compose and...
Session on Launching Selenium Grid and Running tests using docker compose and...Session on Launching Selenium Grid and Running tests using docker compose and...
Session on Launching Selenium Grid and Running tests using docker compose and...Agile Testing Alliance
 
Keeping up with Java made easy with Apache Maven (Devoxx 2018)
Keeping up with Java made easy with Apache Maven (Devoxx 2018)Keeping up with Java made easy with Apache Maven (Devoxx 2018)
Keeping up with Java made easy with Apache Maven (Devoxx 2018)Robert Scholte
 
PHP on Google App Engine
PHP on Google App EnginePHP on Google App Engine
PHP on Google App Enginetim4h0blyn
 
Glassfish Web Stack Launch Jyri Virkki V2
Glassfish Web Stack Launch Jyri Virkki V2Glassfish Web Stack Launch Jyri Virkki V2
Glassfish Web Stack Launch Jyri Virkki V2Eduardo Pelegri-Llopart
 
Session on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh GundechaSession on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh GundechaAgile Testing Alliance
 
Wonderful World of Maven
Wonderful World of MavenWonderful World of Maven
Wonderful World of MavenJustin J. Moses
 
Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools
 

Tendances (20)

CodeShip
CodeShipCodeShip
CodeShip
 
Tomcat Maven Plugin
Tomcat Maven PluginTomcat Maven Plugin
Tomcat Maven Plugin
 
Capistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient wayCapistrano deploy Magento project in an efficient way
Capistrano deploy Magento project in an efficient way
 
Magento 2 Capistrano Deploy
Magento 2 Capistrano DeployMagento 2 Capistrano Deploy
Magento 2 Capistrano Deploy
 
Frappe framework
Frappe framework Frappe framework
Frappe framework
 
Spring competitive tests
Spring competitive testsSpring competitive tests
Spring competitive tests
 
Unit 5
Unit 5Unit 5
Unit 5
 
Apache Maven and Java 9 and 10 (Devoxx France 2018)
Apache Maven and Java 9 and 10 (Devoxx France 2018)Apache Maven and Java 9 and 10 (Devoxx France 2018)
Apache Maven and Java 9 and 10 (Devoxx France 2018)
 
"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada"13 ways to run web applications on the Internet" Andrii Shumada
"13 ways to run web applications on the Internet" Andrii Shumada
 
Phalcon
PhalconPhalcon
Phalcon
 
"How to deploy to production 10 times a day" Андрей Шумада
"How to deploy to production 10 times a day" Андрей Шумада"How to deploy to production 10 times a day" Андрей Шумада
"How to deploy to production 10 times a day" Андрей Шумада
 
Weblogic.deployer usage
Weblogic.deployer usageWeblogic.deployer usage
Weblogic.deployer usage
 
Session on Launching Selenium Grid and Running tests using docker compose and...
Session on Launching Selenium Grid and Running tests using docker compose and...Session on Launching Selenium Grid and Running tests using docker compose and...
Session on Launching Selenium Grid and Running tests using docker compose and...
 
Keeping up with Java made easy with Apache Maven (Devoxx 2018)
Keeping up with Java made easy with Apache Maven (Devoxx 2018)Keeping up with Java made easy with Apache Maven (Devoxx 2018)
Keeping up with Java made easy with Apache Maven (Devoxx 2018)
 
PHP on Google App Engine
PHP on Google App EnginePHP on Google App Engine
PHP on Google App Engine
 
Glassfish Web Stack Launch Jyri Virkki V2
Glassfish Web Stack Launch Jyri Virkki V2Glassfish Web Stack Launch Jyri Virkki V2
Glassfish Web Stack Launch Jyri Virkki V2
 
Session on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh GundechaSession on Selenium Powertools by Unmesh Gundecha
Session on Selenium Powertools by Unmesh Gundecha
 
Wonderful World of Maven
Wonderful World of MavenWonderful World of Maven
Wonderful World of Maven
 
Selenium Demo
Selenium DemoSelenium Demo
Selenium Demo
 
Joomlatools Platform v2.0
Joomlatools Platform v2.0Joomlatools Platform v2.0
Joomlatools Platform v2.0
 

En vedette

Fax ip pbx (eternity)
Fax ip pbx (eternity)Fax ip pbx (eternity)
Fax ip pbx (eternity)nonchai
 
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN ekonomistak
 
Working With Cyber Team
Working With Cyber TeamWorking With Cyber Team
Working With Cyber Teamcbeck
 
CMAT 240 Welcome Presentation
CMAT 240 Welcome PresentationCMAT 240 Welcome Presentation
CMAT 240 Welcome PresentationJennifer Cox
 
Cambio y evolución del sistema de partidos en euskadi (2003 2011)
Cambio y evolución del sistema de partidos en euskadi (2003 2011)Cambio y evolución del sistema de partidos en euskadi (2003 2011)
Cambio y evolución del sistema de partidos en euskadi (2003 2011)Mikel Gomez
 
Adriela Josabet Torres Tapia/3H/Proyecto de vida
Adriela Josabet Torres Tapia/3H/Proyecto de vidaAdriela Josabet Torres Tapia/3H/Proyecto de vida
Adriela Josabet Torres Tapia/3H/Proyecto de vidaadrielatorres031096
 
Gramatica practica del_espanol
Gramatica practica del_espanolGramatica practica del_espanol
Gramatica practica del_espanolStudent
 
8 - Sprachen Des Semantic Web - OWL
8 - Sprachen Des Semantic Web - OWL8 - Sprachen Des Semantic Web - OWL
8 - Sprachen Des Semantic Web - OWLSteffen Schloenvoigt
 
Mobile Display: How to Make Money Off of Such a Tiny Screen
Mobile Display: How to Make Money Off of Such a Tiny ScreenMobile Display: How to Make Money Off of Such a Tiny Screen
Mobile Display: How to Make Money Off of Such a Tiny ScreenAffiliate Summit
 
Play uk ps4 reveal special (issue 229, 2013)
Play uk   ps4 reveal special (issue 229, 2013)Play uk   ps4 reveal special (issue 229, 2013)
Play uk ps4 reveal special (issue 229, 2013)Karl Bell
 

En vedette (20)

CV
CVCV
CV
 
Fax ip pbx (eternity)
Fax ip pbx (eternity)Fax ip pbx (eternity)
Fax ip pbx (eternity)
 
Demanda medica síndrome forense de sócrates 2013
Demanda medica síndrome forense de sócrates 2013Demanda medica síndrome forense de sócrates 2013
Demanda medica síndrome forense de sócrates 2013
 
India now volume1_issue1
India now volume1_issue1India now volume1_issue1
India now volume1_issue1
 
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN
Conferencia REDES Y APOYOS A PROYECTOS DE INTERNACIONALIZACIÓN
 
Working With Cyber Team
Working With Cyber TeamWorking With Cyber Team
Working With Cyber Team
 
Monsters high (1)
Monsters high (1)Monsters high (1)
Monsters high (1)
 
Tema 2
Tema 2Tema 2
Tema 2
 
Zoom 505ii guitar
Zoom 505ii guitarZoom 505ii guitar
Zoom 505ii guitar
 
Antropologicas nº-2
Antropologicas nº-2Antropologicas nº-2
Antropologicas nº-2
 
Spi 2012
Spi 2012Spi 2012
Spi 2012
 
CMAT 240 Welcome Presentation
CMAT 240 Welcome PresentationCMAT 240 Welcome Presentation
CMAT 240 Welcome Presentation
 
Cambio y evolución del sistema de partidos en euskadi (2003 2011)
Cambio y evolución del sistema de partidos en euskadi (2003 2011)Cambio y evolución del sistema de partidos en euskadi (2003 2011)
Cambio y evolución del sistema de partidos en euskadi (2003 2011)
 
Servicios Informáticos EUROCEI
Servicios Informáticos EUROCEIServicios Informáticos EUROCEI
Servicios Informáticos EUROCEI
 
Adriela Josabet Torres Tapia/3H/Proyecto de vida
Adriela Josabet Torres Tapia/3H/Proyecto de vidaAdriela Josabet Torres Tapia/3H/Proyecto de vida
Adriela Josabet Torres Tapia/3H/Proyecto de vida
 
Gramatica practica del_espanol
Gramatica practica del_espanolGramatica practica del_espanol
Gramatica practica del_espanol
 
8 - Sprachen Des Semantic Web - OWL
8 - Sprachen Des Semantic Web - OWL8 - Sprachen Des Semantic Web - OWL
8 - Sprachen Des Semantic Web - OWL
 
Mobile Display: How to Make Money Off of Such a Tiny Screen
Mobile Display: How to Make Money Off of Such a Tiny ScreenMobile Display: How to Make Money Off of Such a Tiny Screen
Mobile Display: How to Make Money Off of Such a Tiny Screen
 
Play uk ps4 reveal special (issue 229, 2013)
Play uk   ps4 reveal special (issue 229, 2013)Play uk   ps4 reveal special (issue 229, 2013)
Play uk ps4 reveal special (issue 229, 2013)
 
JobDax 2006
JobDax 2006JobDax 2006
JobDax 2006
 

Similaire à Maven 3 New Features Guide

Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtOPITZ CONSULTING Deutschland
 
All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$Joe Ferguson
 
Jdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent ProjectsJdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent ProjectsMert Çalışkan
 
Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolelliando dias
 
An Introduction to Maven
An Introduction to MavenAn Introduction to Maven
An Introduction to MavenVadym Lotar
 
Team Development & Continuous Integration on the Salesforce Platform
Team Development & Continuous Integration on the Salesforce PlatformTeam Development & Continuous Integration on the Salesforce Platform
Team Development & Continuous Integration on the Salesforce PlatformCarlos Ramirez Martinez-Eiroa
 
Maven 2 features
Maven 2 featuresMaven 2 features
Maven 2 featuresAngel Ruiz
 
maven
mavenmaven
mavenakd11
 
20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache MavenArnaud Héritier
 
Maven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternsMaven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternselliando dias
 
Apache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationApache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationArnaud Héritier
 
Presentation 1 open source tools in continuous integration environment v1.0
Presentation 1   open source tools in continuous integration environment v1.0Presentation 1   open source tools in continuous integration environment v1.0
Presentation 1 open source tools in continuous integration environment v1.0Jasmine Conseil
 
Jbossworld Presentation
Jbossworld PresentationJbossworld Presentation
Jbossworld PresentationDan Hinojosa
 
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...Paul Withers
 

Similaire à Maven 3 New Features Guide (20)

Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan ScheidtMaven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
Maven 3: New Features - OPITZ CONSULTING - Stefan Scheidt
 
Maven 3.0 at Øredev
Maven 3.0 at ØredevMaven 3.0 at Øredev
Maven 3.0 at Øredev
 
All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$All the Laravel things: up and running to making $$
All the Laravel things: up and running to making $$
 
Jdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent ProjectsJdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent Projects
 
Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension tool
 
Maven
MavenMaven
Maven
 
An Introduction to Maven
An Introduction to MavenAn Introduction to Maven
An Introduction to Maven
 
Maven Introduction
Maven IntroductionMaven Introduction
Maven Introduction
 
Introduction to Maven
Introduction to MavenIntroduction to Maven
Introduction to Maven
 
Team Development & Continuous Integration on the Salesforce Platform
Team Development & Continuous Integration on the Salesforce PlatformTeam Development & Continuous Integration on the Salesforce Platform
Team Development & Continuous Integration on the Salesforce Platform
 
Maven 2 features
Maven 2 featuresMaven 2 features
Maven 2 features
 
Maven Overview
Maven OverviewMaven Overview
Maven Overview
 
maven
mavenmaven
maven
 
20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven20091112 - Mars Jug - Apache Maven
20091112 - Mars Jug - Apache Maven
 
Maven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternsMaven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patterns
 
Exploring Maven SVN GIT
Exploring Maven SVN GITExploring Maven SVN GIT
Exploring Maven SVN GIT
 
Apache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentationApache Maven - eXo VN office presentation
Apache Maven - eXo VN office presentation
 
Presentation 1 open source tools in continuous integration environment v1.0
Presentation 1   open source tools in continuous integration environment v1.0Presentation 1   open source tools in continuous integration environment v1.0
Presentation 1 open source tools in continuous integration environment v1.0
 
Jbossworld Presentation
Jbossworld PresentationJbossworld Presentation
Jbossworld Presentation
 
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
IBM ConnectED 2015 - BP106 From XPages Hero To OSGi Guru: Taking The Scary Ou...
 

Plus de Stefan Scheidt

Understanding the Four Rules of Simple Design
Understanding the Four Rules of Simple DesignUnderstanding the Four Rules of Simple Design
Understanding the Four Rules of Simple DesignStefan Scheidt
 
iOS Einstieg und Ausblick
iOS Einstieg und AusblickiOS Einstieg und Ausblick
iOS Einstieg und AusblickStefan Scheidt
 
iOS: Einstieg und Ausblick
iOS: Einstieg und AusblickiOS: Einstieg und Ausblick
iOS: Einstieg und AusblickStefan Scheidt
 
Java script data binding mit jQuery Mobile
Java script data binding mit jQuery MobileJava script data binding mit jQuery Mobile
Java script data binding mit jQuery MobileStefan Scheidt
 
Test driven java script development
Test driven java script developmentTest driven java script development
Test driven java script developmentStefan Scheidt
 
Fruehling fuers iPhone
Fruehling fuers iPhoneFruehling fuers iPhone
Fruehling fuers iPhoneStefan Scheidt
 
Automatischer Build mit Maven
Automatischer Build mit MavenAutomatischer Build mit Maven
Automatischer Build mit MavenStefan Scheidt
 
ipdc10: Spring Backends für iOS Apps
ipdc10: Spring Backends für iOS Appsipdc10: Spring Backends für iOS Apps
ipdc10: Spring Backends für iOS AppsStefan Scheidt
 
WJAX 2010: Spring Backends für iOS Apps
WJAX 2010: Spring Backends für iOS AppsWJAX 2010: Spring Backends für iOS Apps
WJAX 2010: Spring Backends für iOS AppsStefan Scheidt
 

Plus de Stefan Scheidt (10)

Kotlin DSLs
Kotlin DSLsKotlin DSLs
Kotlin DSLs
 
Understanding the Four Rules of Simple Design
Understanding the Four Rules of Simple DesignUnderstanding the Four Rules of Simple Design
Understanding the Four Rules of Simple Design
 
iOS Einstieg und Ausblick
iOS Einstieg und AusblickiOS Einstieg und Ausblick
iOS Einstieg und Ausblick
 
iOS: Einstieg und Ausblick
iOS: Einstieg und AusblickiOS: Einstieg und Ausblick
iOS: Einstieg und Ausblick
 
Java script data binding mit jQuery Mobile
Java script data binding mit jQuery MobileJava script data binding mit jQuery Mobile
Java script data binding mit jQuery Mobile
 
Test driven java script development
Test driven java script developmentTest driven java script development
Test driven java script development
 
Fruehling fuers iPhone
Fruehling fuers iPhoneFruehling fuers iPhone
Fruehling fuers iPhone
 
Automatischer Build mit Maven
Automatischer Build mit MavenAutomatischer Build mit Maven
Automatischer Build mit Maven
 
ipdc10: Spring Backends für iOS Apps
ipdc10: Spring Backends für iOS Appsipdc10: Spring Backends für iOS Apps
ipdc10: Spring Backends für iOS Apps
 
WJAX 2010: Spring Backends für iOS Apps
WJAX 2010: Spring Backends für iOS AppsWJAX 2010: Spring Backends für iOS Apps
WJAX 2010: Spring Backends für iOS Apps
 

Dernier

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Maven 3 New Features Guide

  • 1. Stefan Scheidt Solution Architect OPITZ CONSULTING GmbH Maven 3 New Features
  • 2. Wer bin ich? Software-Entwickler und Architekt Trainer und Coach Autor und Sprecher
  • 3. Wer ist OPITZ CONSULTING? Last Minute: Offizieller OC 1 Seiter Von Tom Ihr Projektspezialist für Java, SOA und Oracle
  • 6. Was ist Maven? Ein deklarativesBuild-System Convention overConfiguration Wiederverwendung durch Plugins Dependency Management Ein Tool für technisches Projekt-Reporting ein „Software Project Management Tool“
  • 7. Was ist Maven? Ein Open-Source-Projekt bei Apache Ziel: Vereinheitlichen von Build, Verteilung, Projekt-Webseite Zweck: Don‘trepeatyourself! Siehe auch http://maven.apache.org/what-is-maven.html
  • 8. Release-Historie 1.0 Beta 2003 1.0 2004 / Juli 2.0 Alpha 2005 / April 2.0 Beta 2005 / September 2.0 2005 / Oktober 3.0 Alpha 2009 / Februar 3.0 Beta 2010 / April 3.0 2010 / Oktober Quelle: http://archive.apache.org/dist/maven/binaries/
  • 9. Primäre Ziele für Maven 3.0 Refactoring der Code Base Interne Modularisierung
  • 11. Primäres Anliegen BackwardCompatibility Dafür viele Integrationstests Siehehttps://grid.sonatype.org/ci/view/Maven/job/maven-3.0.x-ITs/
  • 12. Compatibility Notes https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html No moreprofiles.xml Support forprofilesoutside of the POM orthesettings.xml has beenremoved Advise: moveaffectedprofilesintosettings.xml (Hint: mvn--settingssome/settings/file.xml)
  • 13. Compatibility Notes Stricter POM Validation More Errors MoreWarnings Explanationsbased on Exceptions Links to MavenWiki https://cwiki.apache.org/confluence/display/MAVEN/Errors+and+Solutions
  • 14. Compatibility Notes Dependency Resolution fromLocalRepository buildscanonlyaccesslocallycachedartifacts iftheyhavethe proper repositoriesconfigured (Maven 3 keepstrack of artifactorigin)
  • 15. Einschub: Aether A libraryforinteractingwith artifactrepositories Local / RemoteRepositories Workspaces Transport Artifact Resolution
  • 17. Einschub: Aether – Ziele „Wewant to ensurethatprojectsbuilding with SBT, Leinigen, Gradle, Buildr, Ant, or a homegrownsysteminteroperate reliablywithMavenrepositories.“ Jason van Zyl, Aetherquestionsansweredfor JAX
  • 18. Compatibility Notes ClassPathIssues Maven 3 usingAether canresult in different classpaths Warning: mvndependency:tree still useslegacyresolutioncode! (Hint: usemvn--debug)
  • 19. Compatibility Notes PluginRepositories Buildextensions, plugins and plugindependenciesareonlyresolvedfrom<pluginRepositories> (and no longerfrom<repositories>)
  • 20. Compatibility Notes Plugin Version Resolution automaticpluginversionresolution isscheduledfor removal Till then: latestreleaseversionisused, notlatestsnapshotversion
  • 21. Compatibility Notes SnapshotDeployments snapshotartifacts will alwaysbedeployed using a timestampedversion (<uniqueVersion>false</uniqueVersion> has no effect)
  • 22. Compatibility Notes Site Generation All reportingrelatedcode has beenremovedfromMavencore ThereforeonemustuseMaven Site Plugin 3.x Siehe https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
  • 23. Compatibility Notes Configuration of reportingplugins pluginconfiguration in <reporting> no longeraffectsplugins in <build> (whenexecuting a pluginduringbuildlifecycleorfromcli, onlyconfigurationfrom<build>isconsidered)
  • 24. PluginCompatibility PluginCompatibility Matrix https://cwiki.apache.org/MAVEN/maven-3x-plugin-compatibility-matrix.html Reporting PluginsCompatibility Matrix https://cwiki.apache.org/MAVEN/maven-3x-and-site-plugin.html
  • 25. Maven Shell http://shell.sonatype.org/ https://docs.sonatype.org/display/MVNSH/Home CLI forMaven standalone Java process keepsPOMs in memoryforfasterbuilds replacesmaven-cli-plugin
  • 27. Performance: Parallel builds https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3 Experimental Feature since 3.0 Beta 1 mvn -T 4 clean install # Buildswith 4 threads
 mvn -T 1C clean install # 1 thread per cpucore
 mvn -T 1.5C clean install # 1.5 thread per core „20-50% speedimprovementisquitecommon“ Depends on distribution of tests
  • 28. Maven 3 und IDEs Major Java IDEs allreadyinclude (someversion of) Maven 3 Eclipse via m2eclipse, IntelliJ, NetBeans Still no supportby Oracle JDeveloper
  • 29. Maven 3 und CI-Systeme Hudson No supportforMaven 3 yet, voteforhttp://issues.hudson-ci.org/browse/HUDSON-4988 WorkAround: Free Style Projects Shell Command: export M2_HOME=/path/to/apache-maven-3.0-beta-3 export M2=$M2_HOME/bin export PATH=$M2:$PATH cd someproject mvn clean install
  • 30. Maven 3 und CI-Systeme Teamcity No Support in Teamcity 5 Support announcedfor Teamcity 6
  • 31. Maven 3 und Sonar Sonar 2.2 supportsMaven 3 Butyouneed to use sonar-maven3-plugin:2.2 (mvn org.codehaus.sonar:sonar-maven3-plugin:2.2:sonar) Siehe http://www.sonatype.com/people/2010/08/maven-3-and-sonar/
  • 33. Ausblicke m2eclipse will move to eclipse.org Release of m2eclipse 1.0 „soon“ Release of mvnsh „fairlysoon“ newphase of work on PolyglotMaven OSGiruntime in futurerelease
  • 34. Ausblicke: Maven 3.1 POM format 4.1 Global excludes Versionlessparentelements Mixins New settingssystem New Plugin API
  • 35. Ausblicke - Quellen http://java.profict.nl/presentaties/maven.pdf http://www.sonatype.com/people/↵⌫2010/10/maven-3-0-has-landed/ http://www.infoq.com/news/2010/10/↵⌫maven-30-released Siehe auch https://sonatype.webex.com/sonatype/lsr.php?↵⌫ AT=pb&SP=EC&rID=46805542&rKey=3f773d348b2df17b
  • 36. Fazit „Weseethis as a newbeginningforMaven“ Jason van Zyl
  • 38. Kontakt Stefan Scheidt Solution Architect OPITZ CONSULTING GmbHKirchstr. 6, 51647 GummersbachTel. +49 (2261) 6001 - 0stefan.scheidt@opitz-consulting.com