Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-681

Can't import chemistry-opencmis-server-bindings 0.9.0 from Maven repository

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • OpenCMIS 0.9.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              linzhixing linzhixing
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment