eclipse-kura / kura

Eclipse Kura™ is a versatile framework to supercharge your edge devices, streamlining the process of configuring your gateway, connecting sensors, and IoT devices to seamlessly collect, process, and send data to the cloud.
https://eclipse.dev/kura/
Eclipse Public License 2.0
499 stars 306 forks source link

[Kura App Store] Move Kura apps from examples to new kura/apps repository #140

Closed dwoodard1 closed 10 months ago

dwoodard1 commented 8 years ago

Update poms for application projects to use archetype.

cdealti commented 7 years ago

@dwoodard1 @MMaiero @ctron Kura examples (or apps) only depend on the Kura API. There is no need to release the examples with every Kura release but only when we break the API. On the other hand if we move the apps to a separate repository then you would need a separate Oomph installer for apps development. Any comments?

ctron commented 7 years ago

Having such an installer would make sense to me. On the other hand if we would have support for Maven central we could easily go with a plain Maven build and simplify things a lot. E.g. using the maven-bundle-plugin.

cdealti commented 7 years ago

@ctron @dwoodard1 @MMaiero Let's start with making examples/ a standalone project (without a parent pom) and let's try to build it against the p2 repo created by the org.eclipse.kura-p2 project via the Tycho target-platform-configuration plugin.

Then, once we have proper p2 sites for Kura and it's target platform, we can consider moving examples to its own repo.

Note: the examples repo would then become the User workspace as it would be possible to have a self-contained Tycho build and all the required bundles to run an emulator in the Eclipse IDE.

dwoodard1 commented 7 years ago

+1 Do you want to assign this to me since I have already been looking into this? Just to make sure we aren't duplicating work.

MMaiero commented 7 years ago

@dwoodard1 I've started implementing that in #1439. Maybe we can take it as a starting point, if it is ok for you.

dwoodard1 commented 7 years ago

@MMaiero Sounds good. One question, how are we going to handle the develop branch of the examples? Are we going to push the develop/snapshot P2 repo to a public server?

cdealti commented 7 years ago

One question, how are we going to handle the develop branch of the examples? Are we going to push the develop/snapshot P2 repo to a public server?

This is really a good question.

I believe we all agree that it should be possible to build the examples locally without having the Kura p2 site(s) hosted somewhere. This is a must for the Kura developer who needs to test locally first.

For CI (Hudson/Jenkins/Travis) I believe we need to be able to configure the examples build against:

  1. A specific release of Kura, for example the last
  2. The current Kura development

and in both cases we need the Kura p2 sites (release and snapshot) deployed somewhere.

The Nexus Unzip Plugin could help [1], [2] but I doubt it's available from Eclipse or OSSRH.

Maybe we should explore what Eclipse itself does for the IDE?

[1] https://wiki.eclipse.org/Tycho/Nexus_Unzip_Plugin [2] http://www.vogella.com/tutorials/Nexus/article.html#p2-nexus-plugins

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.