ApacheDS trunk build fails due to circular dependency between 
apacheds-xbean-spring <-> apacheds-server-xml
-----------------------------------------------------------------------------------------------------------

                 Key: DIR-246
                 URL: https://issues.apache.org/jira/browse/DIR-246
             Project: Directory
          Issue Type: Bug
            Reporter: Aleksander Adamowski
            Assignee: Alex Karasulu


I'm trying to build apacheds from the latest trunk revision, however the build 
fails due to missing dependency on apacheds-server-xml.

When I try to build apacheds-server-xml by entering 
trunk-with-dependencies/apacheds/server-xml/ , I get a build error that 
mentions missing dependency on apacheds-xbean-spring:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) org.apache.directory.server:apacheds-xbean-spring:jar:1.5.5-SNAPSHOT

  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-xbean-spring -Dversion=1.5.5-SNAPSHOT -Dpackaging=jar 
-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-xbean-spring -Dversion=1.5.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.directory.server:apacheds-server-xml:jar:1.5.5-SNAPSHOT
        2) org.apache.directory.server:apacheds-xbean-spring:jar:1.5.5-SNAPSHOT

----------
1 required artifact is missing.


When I try to build apacheds-xbean-spring by entering 
trunk-with-dependencies/apacheds/xbean-spring/ , I get a build error that 
mentions missing dependency on apacheds-server-xml:

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to find artifact.

Embedded error: 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-server-xml -Dversion=1.5.5-SNAPSHOT -Dpackaging=jar 
-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-server-xml -Dversion=1.5.5-SNAPSHOT -Dpackaging=jar 
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]


  org.apache.directory.server:apacheds-server-xml:jar:1.5.5-SNAPSHOT


This chicken-and-egg problem effectively prevents building ApacheDS at all.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to