cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: How to solve Maven 2 problems
Date Tue, 30 Jan 2007 04:40:25 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1164.html

Document ID: 1164
Branch: main
Language: default
Name: How to solve Maven 2 problems (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 1/20/07 12:55:06 PM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 2974 bytes (previous version: 2786 bytes)
Content diff:
(7 equal lines skipped)
    revision number of you working copy of Cocoon and the complete error report
    (e.g. <tt>mvn install -X -e</tt>).</p>
    
+++ <h2>Cleanup your local repository</h2>
+++ 
+++ <p>It helps to zap your local repo every now and then. There is no way as of yet
+++ to force maven to redownload poms it has already (MNG-1258).
+++ Poms<strong> are</strong> being updated without version number increment
even
+++ though they shouldn't. If the problem might exist with Cocoon artifacts only,
+++ removing [local-maven-repository]/org/apache/cocooon should be enough.</p>
+++ 
+++ <p>Maven repository usually is located in the folder:</p>
+++ 
+++ <pre>[Win]  C:\Documents and Settings\&lt;Your Login Name&gt;\.m2\repository
+++ [Unix] ~/.m2/repository
+++ </pre>
+++ 
+++ <p>or different locations can be configured in <tt>~/.m2/settings.xml.</tt></p>
+++ 
+++ <h2>Remove a configured Mirror</h2>
+++ 
+++ <p>If you're using a mirror (see the section below where to look for the
+++ configuration) try removing it. The Maven central repository at
+++ http://repo1.maven.org is the most reliable one and should be fast enough in the
+++ meantime.</p>
+++ 
    <h2>Configure a mirror</h2>
    
    <p>Maven relys on public repositories. From time to time they are not accessible
--- mostly because of heavy load. To solve this problem, use one of the mirrors:</p>
+++ mostly because of heavy load. To solve this problem, use one of the mirrors in
+++ <tt>~/.m2/settings.xml</tt>:</p>
    
    <pre>&lt;settings&gt;
      &lt;mirrors&gt;
(12 equal lines skipped)
      &lt;/mirrors&gt;
    &lt;/settings&gt;</pre>
    
--- <p>In any way, the mirrors are much faster than the official IBiblio central
--- repository. For more information check the page on
+++ <p>For more information check the page on
    <a href="http://maven.apache.org/guides/mini/guide-mirror-settings.html">configuring
    mirrors</a>.</p>
    
--- <h2>Remove Configured Mirror</h2>
+++ <pre> </pre>
    
--- <p>Sometimes the repository mirror you picked can be out-of-date and do not
--- contain a file required to build Cocoon. If this happens, try removing
--- repository mirror configuration, or try using another mirror.</p>
--- 
--- <h2>Cleanup your local repository</h2>
--- 
--- <p>It helps to zap your local repo every now and then. There is no way as of yet
--- to force maven to redownload poms it has already (MNG-1258).
--- Poms<strong> are</strong> being updated without version number increment
even
--- though they shouldn't.</p>
--- 
--- <p>Maven repository usually is located in the folder:</p>
--- 
--- <pre>[Win]  C:\Documents and Settings\&lt;Your Login Name&gt;\.m2\repository
--- [Unix] ~/.m2/repository
--- </pre>
--- 
    <h1>And when your build works</h1>
    
    <h2>Run Maven in offline mode</h2>
(16 equal lines skipped)


Collections
===========
Removed from collection: documentation
Added to collection: cdocs-site-main

Mime
View raw message