It appears that installers/pom.xml is very out of date with respect to the Felix versions it references.

I'd suggest modifying the pom to reference the versions in the dependent poms you have in your working copy. For example:

<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.apache.felix.main</artifactId>
<version>0.9.0-SNAPSHOT</version>
</dependency>


Should be

<dependency>
<groupId>${pom.groupId}</groupId>
<artifactId>org.apache.felix.main</artifactId>
<version>2.1.0-SNAPSHOT</version>
</dependency>

etc.

Justin

On Dec 28, 2009 11:37am, Viktor Ransmayr <[email protected]> wrote:
Hi Richard,



I should have been more precise. - All I want to achieve at the moment is to get a working step 6 ;-)



Step 5 is working in my local source environment, however when performing step 6 I get the following

build errors:







[INFO] ------------------------------------------------------------------------

[ERROR] BUILD ERROR

[INFO] ------------------------------------------------------------------------

[INFO] Failed to resolve artifact.



Missing:

----------

1) org.apache.felix:org.apache.felix.main:jar:0.9.0-SNAPSHOT



Try downloading the file manually from the project website.



Then, install it using the command:

mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.main -Dversion=0.9.0-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.apache.felix -DartifactId=org.apache.felix.main -Dversion=0.9.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



Path to dependency:

1) org.apache.felix:installers:jar:0.9.0-SNAPSHOT

2) org.apache.felix:org.apache.felix.main:jar:0.9.0-SNAPSHOT



2) org.apache.felix:org.apache.felix.daemon:jar:0.9.0-SNAPSHOT



Try downloading the file manually from the project website.



Then, install it using the command:

mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.daemon -Dversion=0.9.0-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.apache.felix -DartifactId=org.apache.felix.daemon -Dversion=0.9.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



Path to dependency:

1) org.apache.felix:installers:jar:0.9.0-SNAPSHOT

2) org.apache.felix:org.apache.felix.daemon:jar:0.9.0-SNAPSHOT



3) org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT



Try downloading the file manually from the project website.



Then, install it using the command:

mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.shell -Dversion=1.1.0-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.apache.felix -DartifactId=org.apache.felix.shell -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



Path to dependency:

1) org.apache.felix:installers:jar:0.9.0-SNAPSHOT

2) org.apache.felix:org.apache.felix.shell:jar:1.1.0-SNAPSHOT



4) org.apache.felix:org.apache.felix.shell.tui:jar:1.1.0-SNAPSHOT



Try downloading the file manually from the project website.



Then, install it using the command:

mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.shell.tui -Dversion=1.1.0-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.apache.felix -DartifactId=org.apache.felix.shell.tui -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



Path to dependency:

1) org.apache.felix:installers:jar:0.9.0-SNAPSHOT

2) org.apache.felix:org.apache.felix.shell.tui:jar:1.1.0-SNAPSHOT



5) org.apache.felix:org.apache.felix.bundlerepository:jar:1.1.0-SNAPSHOT



Try downloading the file manually from the project website.



Then, install it using the command:

mvn install:install-file -DgroupId=org.apache.felix -DartifactId=org.apache.felix.bundlerepository -Dversion=1.1.0-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.apache.felix -DartifactId=org.apache.felix.bundlerepository -Dversion=1.1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]



Path to dependency:

1) org.apache.felix:installers:jar:0.9.0-SNAPSHOT

2) org.apache.felix:org.apache.felix.bundlerepository:jar:1.1.0-SNAPSHOT



----------

5 required artifacts are missing.



for artifact:

org.apache.felix:installers:jar:0.9.0-SNAPSHOT



from the specified remote repositories:

apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),

central (http://repo1.maven.org/maven2)







[INFO] ------------------------------------------------------------------------

[INFO] For more information, run Maven with the -e switch

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 1 minute 5 seconds

[INFO] Finished at: Thu Dec 24 16:59:15 CET 2009

[INFO] Final Memory: 9M/17M

[INFO] ------------------------------------------------------------------------

C:\Snapshots\Felix\installers>







What's the recommended procedure to succeed with step 6?



Regards,



Viktor



Am 28.12.2009 17:16, schrieb Richard S. Hall:


Our overall build is rather screwy and lengthy, I rarely ever try to build it all any more. I just build what I need...it is much quicker. In other words, our build sucks.



-> richard



On 12/28/09 10:02, Viktor Ransmayr wrote:


Hello,



I just started using Apache Felix recently and am now trying to build Felix within

my own source environment.



I followed the information provided in http://felix.apache.org/site/building-felix.html.



However I do encounter problems in the second part ("mvn -Dpackaging=bundle install")

of step 4. - This command never finishes in my environment.



I'm on rev. 894107 and the cmd seems to always 'freeze/ stop' at:







...







Any ideas how to resolve this issue?



Kind regards,



Viktor








---------------------------------------------------------------------

To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]






Reply via email to