Maybe also adding

    <pluginManagement>
      <plugins>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>${maven-surefire-plugin-version}</version>
                        <configuration>

<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
                            <failIfNoTests>false</failIfNoTests>
                        </configuration>
        </plugin>
      </plugins>
    </pluginManagement>

In the archetype resources might help

Il giorno lun 6 mar 2023 alle ore 11:31 Claus Ibsen <claus.ib...@gmail.com>
ha scritto:

> Hi
>
> Damn, can you try with this commit
>
> https://github.com/apache/camel/commit/afa1a18c9abbe684218864c86bf817bdd29a5b54
>
>
>
> On Mon, Mar 6, 2023 at 11:17 AM Gregor Zurowski <gre...@list.zurowski.org>
> wrote:
>
> > Unfortunately the issue still persists:
> >
> > ```
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary for Camel Dummy Component Parent 0.0.1:
> > [INFO]
> > [INFO] Camel Dummy Component Parent ....................... SUCCESS [
> > 0.233 s]
> > [INFO] Camel Dummy Component API .......................... FAILURE [
> > 0.991 s]
> > [INFO] Camel Dummy Component .............................. SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 1.422 s
> > [INFO] Finished at: 2023-03-06T10:15:08Z
> > [INFO]
> > ------------------------------------------------------------------------
> > [WARNING] The requested profile "release" could not be activated
> > because it does not exist.
> > [WARNING] The requested profile "sourcecheck" could not be activated
> > because it does not exist.
> > [WARNING] The requested profile "hibernate" could not be activated
> > because it does not exist.
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
> > (default-test) on project build-it-api: No tests were executed! (Set
> > -DfailIfNoTests=false to ignore this error.) -> [Help 1]
> > ```
> >
> > On Mon, Mar 6, 2023 at 9:31 AM Gregor Zurowski <gre...@list.zurowski.org
> >
> > wrote:
> > >
> > > I will pull in your commits and try again.
> > >
> > > Thanks,
> > > Gregor
> > >
> > > On Mon, Mar 6, 2023 at 6:46 AM Claus Ibsen <claus.ib...@gmail.com>
> > wrote:
> > > >
> > > > Hi
> > > >
> > > > I pushed some commits to the main branch that re-orders the build so
> > > > archetypes are built after the catalog.
> > > > That could help at least that the dummy component has been generated
> > before
> > > > the archetypes.
> > > >
> > > > To disable the testing then yeah I am puzzled as well. We can also
> > > > temporarily remove those tests from archetype, and restore after M2
> to
> > give
> > > > more time for finding a solution.
> > > >
> > > >
> > > >
> > > > On Sun, Mar 5, 2023 at 9:31 PM Claus Ibsen <claus.ib...@gmail.com>
> > wrote:
> > > >
> > > > > I have created a ticket to make it easier to build catalog before
> > > > > archetypes
> > > > >
> > > > > This requires to remove a little bit in CamelCatalog that we dont
> > really
> > > > > use for anything
> > > > > https://issues.apache.org/jira/browse/CAMEL-19117
> > > > >
> > > > >
> > > > >
> > > > > On Sun, Mar 5, 2023 at 9:22 PM Claus Ibsen <claus.ib...@gmail.com>
> > wrote:
> > > > >
> > > > >> Hi
> > > > >>
> > > > >> What would we need to do to try to reproduce this?
> > > > >>
> > > > >> mvn verify
> > > > >>
> > > > >> runs the integration tests and all archetypes succeeds the tests.
> > > > >>
> > > > >> Even if we hack to disable something in api-component then it may
> > just
> > > > >> fail at the next archetype.
> > > > >> Did we not have a similar problem like this in the past?
> > > > >>
> > > > >> Ah it may be that catalog must be build first as it has the
> > > > >> dummy-component, and we have order
> > > > >>
> > > > >>         <module>archetypes</module>
> > > > >>         <module>catalog</module>
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >> On Sun, Mar 5, 2023 at 1:43 PM Gregor Zurowski <
> > gre...@list.zurowski.org>
> > > > >> wrote:
> > > > >>
> > > > >>> It didn't really do anything. I assume because it would need to
> be
> > > > >>> configured within the dummy project generated by the archetype?
> > > > >>>
> > > > >>> Thanks
> > > > >>> Gregor
> > > > >>>
> > > > >>> On Sun, Mar 5, 2023 at 11:04 AM Gregor Zurowski
> > > > >>> <gre...@list.zurowski.org> wrote:
> > > > >>> >
> > > > >>> > I have added a surefire plugin configuration to the release
> > profile
> > > > >>> > section and am trying to prepare the release with that
> > configuration.
> > > > >>> > I am wondering if that will help due to the message `[WARNING]
> > The
> > > > >>> > requested profile "release" could not be activated because it
> > does not
> > > > >>> > exist.`
> > > > >>> >
> > > > >>> > Will post an update.
> > > > >>> >
> > > > >>> > On Sun, Mar 5, 2023 at 10:57 AM Gregor Zurowski
> > > > >>> > <gre...@list.zurowski.org> wrote:
> > > > >>> > >
> > > > >>> > > Good point, let me try.
> > > > >>> > >
> > > > >>> > > On Sun, Mar 5, 2023 at 10:44 AM Andrea Cosentino <
> > anco...@gmail.com>
> > > > >>> wrote:
> > > > >>> > > >
> > > > >>> > > > I think you should add the configuration to surefire plugin
> > and not
> > > > >>> > > > failsafe only
> > > > >>> > > >
> > > > >>> > > > Il dom 5 mar 2023, 10:42 Andrea Cosentino <
> anco...@gmail.com>
> > ha
> > > > >>> scritto:
> > > > >>> > > >
> > > > >>> > > > > Ah no, already done..
> > > > >>> > > > >
> > > > >>> > > > > Il dom 5 mar 2023, 10:42 Andrea Cosentino <
> > anco...@gmail.com>
> > > > >>> ha scritto:
> > > > >>> > > > >
> > > > >>> > > > >> Can you add also failIfNoTests?
> > > > >>> > > > >>
> > > > >>> > > > >> Il dom 5 mar 2023, 10:37 Gregor Zurowski <
> > > > >>> gre...@list.zurowski.org> ha
> > > > >>> > > > >> scritto:
> > > > >>> > > > >>
> > > > >>> > > > >>> I am having an issue during the prepare phase building
> > > > >>> > > > >>> camel-archetype-api-component. It runs the integration
> > tests
> > > > >>> (although
> > > > >>> > > > >>> it shouldn't?) and fails as follows:
> > > > >>> > > > >>>
> > > > >>> > > > >>> ```
> > > > >>> > > > >>> [INFO]
> > > > >>> > > > >>>
> > > > >>>
> > ------------------------------------------------------------------------
> > > > >>> > > > >>> [INFO] Reactor Summary for Camel Dummy Component Parent
> > 0.0.1:
> > > > >>> > > > >>> [INFO]
> > > > >>> > > > >>> [INFO] Camel Dummy Component Parent
> > .......................
> > > > >>> SUCCESS [
> > > > >>> > > > >>> 0.249 s]
> > > > >>> > > > >>> [INFO] Camel Dummy Component API
> > ..........................
> > > > >>> FAILURE [
> > > > >>> > > > >>> 0.897 s]
> > > > >>> > > > >>> [INFO] Camel Dummy Component
> > ..............................
> > > > >>> SKIPPED
> > > > >>> > > > >>> [INFO]
> > > > >>> > > > >>>
> > > > >>>
> > ------------------------------------------------------------------------
> > > > >>> > > > >>> [INFO] BUILD FAILURE
> > > > >>> > > > >>> [INFO]
> > > > >>> > > > >>>
> > > > >>>
> > ------------------------------------------------------------------------
> > > > >>> > > > >>> [...]
> > > > >>> > > > >>> [WARNING] The requested profile "release" could not be
> > > > >>> activated
> > > > >>> > > > >>> because it does not exist.
> > > > >>> > > > >>> [WARNING] The requested profile "sourcecheck" could not
> > be
> > > > >>> activated
> > > > >>> > > > >>> because it does not exist.
> > > > >>> > > > >>> [WARNING] The requested profile "hibernate" could not
> be
> > > > >>> activated
> > > > >>> > > > >>> because it does not exist.
> > > > >>> > > > >>> [ERROR] Failed to execute goal
> > > > >>> > > > >>>
> > org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
> > > > >>> > > > >>> (default-test) on project build-it-api: No tests were
> > > > >>> executed! (Set
> > > > >>> > > > >>> -DfailIfNoTests=false to ignore this error.) -> [Help
> 1]
> > > > >>> > > > >>> org.apache.maven.lifecycle.LifecycleExecutionException:
> > Failed
> > > > >>> to
> > > > >>> > > > >>> execute goal
> > > > >>> org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test
> > > > >>> > > > >>> (default-test) on project build-it-api: No tests were
> > > > >>> executed! (Set
> > > > >>> > > > >>> -DfailIfNoTests=false to ignore this error.)
> > > > >>> > > > >>> ```
> > > > >>> > > > >>>
> > > > >>> > > > >>> Any ideas?
> > > > >>> > > > >>>
> > > > >>> > > > >>> Thanks,
> > > > >>> > > > >>> Gregor
> > > > >>> > > > >>>
> > > > >>> > > > >>>
> > > > >>> > > > >>> On Sat, Mar 4, 2023 at 7:36 AM Claus Ibsen <
> > > > >>> claus.ib...@gmail.com>
> > > > >>> > > > >>> wrote:
> > > > >>> > > > >>> >
> > > > >>> > > > >>> > Hi
> > > > >>> > > > >>> >
> > > > >>> > > > >>> > Thanks Gregor.
> > > > >>> > > > >>> >
> > > > >>> > > > >>> > The branches are ready for cutting M2 - good luck.
> > > > >>> > > > >>> >
> > > > >>> > > > >>> >
> > > > >>> > > > >>> > On Sat, Mar 4, 2023 at 2:54 AM Gregor Zurowski <
> > > > >>> > > > >>> gre...@list.zurowski.org>
> > > > >>> > > > >>> > wrote:
> > > > >>> > > > >>> >
> > > > >>> > > > >>> > > I have created the following two PRs for the Spring
> > Boot
> > > > >>> 3.0.4
> > > > >>> > > > >>> upgrade:
> > > > >>> > > > >>> > >
> > > > >>> > > > >>> > > Camel Spring Boot:
> > > > >>> > > > >>> https://github.com/apache/camel-spring-boot/pull/771
> > > > >>> > > > >>> > > Camel core dependencies:
> > > > >>> https://github.com/apache/camel/pull/9467
> > > > >>> > > > >>> > >
> > > > >>> > > > >>> > > On Thu, Mar 2, 2023 at 4:24 PM Claus Ibsen <
> > > > >>> claus.ib...@gmail.com>
> > > > >>> > > > >>> wrote:
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > Hi Gregor
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > Just a heads up that we will aim to upgrade to
> > spring
> > > > >>> boot 3.0.4
> > > > >>> > > > >>> that is
> > > > >>> > > > >>> > > to
> > > > >>> > > > >>> > > > be released tomorrow
> > > > >>> > > > >>> > > >
> https://issues.apache.org/jira/browse/CAMEL-19110
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > When that is done then we would be ready for
> > cutting the
> > > > >>> release
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > On Wed, Mar 1, 2023 at 8:11 PM Gregor Zurowski <
> > > > >>> > > > >>> gre...@list.zurowski.org
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > wrote:
> > > > >>> > > > >>> > > >
> > > > >>> > > > >>> > > > > I am available for cutting the release this
> > weekend or
> > > > >>> next week.
> > > > >>> > > > >>> > > > >
> > > > >>> > > > >>> > > > >
> > > > >>> > > > >>> > > > > On Wed, Mar 1, 2023, 9:07 AM Claus Ibsen <
> > > > >>> claus.ib...@gmail.com>
> > > > >>> > > > >>> > > wrote:
> > > > >>> > > > >>> > > > >
> > > > >>> > > > >>> > > > > > Hi
> > > > >>> > > > >>> > > > > >
> > > > >>> > > > >>> > > > > > We should close down for a M2 release.
> > > > >>> > > > >>> > > > > > Lets try to get the last bits ready this
> week,
> > and
> > > > >>> see if
> > > > >>> > > > >>> Gregor has
> > > > >>> > > > >>> > > time
> > > > >>> > > > >>> > > > > > next week to cut M2.
> > > > >>> > > > >>> > > > > >
> > > > >>> > > > >>> > > > > >
> > > > >>> > > > >>> > > > > >
> > > > >>> > > > >>> > > > > > On Fri, Feb 17, 2023 at 7:32 AM Claus Ibsen <
> > > > >>> > > > >>> claus.ib...@gmail.com>
> > > > >>> > > > >>> > > > > wrote:
> > > > >>> > > > >>> > > > > >
> > > > >>> > > > >>> > > > > > > Hi
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > > In March we should aim to release M2.
> > > > >>> > > > >>> > > > > > > We should aim to get the CI server test
> > failures a
> > > > >>> bit more
> > > > >>> > > > >>> fixed.
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > > I would also like to work on removing stuff
> > that
> > > > >>> are
> > > > >>> > > > >>> deprecated and
> > > > >>> > > > >>> > > > > that
> > > > >>> > > > >>> > > > > > > we should not carry forward in v4 - for
> > example the
> > > > >>> > > > >>> InOptionalOut
> > > > >>> > > > >>> > > MEP
> > > > >>> > > > >>> > > > > and
> > > > >>> > > > >>> > > > > > > what else.
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > > There is also some more cleanup in
> > parent/pom.xml
> > > > >>> that would
> > > > >>> > > > >>> be
> > > > >>> > > > >>> > > good,
> > > > >>> > > > >>> > > > > to
> > > > >>> > > > >>> > > > > > > remove clutter.
> > > > >>> > > > >>> > > > > > > The parent/pom.xml is only for Camel itself
> > and
> > > > >>> not end
> > > > >>> > > > >>> users.
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > >
> > > > >>> > > > >>> > > > > > > --
> > > > >>> > > > >>> > > > > > > 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
> >
>
>
> --
> Claus Ibsen
> -----------------
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Reply via email to