
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Windows Vista Ultimate
|
|
|
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.
|
|
Description
|
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. |
Show » |
|
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.