You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/06/27 17:31:20 UTC

[jira] [Resolved] (CMIS-681) Can't import chemistry-opencmis-server-bindings 0.9.0 from Maven repository

     [ https://issues.apache.org/jira/browse/CMIS-681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-681.
---------------------------------

    Resolution: Not A Problem

This has changed in 0.9.0. Remove the <classifier> tag and it should work. Check CMIS-501 for details.
                
> Can't import chemistry-opencmis-server-bindings 0.9.0 from Maven repository
> ---------------------------------------------------------------------------
>
>                 Key: CMIS-681
>                 URL: https://issues.apache.org/jira/browse/CMIS-681
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.9.0
>            Reporter: linzhixing
>
> In my pom.xml in the application, I modified the version from 0.9.0-beta-1 to 0.9.0:
> <properties>
>   <org.springframework.version>3.1.1.RELEASE</org.springframework.version>
>   <org.apache.chemistry.opencmis.version>0.9.0</org.apache.chemistry.opencmis.version>
>   <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
> </properties>
> <dependency>
>   <groupId>org.apache.chemistry.opencmis</groupId>
>   <artifactId>chemistry-opencmis-server-support</artifactId>
>   <version>${org.apache.chemistry.opencmis.version}</version>
> </dependency>
> <dependency>
>   <groupId>org.apache.chemistry.opencmis</groupId>
>   <artifactId>chemistry-opencmis-server-bindings</artifactId>
>   <version>${org.apache.chemistry.opencmis.version}</version>
>   <classifier>classes</classifier>
> </dependency>
> -------------------------------------------
> Then I got to import the new 0.9.0 version of chemistry-opencmis-server-support with success but not chemistry-opencmis-server-bindings, with failure.
> Here is the message when running Maven:
> [INFO] Artifact org.apache.chemistry.opencmis:chemistry-opencmis-server-support:jar:0.9.0 already available as a workspace project, but with different version. Expected: 0.9.0, found: 0.10.0-SNAPSHOT
> [INFO] Artifact org.apache.chemistry.opencmis:chemistry-opencmis-commons-api:jar:0.9.0 already available as a workspace project, but with different version. Expected: 0.9.0, found: 0.10.0-SNAPSHOT
> [INFO] Artifact org.apache.chemistry.opencmis:chemistry-opencmis-commons-impl:jar:0.9.0 already available as a workspace project, but with different version. Expected: 0.9.0, found: 0.10.0-SNAPSHOT
> [WARNING] An error occurred during dependency resolution.
>     Failed to retrieve org.apache.chemistry.opencmis:chemistry-opencmis-server-bindings-0.9.0
> Caused by: Failure to find org.apache.chemistry.opencmis:chemistry-opencmis-server-bindings:jar:classes:0.9.0 in http://repository.springsource.com/maven/bundles/release was cached in the local repository, resolution will not be reattempted until the update interval of com.springsource.repository.bundles.release has elapsed or updates are forced
> Try downloading the file manually from the project website.
> Then, install it using the command: 
>     mvn install:install-file -DgroupId=org.apache.chemistry.opencmis -DartifactId=chemistry-opencmis-server-bindings -Dversion=0.9.0 -Dclassifier=classes -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.chemistry.opencmis -DartifactId=chemistry-opencmis-server-bindings -Dversion=0.9.0 -Dclassifier=classes -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> -------------------------------------------
> Is chemistry-opencmis-server-bindings 0.9.0 not yet available?
> Though Maven repository site(http://mvnrepository.com/artifact/org.apache.chemistry.opencmis) still remains with 0.9.0-beta-1, chemistry-opencmis-server-support 0.9.0 can be done successfully.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira