Issue Details (XML | Word | Printable)

Key: OSGI-289
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Costin Leau
Reporter: Christian Bonami
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring OSGi

Maven repo corrupted

Created: 21/Nov/07 06:18 AM   Updated: 23/Nov/07 03:03 PM
Component/s: None
Affects Version/s: 1.0 RC1
Fix Version/s: 1.0 RC1

Time Tracking:
Not Specified

Environment: Windows Vista Ultimate


 Description  « Hide
When I do a 'mvn clean install' of the top-pom of Spring OSGi, I get the following error (see beneath).
spring-osgi-test-1.0-rc1.jar -file is missing in repository.

Missing:
----------
1) org.springframework.osgi:spring-osgi-test:jar:1.0-rc1-SNAPSHOT

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.springframework.osgi -DartifactId=s
pring-osgi-test \
          -Dversion=1.0-rc1-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.springframework.osgi -DartifactId=sprin
g-osgi-test \
          -Dversion=1.0-rc1-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.springframework.osgi.samples:simple-service-integration-test:jar:
1.0-rc1-SNAPSHOT
        2) org.springframework.osgi:spring-osgi-test:jar:1.0-rc1-SNAPSHOT

----------
1 required artifact is missing.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Costin Leau added a comment - 21/Nov/07 06:40 AM
Christian, make sure you delete all folders from your local maven repository under org/springframework/osgi before retrying again from the root.
The artefact you're after is part of the Spring-DM sources and since maven doesn't updates snapshots for some reason when building locally, you have to delete the file yourself.

Costin Leau added a comment - 22/Nov/07 09:06 AM
Any update?