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/06/29 14:43:47 UTC

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

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.


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

Posted by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/DIR-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny resolved DIR-246.
-----------------------------------

    Resolution: Cannot Reproduce

It works well atm. 

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


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

Posted by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/DIR-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12845282#action_12845282 ] 

Emmanuel Lecharny commented on DIR-246:
---------------------------------------

Is it still an issue ?

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


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

Posted by "Aleksander Adamowski (JIRA)" <di...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/DIR-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12726592#action_12726592 ] 

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

If you can't reproduce the problem, you should remove your local repository from ~/.m2/repository, then make sure that your Maven configuration doesn't include the remote snapshot repository of ApacheDS so that when it needs one of ApacheDS artifacts, it must use the ones from the current build.

Then simply run the build.

BTW, the reason why this build shouldn't fail is that the it shouldn't ever depend on previous builds of the project itself.
What if all copies of previously built binary artifacts are somehow lost? You would be unable to recreate the artifacts from the source anymore.


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


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

Posted by "Aleksander Adamowski (JIRA)" <di...@incubator.apache.org>.
    [ 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.


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

Posted by "Kiran Ayyagari (JIRA)" <di...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/DIR-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725186#action_12725186 ] 

Kiran Ayyagari commented on DIR-246:
------------------------------------

Can you try building the whole trunk from the directory two levels above the server-xml.

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