directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fel...@apache.org>
Subject Re: svn commit: r741609 - /directory/studio/trunk/help-pom.xml
Date Fri, 06 Feb 2009 20:22:24 GMT
Stefan Seelmann schrieb:
> Hi Pierre-Arnaud,
> 
> Yes, you are right if the parent pom already exists in your .m2/repository.

Maybe we can solve this using
<parent>
  <snip/>
  <relativePath>.</relativePath>
</parent>
in the help-pom.xml instead of indicating the repository.

Just my 2 cents
Felix

> 
> However if I have a clean .m2 and a clean SVN checkout and I only do a
> "mvn studio:eclipse" without a "mvn install" before I get the following
> error:
> 
> stefan@r61:~/Apache/svn/studio-trunk/rcp-help$ mvn studio:eclipse
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.directory.studio
> ArtifactId: parent
> Version: 1.4.0-SNAPSHOT
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.apache.directory.studio:parent:pom:1.4.0-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> 
> Regards,
> Stefan
> 
> 
> Pierre-Arnaud Marcelot schrieb:
>> Hi Stefan,
>>
>> I don't think this is necessary as the the help pom as the root pom for
>> parent (and the root pom includes this repository).
>>
>> My 2 cents. ;)
>>
>> Regards,
>> Pierre-Arnaud
>>
>> On Fri, Feb 6, 2009 at 5:09 PM, <seelmann@apache.org
>> <mailto:seelmann@apache.org>> wrote:
>>
>>     Author: seelmann
>>     Date: Fri Feb  6 16:09:33 2009
>>     New Revision: 741609
>>
>>     URL: http://svn.apache.org/viewvc?rev=741609&view=rev
>>     <http://svn.apache.org/viewvc?rev=741609&view=rev>
>>     Log:
>>     Added snapshot repository to help-pom
>>
>>     Modified:
>>        directory/studio/trunk/help-pom.xml
>>
>>     Modified: directory/studio/trunk/help-pom.xml
>>     URL:
>>     http://svn.apache.org/viewvc/directory/studio/trunk/help-pom.xml?rev=741609&r1=741608&r2=741609&view=diff
>>     <http://svn.apache.org/viewvc/directory/studio/trunk/help-pom.xml?rev=741609&r1=741608&r2=741609&view=diff>
>>     ==============================================================================
>>     --- directory/studio/trunk/help-pom.xml (original)
>>     +++ directory/studio/trunk/help-pom.xml Fri Feb  6 16:09:33 2009
>>     @@ -359,4 +359,15 @@
>>         </plugins>
>>       </build>
>>
>>     +  <repositories>
>>     +    <repository>
>>     +      <id>apache.directory.snapshot.repo</id>
>>     +      <name>Snapshot repository for the Apache Directory project</name>
>>     +      <url>http://vm094.oxylos.org/mirror-maven2/</url>
>>     +      <releases>
>>     +        <enabled>false</enabled>
>>     +      </releases>
>>     +    </repository>
>>     +  </repositories>
>>     +
>>      </project>
>>
>>
>>
> 


Mime
View raw message