The repo for camel has been closed. Let's review the generator and
understand the problem. Then we can cut the release again

Il ven 21 feb 2020, 22:24 Gregor Zurowski <gre...@list.zurowski.org> ha
scritto:

> After building the module, the camel-apt dependency got added again:
>
> ===
>     <!--START OF GENERATED CODE-->
>     <dependency>
>       <groupId>org.apache.camel.springboot</groupId>
>       <artifactId>camel-core-starter</artifactId>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.camel.springboot</groupId>
>       <artifactId>camel-spring-boot-starter</artifactId>
>     </dependency>
>     <dependency>
>       <groupId>org.apache.camel</groupId>
>       <artifactId>apt</artifactId>
>       <version>${camel-version}</version>
>     </dependency>
>     <!--END OF GENERATED CODE-->
> ===
>
> On Fri, Feb 21, 2020 at 10:14 PM Andrea Cosentino <anco...@gmail.com>
> wrote:
> >
> > To me this is not a blocker for the release. The starter looks good in
> > terms of dependency. Let's just open an issue tracking this
> >
> > Il ven 21 feb 2020, 22:12 Gregor Zurowski <gre...@list.zurowski.org> ha
> > scritto:
> >
> > > I've tried this, but it creates a jetty-starter module with some
> > > weird-looking comments with "Dozer". Following is the generated
> > > pom.xml:
> > >
> > > ===
> > > <project xmlns="http://maven.apache.org/POM/4.0.0";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > http://maven.apache.org/maven-v4_0_0.xsd";>
> > >     <modelVersion>4.0.0</modelVersion>
> > >     <parent>
> > >         <groupId>org.apache.camel.springboot</groupId>
> > >         <artifactId>components-starter</artifactId>
> > >         <version>3.1.0-SNAPSHOT</version>
> > >     </parent>
> > >     <artifactId>camel-jetty-starter</artifactId>
> > >     <packaging>jar</packaging>
> > > <!--    <name>Camel Spring Boot :: Starters :: Dozer</name>-->
> > > <!--    <description>Spring-Boot Starter for Camel Support for the
> > > Dozer type conversion framework</description>-->
> > >     <dependencies>
> > >         <dependency>
> > >             <groupId>org.springframework.boot</groupId>
> > >             <artifactId>spring-boot-starter</artifactId>
> > >             <version>${spring-boot-version}</version>
> > >         </dependency>
> > >         <dependency>
> > >             <groupId>org.apache.camel</groupId>
> > >             <artifactId>camel-jetty</artifactId>
> > >             <version>${camel-version}</version>
> > >         </dependency>
> > >         <!--START OF GENERATED CODE-->
> > >         <dependency>
> > >             <groupId>org.apache.camel.springboot</groupId>
> > >             <artifactId>camel-core-starter</artifactId>
> > >         </dependency>
> > >         <dependency>
> > >             <groupId>org.apache.camel.springboot</groupId>
> > >             <artifactId>camel-spring-boot-starter</artifactId>
> > >         </dependency>
> > >         <!--END OF GENERATED CODE-->
> > >     </dependencies>
> > > </project>
> > > ===
> > >
> > > Although the apt dependency is gone, I don't believe this was properly
> > > generated.
> > >
> > > Any ideas?
> > >
> > > On Fri, Feb 21, 2020 at 9:47 PM Andrea Cosentino <anco...@gmail.com>
> > > wrote:
> > > >
> > > > Or better use the starter-delete and the starte-create. Apt
> shouldn't be
> > > > there
> > > >
> > > > Il ven 21 feb 2020, 21:33 Andrea Cosentino <anco...@gmail.com> ha
> > > scritto:
> > > >
> > > > > Maybe you can try to totally remove the starter folder and
> recreate it
> > > > > from scratch. The generator adds but doesn't remove...
> > > > >
> > > > > Il ven 21 feb 2020, 21:27 Gregor Zurowski <
> gre...@list.zurowski.org>
> > > ha
> > > > > scritto:
> > > > >
> > > > >> Hi Everyone:
> > > > >>
> > > > >> I am currently running in the following issue when building Camel
> > > Spring
> > > > >> Boot:
> > > > >>
> > > > >> ===
> > > > >> [INFO] [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> [INFO] [INFO] BUILD FAILURE
> > > > >> [INFO] [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> [INFO] [INFO] Total time:  08:59 min
> > > > >> [INFO] [INFO] Finished at: 2020-02-21T04:26:58-08:00
> > > > >> [INFO] [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> [INFO] [WARNING] The requested profile "enable-schemagen" could
> not be
> > > > >> activated because it does not exist.
> > > > >> [INFO] [WARNING] The requested profile "apt" could not be
> activated
> > > > >> because it does not exist.
> > > > >> [INFO] [WARNING] The requested profile "hibernate" could not be
> > > > >> activated because it does not exist.
> > > > >> [INFO] [ERROR] Failed to execute goal on project
> camel-jetty-starter:
> > > > >> Could not resolve dependencies for project
> > > > >>
> org.apache.camel.springboot:camel-jetty-starter:jar:3.1.0-SNAPSHOT:
> > > > >> Could not find artifact org.apache.camel:apt:jar:3.1.0 in central
> > > > >> (https://repo.maven.apache.org/maven2) -> [Help 1]
> > > > >> ===
> > > > >>
> > > > >> As per our migration guide, the camel-apt module has been
> deprecated
> > > [1].
> > > > >>
> > > > >> The pom.xml for camel-jetty-starter contains the following
> dependency:
> > > > >>
> > > > >> ===
> > > > >>     <!--START OF GENERATED CODE-->
> > > > >>     [...]
> > > > >>     <dependency>
> > > > >>       <groupId>org.apache.camel</groupId>
> > > > >>       <artifactId>apt</artifactId>
> > > > >>       <version>${camel-version}</version>
> > > > >>     </dependency>
> > > > >>     <!--END OF GENERATED CODE-->
> > > > >> ===
> > > > >>
> > > > >> Please note that the dependency is part of the generated code.
> Can you
> > > > >> please point me in the right direction on how to properly replace
> this
> > > > >> dependency with the code provided in the migration guide?
> > > > >>
> > > > >> Thanks in advance,
> > > > >> Gregor
> > > > >>
> > > > >> [1]
> > > > >>
> > >
> https://camel.apache.org/manual/latest/camel-3x-upgrade-guide.html#_custom_components
> > > > >>
> > > > >> On Fri, Feb 21, 2020 at 1:33 PM Gregor Zurowski
> > > > >> <gre...@list.zurowski.org> wrote:
> > > > >> >
> > > > >> > Hi,
> > > > >> >
> > > > >> > There are still multiple issues with the Spring Boot release
> and I
> > > > >> > will look further into those later today. The current problems
> are
> > > > >> > mainly misalignments between Camel and the corresponding starter
> > > > >> > components.
> > > > >> >
> > > > >> > Thanks,
> > > > >> > Gregor
> > > > >> >
> > > > >> > On Fri, Feb 21, 2020 at 1:05 PM Claus Ibsen <
> claus.ib...@gmail.com>
> > > > >> wrote:
> > > > >> > >
> > > > >> > > Hi Gregor
> > > > >> > >
> > > > >> > > How is it going with the release?
> > > > >> > >
> > > > >> > > On Fri, Feb 21, 2020 at 8:40 AM Gregor Zurowski
> > > > >> > > <gre...@list.zurowski.org> wrote:
> > > > >> > > >
> > > > >> > > > I found the issue in the meantime and fixed it on the
> release
> > > > >> branch:
> > > > >> > > > https://github.com/apache/camel-spring-boot/commit/e354d5af
> > > > >> > > >
> > > > >> > > > I am moving forward now and hope to release Camel Spring
> Boot
> > > 3.1.0
> > > > >> > > > without further issues.
> > > > >> > > >
> > > > >> > > > Thanks Andrea for your support!
> > > > >> > > >
> > > > >> > > > On Thu, Feb 20, 2020 at 7:39 PM Gregor Zurowski
> > > > >> > > > <gre...@list.zurowski.org> wrote:
> > > > >> > > > >
> > > > >> > > > > Hi Everyone:
> > > > >> > > > >
> > > > >> > > > > After creating the Camel 3.1.0 release, I've attempted to
> > > create
> > > > >> the
> > > > >> > > > > Camel Spring Boot 3.1.0 release, but ran into the
> following
> > > issue:
> > > > >> > > > >
> > > > >> > > > > When running a dry run for release:prepare, I am getting
> the
> > > > >> following error:
> > > > >> > > > >
> > > > >> > > > > [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> > > > > [INFO] BUILD FAILURE
> > > > >> > > > > [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> > > > > [INFO] Total time:  7.711 s
> > > > >> > > > > [INFO] Finished at: 2020-02-20T10:12:35-08:00
> > > > >> > > > > [INFO]
> > > > >>
> > >
> ------------------------------------------------------------------------
> > > > >> > > > > [ERROR] Failed to execute goal
> > > > >> > > > >
> org.apache.maven.plugins:maven-release-plugin:2.4.2:prepare
> > > > >> > > > > (default-cli) on project spring-boot: The version could
> not be
> > > > >> > > > > updated: ${camel-version} -> [Help 1]
> > > > >> > > > >
> > > > >> > > > > I am not sure why this happens, but I recall we had a
> similar
> > > > >> issue
> > > > >> > > > > fixed by Guillaume when we prepare the Camel 3.1.0
> release.
> > > > >> > > > >
> > > > >> > > > > If you want to take a look, please checkout the
> release/3.1.0
> > > > >> branch
> > > > >> > > > > as I needed to make several changes:
> > > > >> > > > >
> > > https://github.com/apache/camel-spring-boot/tree/release/3.1.0
> > > > >> > > > >
> > > > >> > > > > Thanks in advance,
> > > > >> > > > > Gregor
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> > > --
> > > > >> > > Claus Ibsen
> > > > >> > > -----------------
> > > > >> > > http://davsclaus.com @davsclaus
> > > > >> > > Camel in Action 2: https://www.manning.com/ibsen2
> > > > >>
> > > > >
> > >
>

Reply via email to