directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject ApacheDS-Documentation
Date Sun, 13 Apr 2008 10:27:25 GMT
Hi

I do have severe problems building it from sandbox (see at the end). I don't think this is
a mvn 2.0.9 problem, but 
probably a missing definition in the repository section of the pom. Does the apacheds-documentation
will become a 
submodule of the apacheds (and be built only together with apacheds)? In this case it'll work.
Otherwise and/or for more 
general build purpose following patch can be applied to use snapshot dependencies (for parent
pom):


Index: apacheds-documentation/pom.xml
===================================================================
--- apacheds-documentation/pom.xml      (revision 647553)
+++ apacheds-documentation/pom.xml      (working copy)
@@ -56,4 +56,15 @@
      </dependencies>
    </dependencyManagement>

+  <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>


Regards
Felix





felix@donar ~/svn/apache/directory/sandbox/szoerner/apacheds-documentation $ mvn --version
Maven version: 2.0.8
Java version: 1.6.0_05
OS name: "linux" version: "2.6.24-gentoo-r5" arch: "amd64" Family: "unix"
felix@donar ~/svn/apache/directory/sandbox/szoerner/apacheds-documentation $ mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: null:apacheds-documentation:pom:null

Reason: Cannot find parent: org.apache.directory.server:apacheds-parent for project: 
null:apacheds-documentation:pom:null for project null:apacheds-documentation:pom:null


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.apache.directory.server:apacheds-parent
for 
project: null:apacheds-documentation:pom:null for project null:apacheds-documentation:pom:null
         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:376)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:289)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: 
org.apache.directory.server:apacheds-parent for project: null:apacheds-documentation:pom:null
for project 
null:apacheds-documentation:pom:null
         at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1259)
         at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:745)
         at 
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:476)
         at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:197)
         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:548)
         at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:458)
         at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:362)
         ... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.apache.directory.server:apacheds-parent'
not 
found in repository: Unable to download the artifact from any repository

   org.apache.directory.server:apacheds-parent:pom:1.5.2-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)
  for project org.apache.directory.server:apacheds-parent
         at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:571)
         at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1255)
         ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download
the artifact from any repository

   org.apache.directory.server:apacheds-parent:pom:1.5.2-SNAPSHOT

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:206)
         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
         at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:524)
         ... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact
from any repository
         at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:324)
         at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:194)
         ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Sun Apr 13 12:19:25 CEST 2008
[INFO] Final Memory: 2M/119M
[INFO] -------------------------------------------------------------

Mime
View raw message