You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/09 22:46:23 UTC

[Myfaces Wiki] Update of "Using MyFaces in a Project built with Maven" by SimonKitching

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/myfaces/Using_MyFaces_in_a_Project_built_with_Maven

The comment on the change is:
Remove incorrect info, make minor updates

------------------------------------------------------------------------------
    </dependencies>
  }}}
  
+ ===  Using SNAPSHOT versions ===
-  * Add !MyFaces' Staging Repository
-  * '''Note:''' This is ''only'' necessary for releases later than 1.1.4 which were never synced to ibiblio, http://www.ibiblio.org/maven2 or directly http://www.ibiblio.org/maven2/myfaces/.
- {{{
-   <repositories>
-     <repository>
-          <releases>
-            <enabled>true</enabled>
-          </releases>
-          <snapshots>
-            <enabled>false</enabled>
-          </snapshots>
-          <id>myfaces.staging</id>
-          <name>MyFaces Staging Repository</name>
-          <url>http://myfaces.zones.apache.org/dist/maven-repository</url>
-     </repository>
-   </repositories>
- }}}
  
- === If you want to use SNAPSHOT versions, add the following repository. ===
-  * Add Apache's Maven Snapshot Repository
+ If you want to use SNAPSHOT versions of !MyFaces code, ie the bleeding edge that is not yet an official release, then add the following repository to your project's pom or your settings.xml file.
+ 
  {{{
      <repository>
           <releases>
@@ -58, +42 @@

      </repository>
  }}}
  
- This is one of many ways to add !MyFaces to a Maven based project.
- 
  === Some useful Maven commands ===
   * {{{mvn -Declipse.downloadSources=true eclipse:eclipse}}} will setup the eclipse project files and download the source the dependencies.
   * {{{mvn war:inplace}}} will copy dependencies into WEB-INF/lib and copy resources into WEB-INF/classes