directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre-Arnaud Marcelot ...@marcelot.net>
Subject Unable to generate the site for ApacheDS
Date Fri, 13 Jan 2012 15:46:49 GMT
Hi guys,

While generating the release artifacts for ApacheDS 2.0.0-M4 (for the release of Studio),
I wasn't able to generate the 2.0.0-M4.
It failed with the following error:
> [INFO] […]                                                                        
> [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> [INFO] Forking ApacheDS Installers Maven Plugin 2.0.0-M5-SNAPSHOT
> [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> [INFO] 
> [INFO] --- maven-plugin-plugin:2.9:descriptor (default-descriptor) @ apacheds-installers-maven-plugin
---
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 1 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2.1:process (default) @ apacheds-installers-maven-plugin
---
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.3:unpack (unpack-config-file) @ apacheds-installers-maven-plugin
---
> [INFO] Configured Artifact: org.apache.directory.server:apacheds-server-config:2.0.0-M5-SNAPSHOT:jar
> [INFO] Unpacking /Users/pajbam/Development/Apache/trunks/apacheds/server-config/target/classes
to /Users/pajbam/Development/Apache/trunks/apacheds/installers-maven-plugin/src/main/resources/org/apache/directory/server/installers
with includes "config.ldif" and excludes ""
> org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:185)
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:118)
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:116)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:94)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:175)
> 	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin(DefaultMavenReportExecutor.java:282)
> 	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:148)
> 	at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:240)
> 	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ApacheDS .......................................... FAILURE [23.059s]
> [INFO] ApacheDS I18n ..................................... SKIPPED
> [INFO] ApacheDS Core Constants ........................... SKIPPED
> [INFO] ApacheDS Core API ................................. SKIPPED
> [INFO] ApacheDS Core Shared .............................. SKIPPED
> [INFO] ApacheDS Interceptors ............................. SKIPPED
> [INFO] ApacheDS AdministrativePoint Interceptor .......... SKIPPED
> [INFO] ApacheDS Authentication Interceptor ............... SKIPPED
> [INFO] ApacheDS Authorization Interceptor ................ SKIPPED
> [INFO] ApacheDS ChangeLog Interceptor .................... SKIPPED
> [INFO] ApacheDS Collective Attribute Interceptor ......... SKIPPED
> [INFO] ApacheDS Event Interceptor ........................ SKIPPED
> [INFO] ApacheDS Exception Interceptor .................... SKIPPED
> [INFO] ApacheDS Journal Interceptor ...................... SKIPPED
> [INFO] ApacheDS Normalization Interceptor ................ SKIPPED
> [INFO] ApacheDS Operational Attribute Interceptor ........ SKIPPED
> [INFO] ApacheDS Referral Interceptor ..................... SKIPPED
> [INFO] ApacheDS Schema Interceptor ....................... SKIPPED
> [INFO] ApacheDS Subtree Interceptor ...................... SKIPPED
> [INFO] ApacheDS Triggers Interceptor ..................... SKIPPED
> [INFO] ApacheDS Core ..................................... SKIPPED
> [INFO] ApacheDS Core AVL ................................. SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> [INFO] ApacheDS JDBM implementation ...................... SKIPPED
> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> [INFO] ApacheDS Core Annotations ......................... SKIPPED
> [INFO] ApacheDS Core JNDI ................................ SKIPPED
> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Logger Interceptor ....................... SKIPPED
> [INFO] ApacheDS Password Hashing Interceptor ............. SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> [INFO] ApacheDS Installers ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 25.383s
> [INFO] Finished at: Fri Jan 13 16:33:07 CET 2012
> [INFO] Final Memory: 93M/224M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site)
on project apacheds-parent: failed to get report for org.apache.maven.plugins:maven-javadoc-plugin:
Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.3:unpack (unpack-config-file)
on project apacheds-installers-maven-plugin: Error unpacking file: /Users/pajbam/Development/Apache/trunks/apacheds/server-config/target/classes
to: /Users/pajbam/Development/Apache/trunks/apacheds/installers-maven-plugin/src/main/resources/org/apache/directory/server/installers
> [ERROR] org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> [ERROR] -> [Help 1]
> [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/MojoExecutionException

The error seems related to the following JIRA which is still open :
http://jira.codehaus.org/browse/MDEP-98

I noticed that the site of the previous version 2.0.0-M3 was successfully deployed a few months
ago:
http://directory.apache.org/apacheds/gen-docs/2.0.0-M3/

So, I checked out the tag and tried to generate the site via "mvn site", but I had the same
error:
> [INFO] […]                                                                        
    
> [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> [INFO] Forking ApacheDS Installers Maven Plugin 2.0.0-M3
> [INFO] >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> [INFO] 
> [INFO] --- maven-plugin-plugin:2.7:descriptor (default-descriptor) @ apacheds-installers-maven-plugin
---
> [INFO] Using 'UTF-8' encoding to read mojo metadata.
> [INFO] Applying mojo extractor for language: java
> [INFO] Mojo extractor for language: java found 1 mojo descriptors.
> [INFO] Applying mojo extractor for language: bsh
> [INFO] Mojo extractor for language: bsh found 0 mojo descriptors.
> [INFO] 
> [INFO] --- maven-remote-resources-plugin:1.2:process (default) @ apacheds-installers-maven-plugin
---
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.2:unpack (unpack-config-file) @ apacheds-installers-maven-plugin
---
> [INFO] Configured Artifact: org.apache.directory.server:apacheds-server-config:2.0.0-M3:jar
> [INFO] Unpacking /Users/pajbam/Development/Apache/2.0.0-M3/server-config/target/classes
to /Users/pajbam/Development/Apache/2.0.0-M3/installers-maven-plugin/src/main/resources/org/apache/directory/server/installers
with includes config.ldif and excludes 
> org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:174)
> 	at org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:107)
> 	at org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:258)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.unpackArtifact(UnpackMojo.java:117)
> 	at org.apache.maven.plugin.dependency.fromConfiguration.UnpackMojo.execute(UnpackMojo.java:94)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
> 	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:175)
> 	at org.apache.maven.plugins.site.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:284)
> 	at org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:208)
> 	at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:105)
> 	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> 	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
> 	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
> 	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
> 	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
> 	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
> 	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
> 	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
> 	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
> 	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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
> 	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] ApacheDS .......................................... FAILURE [16.107s]
> [INFO] ApacheDS I18n ..................................... SKIPPED
> [INFO] ApacheDS Core Constants ........................... SKIPPED
> [INFO] ApacheDS Core API ................................. SKIPPED
> [INFO] ApacheDS Core ..................................... SKIPPED
> [INFO] ApacheDS Core AVL ................................. SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Partition ............ SKIPPED
> [INFO] ApacheDS LDIF Partition ........................... SKIPPED
> [INFO] ApacheDS JDBM implementation ...................... SKIPPED
> [INFO] ApacheDS JDBM Partition ........................... SKIPPED
> [INFO] ApacheDS Core Annotations ......................... SKIPPED
> [INFO] ApacheDS Core JNDI ................................ SKIPPED
> [INFO] ApacheDS Protocol Shared .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Codec .................. SKIPPED
> [INFO] ApacheDS Interceptors for Kerberos ................ SKIPPED
> [INFO] ApacheDS Protocol Dhcp ............................ SKIPPED
> [INFO] ApacheDS Protocol Dns ............................. SKIPPED
> [INFO] ApacheDS Protocol Kerberos ........................ SKIPPED
> [INFO] ApacheDS Protocol Ldap ............................ SKIPPED
> [INFO] ApacheDS Protocol Ntp ............................. SKIPPED
> [INFO] Apacheds Server Annotations ....................... SKIPPED
> [INFO] ApacheDS Server Config ............................ SKIPPED
> [INFO] ApacheDS Server JNDI .............................. SKIPPED
> [INFO] ApacheDS Server Replication Service ............... SKIPPED
> [INFO] ApacheDS Test Framework ........................... SKIPPED
> [INFO] ApacheDS Generalized (X) DBM Tools ................ SKIPPED
> [INFO] ApacheDS All ...................................... SKIPPED
> [INFO] ApacheDS Core Integration ......................... SKIPPED
> [INFO] ApacheDS Server Integration ....................... SKIPPED
> [INFO] ApacheDS DirectoryService-WebApp bridge ........... SKIPPED
> [INFO] ApacheDS Jetty HTTP Server Integration ............ SKIPPED
> [INFO] ApacheDS Service Builder .......................... SKIPPED
> [INFO] ApacheDS Protocol Kerberos Test ................... SKIPPED
> [INFO] Apache Directory LDAP Client API test ............. SKIPPED
> [INFO] ApacheDS Service .................................. SKIPPED
> [INFO] ApacheDS Wrapper .................................. SKIPPED
> [INFO] ApacheDS Installers Maven Plugin .................. SKIPPED
> [INFO] ApacheDS Installers ............................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 17.466s
> [INFO] Finished at: Fri Jan 13 16:44:22 CET 2012
> [INFO] Final Memory: 63M/152M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0-beta-3:site
(default-site) on project apacheds-parent: failed to get Reports: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.2:unpack
(unpack-config-file) on project apacheds-installers-maven-plugin: Error unpacking file: /Users/pajbam/Development/Apache/2.0.0-M3/server-config/target/classes
to: /Users/pajbam/Development/Apache/2.0.0-M3/installers-maven-plugin/src/main/resources/org/apache/directory/server/installers
> [ERROR] org.codehaus.plexus.archiver.ArchiverException: The source must not be a directory.
> [ERROR] -> [Help 1]
> [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/MojoExecutionException



I really wonder how the site was deploy during the previous release?
Am I the only one having issues with this?

If anyone has a clue about that...

Regards,
Pierre-Arnaud


Mime
View raw message