78
Carlos Sanchez March 26, 2009 Eclipse IAM, Maven integration for Eclipse

Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

  • Upload
    others

  • View
    47

  • Download
    0

Embed Size (px)

Citation preview

Page 2: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

About me

During the daySr. Solutions Architect at G2iX

At nightMember of Apache Maven PMC

IAM project co-lead at Eclipse Foundation

Page 3: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven in the IDE

Q4E[Q for Eclipse]

code.google.com/p/q4e

Page 4: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven in the IDE

Eclipse IAM[Eclipse Integration for

Apache Maven]www.eclipse.org/iam

Page 5: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 6: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Goals

Page 7: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Simplicity

Page 8: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Simplicity

Page 9: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Simplicity

Page 10: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Simplicity

Page 11: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Integration

Page 12: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Integration

JDT

Page 13: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Integration

JDT

Page 14: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

And allow Integration

Page 15: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

And allow Integration

Page 16: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

And allow Integration

Page 17: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

And allow Integration

yours?

Page 18: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 19: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Features

Page 20: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Importing Maven projects

direct import of Maven 2 projects

Page 21: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Importing Maven projects

direct import of Maven 2 projects

Page 22: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

New project from Archetype

wizard for creation of new projects using the archetype mechanism

Page 23: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Checkout project

checkout and import from SVN

Page 24: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Running Maven goals

easy access to common goals

Page 25: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Running Maven goals

launch configurations

Page 26: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Running Maven goals

Profile management

Page 27: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven Builder

Automatically execute Maven goals as part of Eclipse build

Configurable list of goals to exclude from auto builds

Page 28: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven Builder

Page 29: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Form based editor

Bidirectional synchronization

Preserves XML formatting

Page 30: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Form based editor

Page 31: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Form based editor

Page 32: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Form based editor

Page 33: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Form based editor

Page 34: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Page 35: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

Page 36: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

POM editor

XML editor

Page 37: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Settings Editor

From Eclipse properties

Page 38: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Search in central repository

Page 39: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Page 40: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Search in

Page 41: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Search in

Nexus repository manager

Page 42: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Search in

Nexus repository manager

Apache Archiva repository manager

Page 43: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Search in

Nexus repository manager

Apache Archiva repository manager

Local repository

Page 44: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency search

Extension points to plug other providers

Page 45: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Project dependencies are hard to keep on track

Page 46: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Project dependencies are hard to keep on track

Page 47: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

dependency management using

the POM

Page 48: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

automatic download of dependencies

and sources!

Page 49: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Integrates with

Page 50: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Integrates with JDT

Page 51: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Integrates with JDTWTP

Page 52: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Dependency management

Integrates with

provides transitive dependencies

JDTWTP

Page 53: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

dependency graphing

Page 54: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

dependency analysis

Page 55: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Features

modular approach to improve reusability by other Eclipse projects

ability to import parent projects (pom projects) ‏

ability to cancel Maven builds

Page 56: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven Plugin development

plugins can be resolved from the

workspace

you can create and debug Maven MOJOs

Page 57: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Integration with Buckminster

automating build, assemble & deploy

integration with Maven through IAM

Page 58: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

High activity

10 committers7 active

Page 59: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 60: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Known issues

Page 61: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven Version

Page 62: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven 2.1

Maven Version

Page 63: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven 2.1

now called Maven 3.0

Maven Version

Page 64: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 65: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Alternatives

Page 66: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Maven Eclipse Plugin

mvn eclipse:eclipse

command linelimited functionality

Page 67: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

m2eclipse

historically different

merging to same set of functionality

Page 68: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 69: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Work in progress

Page 70: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 71: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Performance

Page 72: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

PerformancePerformancePerformancePerformancePerformancePerformancePerformance

Page 73: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 74: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Roadmap

Page 75: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Roadmap

Integration with other pluginsScala, Candy for Appfuse, SpringIDE,...

UI tooling to work around Mavenlimitations

Page 76: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions
Page 77: Eclipse IAM, Maven integration for Eclipsearchive.apachecon.com/c/aceu2009/sessions/materials... · Eclipse IAM, Maven integration for Eclipse. About me During the day Sr. Solutions

Thanksca

rlos@

apac

he.o

rghttp://www.carlossanchez.eu