I created a demo osgi-extensible to do embedded OSGi to load dynamic rules. I can only find an old eclipse equinox 3.8.0 jar on maven central which gives a NullPointerException but the code runs fine with apache felix. Is there a repo which works with sbt/ivy/maven which has the newer equninox versions so that I can try those out?
Edit: Note the demo at the link above is looking to embed the eclipse equinox osgi runtime so just the osgi headers or bundle tooling would not answer the question
Equinox does not publish its artifacts to Maven Central, but some recent versions are published by the Tycho project. Check out org.eclipse.tycho:org.eclipse.osgi.
Related
I recently downloaded eclipse ee so I can learn more about Java Spring Framework. I am certain that I installed the correct Spring IDE plugin and a Maven Integration plugin is already pre-installed, I double checked. I ran into the issue when I began a new Maven project and I tried adding Spring Dependencies in the pom.xml file. It seems as if eclipse is not looking in the Global Repository because it cannot find any dependencies from the Spring Framework.
I've tried looking online for a solution. Most posts say to check the preferences on Maven and make sure to select the 'Download repository index updates on starup'. I tried that but still no luck.
If anyone has a solution please let me know
pom.xml screenshot
Is maven really necessary for buidling application in jboss 7? I currently have an application which is running in jboss 5 and it is build by antbuild.
Its easy to manage application dependencies through maven. You just need to provide artifact details of jar and maven will take care of artifact and and its internal dependencies.
You will be happiest if you just adapt Maven. You could try to manage dependencies yourself, but it will lead to many frustrations.
Use Maven, at least for JBoss. Resistance is futile.
I would like to ask you some hints about the proper way to configure maven in the following scenario:
I have some artifacts which are currently packaged as jar, but they have maven-bundle-plugin too because I want them become OSGI bundles, nevertheless I didn't change their package to bundle because it exists the case that I want build them as jar (or war sometimes).
To use maven-bundle-plugin with package jar I have followed this chapter and all worked fine, but now I'm considering to package them with bundle, to gain the full features of maven-bundle-plugin and because my default deploy is to OSGI.
So I would like to know if packaging artifacts as bundles but using them in a not OSGI container may results in troubles, what do you think? Thx
If you build your bundles using the alternative and newer plugin bnd-maven-plugin then it is not necessary to change the packaging type.
I am a newbie with maven, I created a dynamic web project in eclipse and then converted into maven project.
Instead of deploying the project in a standard container I would use embedded jetty.
How can I create in maven the appropriate jar executable with all dependencies included?
Thanks
Roberto
Found solution by myself at
http://blog.anvard.org/articles/2013/10/09/embedded-jetty-executable-maven.html
Basically we can add as many maven plugin as we want, adding dependencies and then packaging all togheter.
Is it possible to configure a complete tomcat runtime within Eclipse using Maven/m2eclispe.
A maven goal to downloaded tomcat, create the server withing the eclipse environment and add the specified war files to the server ?
Or can some of these goals be implemented ?
You might want to take a look at this solution or check out the maven cargo plugin.
The first solution uses the sysdeo tomcat plugin, which I've personally used in the past, which worked quite well. It does not download tomcat though for you. You will have to do that manually.
Right now I'm working with the maven cargo plugin (not an eclipse plugin though), which will download a tomcat instance for your for development purposes.