Hello Developers, I am trying to build ApacheDS 1.5 on my Linux Machine. I am following the steps from the below link:
http://directory.apache.org/apacheds/1.5/02-building-trunks.html and I am getting "build failure" error Please see the following logs: -------------- [r...@localhost apacheds-trunk]# mvn clean Warning: JAVA_HOME environment variable is not set. [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache Directory Project [INFO] Apache Directory Shared [INFO] Apache Directory ASN.1 Shared [INFO] Apache Directory Protocol Ldap Shared Constants [INFO] Apache Directory Protocol Ldap Shared [INFO] Apache Directory JNDI Shared [INFO] Apache Directory MINA ASN.1 Codec Shared [INFO] Apache Directory Protocol Ldap Converters [INFO] Apache Directory Daemon [INFO] Apache Directory Daemon Bootstrappers [INFO] Apache Directory Daemon Plugin (Maven 2) [INFO] ApacheDS [INFO] ApacheDS Core Constants [INFO] ApacheDS Core Shared [INFO] ApacheDS Schema Registries [INFO] ApacheDS Core Cursor [INFO] ApacheDS JDBM implementation [INFO] ApacheDS Core Plugin (Maven 2) [INFO] ApacheDS Bootstrap Schemas [INFO] ApacheDS Extra Schemas [INFO] ApacheDS Core Entry [INFO] ApacheDS XDBM Base [INFO] ApacheDS Core AVL [INFO] ApacheDS Generalized (X) DBM Tools [INFO] ApacheDS JDBM Store [INFO] ApacheDS Generalized (X) DBM Search Engine [INFO] ApacheDS Utils [INFO] ApacheDS Bootstrap Partition File Extractor [INFO] ApacheDS Bootstrap Plugin [INFO] ApacheDS Bootstrap Partition [INFO] ApacheDS Core [INFO] ApacheDS Core JNDI [INFO] ApacheDS Protocol Shared [INFO] ApacheDS Protocol Kerberos Shared [INFO] ApacheDS Protocol Ldap [INFO] ApacheDS Server JNDI [INFO] ApacheDS Interceptors for Kerberos [INFO] ApacheDS All [INFO] ApacheDS Core Unit [INFO] ApacheDS Core Integration [INFO] ApacheDS Core Splay [INFO] ApacheDS Server Unit [INFO] ApacheDS Protocol Ntp [INFO] ApacheDS Protocol Kerberos [INFO] ApacheDS Protocol Dhcp [INFO] ApacheDS Protocol Dns [INFO] ApacheDS Protocol Change Password [INFO] ApacheDS Server Integration [INFO] ApacheDS Xbean Spring [INFO] ApacheDS Server XML File [INFO] ApacheDS Server Tools [INFO] ApacheDS Server Replication Service [INFO] ApacheDS 1.5 Build With Dependencies [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Project [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory ASN.1 Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Protocol Ldap Shared Constants [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Protocol Ldap Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory JNDI Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory MINA ASN.1 Codec Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Protocol Ldap Converters [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Daemon [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Daemon Bootstrappers [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Directory Daemon Plugin (Maven 2) [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Core Constants [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Core Shared [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Schema Registries [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Core Cursor [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS JDBM implementation [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Core Plugin (Maven 2) [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] [clean:clean] [INFO] ------------------------------------------------------------------------ [INFO] Building ApacheDS Bootstrap Schemas [INFO] task-segment: [clean] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ *[ERROR] BUILD FAILURE* [INFO] ------------------------------------------------------------------------ [INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.directory.server -DartifactId=apacheds-core-plugin -Dversion=1.5.5-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.apache.directory.server -DartifactId=apacheds-core-plugin -Dversion=1.5.5-SNAPSHOT -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] org.apache.directory.server:apacheds-core-plugin:maven-plugin:1.5.5-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) org.apache.directory.server:apacheds-core-plugin:maven-plugin:1.5.5-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Fri Mar 06 01:57:46 CET 2009 [INFO] Final Memory: 13M/24M [INFO] ------------------------------------------------------------------------ [r...@localhost apacheds-trunk]# Can you please help me in this? Thanks in advance. Regards, Rahul
