You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Aleksander Adamowski (JIRA)" <di...@incubator.apache.org> on 2009/07/02 19:59:47 UTC

[jira] Commented: (DIR-246) ApacheDS trunk build fails due to circular dependency between apacheds-xbean-spring <-> apacheds-server-xml

    [ https://issues.apache.org/jira/browse/DIR-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726585#action_12726585 ] 

Aleksander Adamowski commented on DIR-246:
------------------------------------------

That's what I initially tried (two levels above the server-xml is the root directory of the project - trunk-with-dependencies).

The effect is the same as when building from xbean-spring:


[INFO] [dependency:unpack {execution: unpack-sample-configurations}]
[INFO] Configured Artifact: org.apache.directory.server:apacheds-server-xml:1.5.5-SNAPSHOT:jar
[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


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