Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ebr-dev] Import Package version question

Hi Sean,

It seems that the artifact does not use semantic versioning. I think you need to use a scheme that fits best. You can override the version in the generated pom.xml. You can also modify the bnd file and remove any version from imports and exports. That's probably a more pragmatic approach.

The second observation is that they use shading to embed dependencies. It's interesting that this gets detected as a dependency. Those "jarjar" packages should all be within the closure-compiler jar and exported/included as part of the bundle. Did you look into the jar?

-Gunnar

-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx, http://guw.io/

On Jan 29, 2021, at 23:40, sean.muir@xxxxxxxxxxxxxxx wrote:

Hello

I was attempting execute the following in attempt to leverage closure-compiler as plugin 


mvn org.eclipse.ebr:ebr-maven-plugin::create-recipe \
  -DbundleSymbolicName=closure-compiler.ebr \
  -DgroupId=com.google._javascript_ \
  -DartifactId=closure-compiler \
  -Dversion=v20191027


The version is not #.#.# so I am getting several issues with dependencies when installing 


Import packages snippet 

com.google.debugging.sourcemap.proto;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.bundle;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.colors;resolution=optional,
 com.google._javascript_.jscomp.deps;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.diagnostic;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.disambiguate;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.graph;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.ijs;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.instrumentation;resolution=optional;version="[0.0,1)",
 com.google._javascript_.jscomp.jarjar.com.google.appengine.api;resolution=optional,
 com.google._javascript_.jscomp.jarjar.com.google.apphosting.api;resolution=optional,

In particular 

com.google._javascript_.jscomp.jarjar.com.google.appengine.api; is a missing dependency when installing 

I was not able to figure out how this dependency is generated and what I need to adjust on the osgibnd file 


Appreciate any help

Sean





_______________________________________________
ebr-dev mailing list
ebr-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ebr-dev


Back to the top