Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006

on

  • 592 views

Part 2 of an overview of the Maven build system

Part 2 of an overview of the Maven build system

Statistics

Views

Total Views
592
Views on SlideShare
592
Embed Views
0

Actions

Likes
0
Downloads
7
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution-ShareAlike LicenseCC Attribution-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Maven Overview Part 2 Denver BEA User's Group and Denver Java User's Group January 2006 Presentation Transcript

  • 1. Maven Overview Part II Denver BEA User ’ s Group January 2006 Scott Ryan Soaring Eagle L.L.C
  • 2. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 3. Maven 2.0 lifecycle Summary
      • 20 total phases
        • validate
        • compile
        • test
        • package
        • integration-test
        • verify
        • install
        • deploy
    Soaring Eagle L.L.C
  • 4. Maven 2.0 lifecycle
      • Lifecycle phases are executed in order
      • Goals are assigned to phases based on project type (jar)
        • Compile - compiler:compile
        • Package - jar:jar
      • Phases have dependencies and previous phases are always executed.
      • Plugin goals can tie to lifecycle phases
    Soaring Eagle L.L.C
  • 5. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 6. Plug-in Packaging Soaring Eagle L.L.C
  • 7. Required Resources
      • Java Plug-ins
        • Pom.xml
        • Java Code
      • Ant Plug-ins
        • Pom.xml
        • basename.build.xml
        • basename.mojos.xml
    Soaring Eagle L.L.C
  • 8. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 9. Hello World Soaring Eagle L.L.C
  • 10. Hello with Parameters Soaring Eagle L.L.C
  • 11. Pom.xml Soaring Eagle L.L.C
  • 12. Using the plug-in Soaring Eagle L.L.C
  • 13. Configuring Parameters Soaring Eagle L.L.C
  • 14. Configuring Complex Parameter types
      • Boolean
      • Dates
      • URL ’ s
      • Lists
      • Maps
      • Properties
    Soaring Eagle L.L.C
  • 15. List example Soaring Eagle L.L.C
  • 16. Let ’s look at the Weblogic Plug-in Soaring Eagle L.L.C
  • 17. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Pom configuration
    Soaring Eagle L.L.C
  • 18. Build.xml Soaring Eagle L.L.C
  • 19. Mojos.xml Soaring Eagle L.L.C
  • 20. Using the Ant mojo in a project Soaring Eagle L.L.C
  • 21. Adding Parameters basename.build.xml Soaring Eagle L.L.C
  • 22. Adding Parameters basename.mojos.xml Soaring Eagle L.L.C
  • 23. Soaring Eagle L.L.C
  • 24. Project configuration Soaring Eagle L.L.C
  • 25. Soaring Eagle L.L.C
  • 26. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Real Code
    Soaring Eagle L.L.C
  • 27. Packaging
      • Handled by plug-in support
      • mvn plugin:install
      • Can support multiple versions
      • settings.xml or pom.xml determine version strategies
      • Plug-in registry allows you to control plug-in versions
    Soaring Eagle L.L.C
  • 28. Soaring Eagle L.L.C
  • 29. Agenda
      • Maven Lifecycle
      • Plugin project layout
      • Java Plugin Example
      • Ant Plugin Example
      • Plugin packaging
      • Real Code
    Soaring Eagle L.L.C