Issue Details (XML | Word | Printable)

Key: OSGI-44
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Costin Leau
Reporter: Adrian Colyer
Votes: 0
Watchers: 0
Operations

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

Add spring and org.osgi repository locations to spring-osgi-bundle-archetype pom

Created: 31/Oct/06 06:24 AM   Updated: 05/Apr/07 05:13 AM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0 M1

Time Tracking:
Not Specified

File Attachments: 1. File OSGI-44.diff (7 kB)
2. XML File pom.xml (4 kB)



 Description  « Hide
from the mailing list:

A partial fix:

You need to add

<repository>
<id>springframework.org</id>
  <name>Springframework Maven SNAPSHOT Repository</name>
  <url>http://static.springframework.org/maven2-snapshots/&lt;/url>
</repository>

in the <repositories> element of your pom.xml file.
I am not sure why the template doesn't have this included. However, it
is documented at http://www.springframework.org/osgi

However, after doing so, I am still getting

10/31/06 10:03:29 PM EST: Missing:
----------
1) org.osgi:org.osgi.core:jar:4.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.osgi
-DartifactId=org.osgi.core \
          -Dversion=4.0 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
   1) org.xyz.myproject:mybundle:osgi-bundle:1.0-SNAPSHOT
   2) org.osgi:org.osgi.core:jar:4.0

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


Can anyone help?

TIA

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Alin Dreghiciu added a comment - 02/Mar/07 04:49 PM
Solve the problem. It actually needs more repositories if is to be used in an setup where the spring-osgi was not build before (as a fresh maven repo)

Alin Dreghiciu added a comment - 02/Mar/07 04:52 PM
And a diff from the root.

Costin Leau added a comment - 03/Mar/07 12:16 PM
svn 6245