I ran into another error with camel-grpc:

```
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test
(default-test) on project camel-grpc: No tests matching pattern
"false" were executed! (Set -Dsurefire.failIfNoSpecifiedTests=false to
ignore this error.) -> [Help 1]
```

camel-grpc has its own surefire plugin configuration:

```
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <skipTests>${skipTests}</skipTests>
  </configuration>
</plugin>
```

I updated the release profile to set the `skipTests` property
accordingly: 
https://github.com/apache/camel/commit/98911009b3b976bcaa93ace5ebc79671feaf4d57

The 3.x branch is now good for release. Will wait for the Spring Boot updates.

Thanks
Gregor

On Thu, Jun 22, 2023 at 7:16 AM Gregor Zurowski
<gre...@list.zurowski.org> wrote:
>
> Hi Claus,
>
> I confirm that it now works for me as expected. No errors on
> `camel-bundle-plugin` and tests are not getting executed.
>
> Thanks a lot!
>
> Gregor
>
> On Wed, Jun 21, 2023 at 2:51 PM Claus Ibsen <claus.ib...@gmail.com> wrote:
> >
> > Hi Gregor
> >
> > Okay I think I may have fixed it with setting surefire to skip tests. Now I
> > can do the dry run and no tests are executed at all
> > https://github.com/apache/camel/commit/d5bbc6b8f431dd03b4ab75a033e7f51f9eb5b8e8
> >
> > If this works for you, then we need to make same change on main branch.
> >
> > Before cutting 3.21.0 then we need to update to the new SB that is released
> > tomorrow.
> >
> >
> > On Tue, Jun 20, 2023 at 2:55 PM Gregor Zurowski <gre...@list.zurowski.org>
> > wrote:
> >
> > > Hi Claus,
> > >
> > > When I run `release:prepare -Prelease -DdryRun` at the root of the
> > > project, no unit tests are executed.
> > >
> > > I am using the Maven Wrapper (at project root) which gives the
> > > following details when invoked:
> > >
> > > ```
> > > Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63)
> > > Maven home:
> > > /root/.m2/wrapper/dists/apache-maven-3.8.6-bin/67568434/apache-maven-3.8.6
> > > Java version: 11.0.11, vendor: AdoptOpenJDK, runtime: /opt/java/openjdk
> > > [...]
> > > ```
> > >
> > > Thanks,
> > > Gregor
> > >
> > > On Tue, Jun 20, 2023 at 2:18 PM Claus Ibsen <claus.ib...@gmail.com> wrote:
> > > >
> > > > Hi Gregor
> > > >
> > > > Btw what Maven version do you use?
> > > >
> > > > I am using 3.9.2
> > > >
> > > > On Tue, Jun 20, 2023 at 12:04 PM Gregor Zurowski <
> > > gre...@list.zurowski.org>
> > > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I've looked at the camel-3.x branch before, but I am running into the
> > > > > following issue when running `release:prepare`:
> > > > >
> > > > > ```
> > > > > [ERROR] Failed to execute goal
> > > > > org.apache.maven.plugins:maven-surefire-plugin:3.1.2:test
> > > > > (default-test) on project camel-bundle-plugin: No tests matching
> > > > > pattern "false" were executed! (Set
> > > > > -Dsurefire.failIfNoSpecifiedTests=false to ignore this error.) ->
> > > > > [Help 1]
> > > > > ```
> > > > >
> > > > > This can be easily reproduced by running `mvn release:prepare
> > > > > -Prelease -DdryRun` on the `camel-3.x` branch.
> > > > >
> > > > > Can someone take a look please?
> > > > >
> > > > > Thanks in advance
> > > > > Gregor
> > > > >
> > > > > On Tue, Jun 20, 2023 at 11:12 AM Claus Ibsen <claus.ib...@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > Hi
> > > > > >
> > > > > > For 3.21 then we need to wait until friday as we want to upgrade to
> > > > > latest
> > > > > > SB that is to be released on thursday
> > > > > >
> > > > > >
> > > > > > On Fri, Jun 16, 2023 at 10:47 AM Claus Ibsen <claus.ib...@gmail.com>
> > > > > wrote:
> > > > > >
> > > > > > > Hi
> > > > > > >
> > > > > > > Btw it would be good to get the bouncycastle 1.74 upgrade included
> > > (CVE
> > > > > > > fix)
> > > > > > > https://issues.apache.org/jira/browse/CAMEL-19458
> > > > > > >
> > > > > > > On Fri, Jun 16, 2023 at 9:00 AM Claus Ibsen <claus.ib...@gmail.com
> > > >
> > > > > wrote:
> > > > > > >
> > > > > > >> Hi
> > > > > > >>
> > > > > > >> The branches are ready for cutting 3.21.0 release.
> > > > > > >>
> > > > > > >> Gregor, more work for you :)
> > > > > > >>
> > > > > > >>
> > > > > > >>
> > > > > > >> On Wed, Jun 14, 2023 at 4:23 PM Claus Ibsen <
> > > claus.ib...@gmail.com>
> > > > > > >> wrote:
> > > > > > >>
> > > > > > >>> Hi
> > > > > > >>>
> > > > > > >>> So I had to do some fix and cleanup for 3.x branches to make it
> > > ready
> > > > > > >>> for 3.21.0 release.
> > > > > > >>>
> > > > > > >>> There was some changes in a sync plugin for
> > > > > camel-dependencies/pom.xml
> > > > > > >>> that was done to prepare for Maven v4 support.
> > > > > > >>> However this is broken in OSGi and causes camel-osgi-core not
> > > able
> > > > > to be
> > > > > > >>> built at all. I have reverted this back so 3.21 will be
> > > > > > >>> the same as 3.20.
> > > > > > >>>
> > > > > > >>> I am doing a bit more testing and checks before giving the green
> > > > > light.
> > > > > > >>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> On Wed, Jun 14, 2023 at 1:31 PM Claus Ibsen <
> > > claus.ib...@gmail.com>
> > > > > > >>> wrote:
> > > > > > >>>
> > > > > > >>>> Hi
> > > > > > >>>>
> > > > > > >>>> I need to do a little bit of cleaning etc but I also think we
> > > are
> > > > > soon
> > > > > > >>>> ready for cutting 3.21 LTS as well.
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>>>
> > > > > > >>>> --
> > > > > > >>>> Claus Ibsen
> > > > > > >>>> -----------------
> > > > > > >>>> @davsclaus
> > > > > > >>>> Camel in Action 2: https://www.manning.com/ibsen2
> > > > > > >>>>
> > > > > > >>>
> > > > > > >>>
> > > > > > >>> --
> > > > > > >>> Claus Ibsen
> > > > > > >>> -----------------
> > > > > > >>> @davsclaus
> > > > > > >>> Camel in Action 2: https://www.manning.com/ibsen2
> > > > > > >>>
> > > > > > >>
> > > > > > >>
> > > > > > >> --
> > > > > > >> Claus Ibsen
> > > > > > >> -----------------
> > > > > > >> @davsclaus
> > > > > > >> Camel in Action 2: https://www.manning.com/ibsen2
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Claus Ibsen
> > > > > > > -----------------
> > > > > > > @davsclaus
> > > > > > > Camel in Action 2: https://www.manning.com/ibsen2
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Claus Ibsen
> > > > > > -----------------
> > > > > > @davsclaus
> > > > > > Camel in Action 2: https://www.manning.com/ibsen2
> > > > >
> > > >
> > > >
> > > > --
> > > > Claus Ibsen
> > > > -----------------
> > > > @davsclaus
> > > > Camel in Action 2: https://www.manning.com/ibsen2
> > >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > @davsclaus
> > Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to