chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linzhixing (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-681) Can't import chemistry-opencmis-server-bindings 0.9.0 from Maven repository
Date Thu, 27 Jun 2013 09:46:20 GMT
linzhixing created CMIS-681:
-------------------------------

             Summary: 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

Mime
View raw message