Re: [osgi-dev] OSGI enroute bndrun file

2018-07-26 Thread BJ Hargrave via osgi-dev
The most recent versions of the gradle and maven support will make the project's dependencies available as bundles to the bndrun files.
 
For example:
https://github.com/bndtools/bnd/blob/26db7e381621f87ac81810fffe86e0c2224a6af0/maven/bnd-export-maven-plugin/src/main/java/aQute/bnd/maven/export/plugin/ExportMojo.java#L107-L109
 
and
 
https://github.com/bndtools/bnd/blob/26db7e381621f87ac81810fffe86e0c2224a6af0/biz.aQute.bnd.gradle/src/aQute/bnd/gradle/FileSetRepositoryConvention.groovy#L33-L36
 
--BJ HargraveSenior Technical Staff Member, IBM // office: +1 386 848 1781OSGi Fellow and CTO of the OSGi Alliance // mobile: +1 386 848 3788hargr...@us.ibm.com
 
 
- Original message -From: "Matthews, Kevin via osgi-dev" Sent by: osgi-dev-boun...@mail.osgi.orgTo: "osgi-dev@mail.osgi.org" Cc:Subject: [osgi-dev] OSGI enroute bndrun fileDate: Thu, Jul 26, 2018 3:05 PM  
Hello,
 
I would like to know will there be any change in the future to Enroute project as to how we add dependencies to .bdnrun Requirements project. It seems, if we create an OSGI project we have to add dependencies to maven or gradle pom.xml build.gradle then we have add dependencies to our composite application .bndrun file. Will there be in the future such as a maven plugin or gradle plugin to automactically add transitive dependies to the .bndrun file. Sometimes we have to maintain 2 files build management and run requirements file and just to wire components can take time.
 
Kevin Matthews Senior Application Analyst 
First Data, 3975 NW 120 Ave, Coral Springs, FL 33065Office: 954-845-4222 | Mobile: 561-465-6694kevin.matth...@firstdata.com | firstdata.com 
 
The information in this message may be proprietary and/or confidential, and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify First Data immediately by replying to this message and deleting it from your computer.
___OSGi Developer Mail Listosgi-dev@mail.osgi.orghttps://mail.osgi.org/mailman/listinfo/osgi-dev
 

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Re: [osgi-dev] Possible issue

2018-07-26 Thread Tim Ward via osgi-dev
Hi Julio,

I’m not quite sure that I follow your problem. The quickstart tutorial uses the 
project template, and creates the following module structure:

quickstart/
  |
  |- app/
  | |
  | |-pom.xml
  |
  |- impl/
  |  |
  |  |- pom.xml
  |
  |- pom.xml

The artifactId “quickstart” is given to the reactor pom, which is also used as 
the parent. The other modules are called “app” and “impl” as per the project 
template. This does not result in any collisions.

My guess is that you are doing something else and not using the project 
archetype to create the quickstart example.

Best Regards,

Tim Ward

> On 26 Jul 2018, at 13:25, Julio Calvo via osgi-dev  
> wrote:
> 
> Dear friends from OSG enRoute,
>  
> In https://enroute.osgi.org/tutorial/020-tutorial_qs.html 
>  there is a possible 
> issue or at least I don’t find the way to follow the tutorial unless I change 
> a small part of the project setup you explain. 
>  
> In Recreating Quick Start – Project Setup: Define value for property 
> 'artifactId': quickstart
>  
> If the user write quickstart following your suggestion, there will be a 
> problem with collisions in pom.xml files between parentId and artefactId 
> (will name the same), taking into account that folder names will be the same 
> quickstart/quickstart.
>  
> Please, let me know if I am talking no sense.
>  
> Many thanks for your help and time.
>  
>  
>  
> ___
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org 
> https://mail.osgi.org/mailman/listinfo/osgi-dev 
> 
___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

[osgi-dev] Possible issue

2018-07-26 Thread Julio Calvo via osgi-dev
Dear friends from OSG enRoute,

In https://enroute.osgi.org/tutorial/020-tutorial_qs.html there is a possible 
issue or at least I don’t find the way to follow the tutorial unless I change a 
small part of the project setup you explain. 

In Recreating Quick Start – Project Setup: Define value for property 
'artifactId': quickstart

If the user write quickstart following your suggestion, there will be a problem 
with collisions in pom.xml files between parentId and artefactId (will name the 
same), taking into account that folder names will be the same 
quickstart/quickstart.

Please, let me know if I am talking no sense.

Many thanks for your help and time.

 

___
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev