You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Felix Knecht <fe...@otego.com> on 2008/04/13 12:27:25 UTC
ApacheDS-Documentation
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] -------------------------------------------------------------
Re: ApacheDS-Documentation
Posted by Stefan Zoerner <st...@labeo.de>.
Felix Knecht wrote:
>> I think it should be able to checkout and manipulate the documentation
>> without the complete server, if possible.
>
> Should be possible now (I fixed the missing repo in the pom).
Thanks Felix!
>>
>> But we are currently in a proof of concept phase. Therefore your
>> advice and ideas are highly welcome.
>
> If wanted I can also add it to the CI so you have an hourly build when
> changes happend and have a link you can see the generated page and/or
> the generated pdf.
>
This is a good idea, although I would like to wait until everything is
settled. For the documentation we need a book format for the tutorial
and article DocBook style for the HowTos. I have just tried out the
first yet.
If we have decided that DocBook is the way to go, automatic build and
test deployment would be great!
Greetings from Hamburg,
Stefan
Re: ApacheDS-Documentation
Posted by Felix Knecht <fe...@apache.org>.
Hi Stefan
> Thanks for the feedback!
Your welcome ;-)
> It has to be discussed, but the basic idea was,
> to locate the documentation below apacheds. Whether as submodule, I
> don't know due to missing maven skills.
NP
>
> I think it should be able to checkout and manipulate the documentation
> without the complete server, if possible.
Should be possible now (I fixed the missing repo in the pom).
>
> But we are currently in a proof of concept phase. Therefore your advice
> and ideas are highly welcome.
If wanted I can also add it to the CI so you have an hourly build when changes happend and have a link you can see the
generated page and/or the generated pdf.
Regards
Felix
Re: ApacheDS-Documentation
Posted by Stefan Zoerner <st...@labeo.de>.
Felix Knecht wrote:
> 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):
Hi Felix,
Thanks for the feedback! It has to be discussed, but the basic idea was,
to locate the documentation below apacheds. Whether as submodule, I
don't know due to missing maven skills. Stefan Seelmann and PAM have
created this project in my sandbox. One of our current problems is that
the documentation is not linked to the development stream, and with each
new major version, a new Confluence space has been created.
Placing the content in subversion will hopefully bring us the advantage
of versioning/branching etc. the documentation together with the server.
I think it should be able to checkout and manipulate the documentation
without the complete server, if possible.
But we are currently in a proof of concept phase. Therefore your advice
and ideas are highly welcome.
Greetings,
Stefan