[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mh_make full log



On Wed, Jun 27, 2018 at 02:33:32PM +0300, Mykola Nikishov wrote:
> Geert Stappers <stappers@stappers.nl> writes:
> 
> >> But where set "bundle version should be 3.5.0" ??

3.5.0  is the version of maven bundle plugin being installed.


> >> | $ grep --context=2 bundle $( find . -name pom.xml )
> >
> > Search for 'bundle' in the seven pom.xml files
> > and hope to catch a version number or something alike
> 
> If I need to find almost anything about the project, I would never start
> with grep but Maven itself

Yes, I'm new to the maven world

> > Help is needed
> 
> tl;dr - maven-bundle-plugin:3.2.0 is required by the project
> 
>     $ git clone https://salsa.debian.org/stappers/jackson-modules-base.git .
>     $ mvn help:effective-pom -Doutput=effective-pom.xml
> 
> The last command will resolve all versions and write them into
> effective-pom.xml file. And now it actually makes sense to use grep:
> 
>     $ grep --line-number --context=2 maven-bundle-plugin effective-pom.xml
>     502-          <plugin>
>     503-            <groupId>org.apache.felix</groupId>
>     504:            <artifactId>maven-bundle-plugin</artifactId>
>     505-            <version>3.2.0</version>
>     506-            <configuration>
>     --
>     788-        <plugin>
>     789-          <groupId>org.apache.felix</groupId>
>     790:          <artifactId>maven-bundle-plugin</artifactId>
>     791-          <version>3.2.0</version>
>     792-          <extensions>true</extensions>
>     --
>     1944-          <plugin>
>     1945-            <groupId>org.apache.felix</groupId>
>     1946:            <artifactId>maven-bundle-plugin</artifactId>
>     1947-            <version>3.2.0</version>
>     1948-            <configuration>
>     --
>     2279-        <plugin>
>     2280-          <groupId>org.apache.felix</groupId>
>     2281:          <artifactId>maven-bundle-plugin</artifactId>
>     2282-          <version>3.2.0</version>
>     2283-          <extensions>true</extensions>
> 
> Hope this helps.

Yes, it does.
I do now know how to check, do know now how to see what is wrong.
 ( key line is:  mvn help:effective-pom -Doutput=effective-pom.xml )


Thing that I mis is what to modify to get
|-      <groupId>org.apache.felix</groupId>
|:      <artifactId>maven-bundle-plugin</artifactId>
|-      <version>3.5.0</version>
upon:
  mvn help:effective-pom -Doutput=effective-pom.xml
  grep --context=1 maven-bundle-plugin effective-pom.xml
before running
  mh_make
again


Groeten
Geert Stappers
-- 
Leven en laten leven


Reply to: