You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by ddiop <dd...@gmail.com> on 2013/04/12 15:48:41 UTC

configuration maven-judaa

I have a problem at the pom and file settings.xml
------------------------------pom.xml--------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
		
    <groupId>org.fudaa.pom</groupId>
    <artifactId>super-pom</artifactId>
    <version>1.3</version>
  </parent>
  <properties>
    <businessGroupId>org.fudaa.business</businessGroupId>
  </properties>
  <artifactId>business-pom</artifactId>
  <packaging>pom</packaging>
  <name>Les projets métiers</name>
  <url>http://www.fudaa.fr/sites/devel/fudaa-business/</url>
  <repositories>
    <repository>
      <snapshots>
        <enabled>false</enabled>
      </snapshots>
      <id>central</id>
      <name>libs-releases</name>
      <url>http://repository.fudaa.fr/artifactory/libs-releases</url>
    </repository>
    <repository>
      <snapshots />
      <id>snapshots</id>
      <name>libs-snapshots</name>
      <url>http://repository.fudaa.fr/artifactory/libs-snapshots</url>
    </repository>
  </repositories>
  <scm>
   
<connection>scm:svn:http://fudaa.svn.sourceforge.net/svnroot/fudaa/trunk/business/</connection>
   
<developerConnection>scm:svn:https://fudaa.svn.sourceforge.net/svnroot/fudaa/trunk/business/</developerConnection>
   
<url>http://fudaa.svn.sourceforge.net/viewvc/fudaa/svnroot/fudaa/trunk/business/</url>
  </scm>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-release-plugin</artifactId>
        <configuration>
         
<tagBase>https://fudaa.svn.sourceforge.net/svnroot/fudaa/tags/business</tagBase>
            
          <useReleaseProfile>false</useReleaseProfile>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>
--------------------------------------settings.xml--------------------------------

<settings>
<localRepository>
/home/diop/repository
</localRepository>
<mirrors>
<mirror>
<id>artifactory</id>
<mirrorOf>*</mirrorOf>
<url>
file:///home/diop/artifactory-2.6.7.zip
</url>
<name>Artifactory</name>
</mirror>
</mirrors>
</settings>
----------------------he error at the terminal-----------------------
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.fudaa.business.fudaa-ef:fudaa-ef:1.4-SNAPSHOT
(/home/diop/BRLi/Djibi/fudaa-ef/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Failure to find
org.fudaa.pom:business-pom:pom:1.3 in
file:///home/diop/artifactory-2.6.7.zip was cached in the local repository,
resolution will not be reattempted until the update interval of artifactory
has elapsed or updates are forced and 'parent.relativePath' points at wrong
local POM @ line 12, column 10 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException





--
View this message in context: http://maven.40175.n5.nabble.com/configuration-maven-judaa-tp5753582.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: configuration maven-judaa

Posted by Wayne Fay <wa...@gmail.com>.
> <mirror>
> <id>artifactory</id>
> <mirrorOf>*</mirrorOf>
> <url>
> file:///home/diop/artifactory-2.6.7.zip
> </url>

This url is completely wrong. Point the url not to the Artifactory zip
file on your disk, but to the running Artifactory instance on a server
(which may be localhost or another).

You have to actually "install" and run Artifactory to use it as a Maven mirror.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org