• Save
Enterprise Maven Repository BOF
Upcoming SlideShare
Loading in...5
×
 

Enterprise Maven Repository BOF

on

  • 327 views

Red Hat Enterprise Application Platform 6 comes with Maven repository, meaning customers can now easily migrate from JBoss Application Server 7 to Red Hat JBoss Enterprise Application Platform 6. The ...

Red Hat Enterprise Application Platform 6 comes with Maven repository, meaning customers can now easily migrate from JBoss Application Server 7 to Red Hat JBoss Enterprise Application Platform 6. The Maven repository best practices can be used by many Maven-based projects and should be considered as they enable easy upgrades and migrations regardless of using Red Hat JBoss Enterprise Application Platform, Red Hat JBoss SOA Platform, or Red Hat JBoss Data Grid.

In this session, Max Rydahl Andersen will discuss these best practices and their benefits, as well as:

How the Maven repository came to be
What concerns the repository addresses
How a user can best utilize Maven repository

Statistics

Views

Total Views
327
Views on SlideShare
326
Embed Views
1

Actions

Likes
1
Downloads
0
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

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

Enterprise Maven Repository BOF Enterprise Maven Repository BOF Presentation Transcript

  • Enterprise Maven RepositoryBOFMax Rydahl Andersen & Pete MuirRed HatJune 14th 2013Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13 View slide
  • Saturday 15 June 13 View slide
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • PlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • org == comPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • org ~= comorg == comPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • org ~= com org != comorg == comPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • org ~= com org != comorg == comPath toProduct ?PlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • PlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • DocumentationGetting StartedExamplesBooksSupportMigrationsUpgradesTools/IDEBuildsPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareStandards/GuidelinesTrainingsSaturday 15 June 13
  • • Pervasive Build and Dependency Management Tool• Gives a common language to express projectstructure and which artifacts a project needs andwhich it produces• Perfect for examples, sharing, teams, continuosintegration, …MavenSaturday 15 June 13
  • What is a Maven RepositorySaturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)Saturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)• All with a unique GAV IDSaturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)• All with a unique GAV ID• Group org.richfaces.coreSaturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)• All with a unique GAV ID• Group org.richfaces.core• Artifact richfaces-api.jarSaturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)• All with a unique GAV ID• Group org.richfaces.core• Artifact richfaces-api.jar• Version 4.0.2Saturday 15 June 13
  • What is a Maven Repository• A directory of artifacts (jar, doc, source, zip,etc.)• All with a unique GAV ID• Group org.richfaces.core• Artifact richfaces-api.jar• Version 4.0.2• Metadata for dependencies between artifactsSaturday 15 June 13
  • How Maven Works...<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...MavenCentral~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...MavenCentral~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Saturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company XSaturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company XSaturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company Xrichfaces-api.jarSaturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company Xrichfaces-api.jarrichfaces-api.jarSaturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company Xrichfaces-api.jarrichfaces-api.jarrichfaces-api.jarSaturday 15 June 13
  • How Maven Works...MavenCentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0</version></dependency>pom.xml:Company Xrichfaces-api.jarWhich richfaces-api.jar ?richfaces-api.jarrichfaces-api.jarSaturday 15 June 13
  • richfaces-api.jarjsf-api.jarSaturday 15 June 13
  • hfaces-api.jarjsf-api.jarSaturday 15 June 13
  • BOM POM!<dependencyManagement><dependencies><dependency><groupId>org.jboss.spec</groupId><artifactId>jboss-javaee-6.0</artifactId><version>3.0.0.Final</version><type>pom</type><scope>import</scope></dependency></dependencies></dependencyManagement>Dependency Management:<dependencies><dependency><groupId>javax.enterprise</groupId><artifactId>cdi-api</artifactId></dependency><dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>4.0.1</version><scope>test</scope></dependency></dependencies>Dependencies:Saturday 15 June 13
  • Project Wolf!• Enterprise Maven Repository• Every jar, javadoc, source, etc.available with unique GAV• BOM POM for stacks• Across All JBoss EnterpriseMiddleware• EAP 6/WFK 2/JDG 6• .zip distribution• ...and...Saturday 15 June 13
  • http://maven.repository.redhat.com/Saturday 15 June 13
  • How to use ?• Add http://maven.repository.redhat.com/techpreview/all to~/.m2/settings.xml• enterprise=true on archetypes/JBoss Central• http://jboss.org/developerSaturday 15 June 13
  • How Enterprise MavenRepo Works<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo Works~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo Works~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven Central~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven Central~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarWhich richfaces-api.jar ?Saturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarWhich richfaces-api.jar ?richfaces-api.jarSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarWhich richfaces-api.jar ?richfaces-api.jarrichfaces-api.jarSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarWhich richfaces-api.jar ?richfaces-api.jarrichfaces-api.jarSaturday 15 June 13
  • How Enterprise MavenRepo WorksMaven CentralJBoss.org~/.m2/<dependency><groupId>org.richfaces.core</groupId><artifactId>richfaces-core-api</artifactId><version>4.0.0-redhat-1</version></dependency>pom.xml:maven.repository.jboss.comrichfaces-api.jarWhich richfaces-api.jar ?richfaces-api.jarrichfaces-api.jarCompany XSaturday 15 June 13
  • Project Wolf “Rules”1. Unique Group-Artifact-Version (GAV)2. Community version + -redhat-<id>• hibernate-validator-4.2.0.Final-redhat-1• richfaces-api-4.0.0.Final-redhat-33. BOM POM’s for the stack(s)Saturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • What is there today ?http://maven.repository.redhat.comQuickStarts/ArchetypesJBoss Developer FrameworkThe JBoss WayJBoss Developer StudioForgeArquillianOpenShiftSaturday 15 June 13
  • Saturday 15 June 13
  • PlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareSaturday 15 June 13
  • DocumentationGetting StartedExamplesBooksSupportMigrationsUpgradesTools/IDEBuildsPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareStandards/GuidelinesTrainingsSaturday 15 June 13
  • DocumentationGetting StartedExamplesBooksSupportMigrationsUpgradesTools/IDEBuildsPlatformCandidateReleaseQualityAssuranceJBossEnterpriseMiddlewareStandards/GuidelinesTrainingsSaturday 15 June 13
  • Saturday 15 June 13
  • Saturday 15 June 13
  • Girl-1Saturday 15 June 13
  • Girl-1 Girl-1-redhat-1Saturday 15 June 13
  • Girl-1Girl-1-redhat-1Saturday 15 June 13
  • Saturday 15 June 13
  • Assasin-4Assasin-4-redhat-3Saturday 15 June 13
  • Assasin-4Assasin-4-redhat-3Saturday 15 June 13
  • richfaces-api.jarjsf-api.jarSaturday 15 June 13
  • hfaces-api.jarjsf-api.jarBOM POMorg.jboss.spec.javaee6-3.0.0Saturday 15 June 13
  • Recommendations• Use BOM’s• Install/use a repository manager (Nexus,Artifactory, ...)• Enable source/javadoc for automatic download• burr@redhat.comSaturday 15 June 13
  • https://github.com/jbossas/quickstarthttps://github.com/jbossas/archetypeshttps://github.com/jboss-jdf/jboss-bomQuestions ?http://jboss.org/developerhttp://devstudio.jboss.comhttp://maven.repository.redhat.comSaturday 15 June 13