Re: Jira Source Kamelet / Jira component & 3.20.1: Could not find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central (https://repo1.maven.org/maven2)/

2023-01-28 Thread Mikael Koskinen
Hi,

Thank you for the quick response and for the help!

I wonder if it would be possible for the tooling (Camel JBang?) to
handle the cases where additional Maven repositories are needed? As a
person who mainly uses Karavan to create the integrations and Camel
JBang as the tool to run them, I was quite clueless of what was going
on.

Couple quick ideas come to mind:
* Maybe a quick dirty mapping directly coded into the tooling: If Jira
is needed, automatically add Atlassian repo etc.
* Some new metadata in the Kamelets / Components could be used to give
the tooling the required information of additional repositories.

I wonder, given there are hundreds of components, is the
Jira/Atlassian a special case or are there some other component &
repositories that will have the similar issues?

Thanks again and have a nice weekend.

Best regards,
Mikael

la 28. tammik. 2023 klo 19.40 Claus Ibsen (claus.ib...@gmail.com) kirjoitti:
>
> atlassian does not release to maven central so you need to add their maven
> repo to jbang or have it pre downloaded.
>
> lør. 28. jan. 2023 kl. 17.54 skrev Mikael Koskinen :
>
> > Hi,
> >
> > I'm trying to get the Jira component to work but without success. The
> > error I'm getting is:
> >
> > Caused by: java.lang.IllegalArgumentException: Cannot find component
> > with name: jira. Did you mean: gora, irc, jcr, jpa, mina
> >
> > And from the stacktrace I can see the following:
> >
> > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> > The following artifacts could not be resolved:
> > com.atlassian.sal:sal-api:jar:4.4.2, com.atlassian.jira:j
> > ira-rest-java-client-api:jar:5.2.4,
> > com.atlassian.jira:jira-rest-java-client-core:jar:5.2.4: Could not
> > find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central
> > (https://r
> > epo1.maven.org/maven2)
> > at
> > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431)
> > ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> > at
> > org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235)
> > ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> > at
> > org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357)
> > ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> > at
> > org.apache.camel.main.download.MavenDependencyDownloader.resolveDependenciesViaAether(MavenDependencyDownloader.java:1190)
> > ~[camel-kamelet-main-3.20.1.jar:3.20.1]
> > at
> > org.apache.camel.main.download.MavenDependencyDownloader.lambda$doDownloadDependency$0(MavenDependencyDownloader.java:365)
> > ~[camel-kamelet-main-3.20.1.jar:3.20.1]
> >
> >
> > Here's a simple YAML to reproduce the issue:
> >
> > apiVersion: camel.apache.org/v1
> > kind: Integration
> > metadata:
> >   name: logger-test
> > spec:
> >   flows:
> > - route:
> > from:
> >   uri: jira:WATCHUPDATES
> >   parameters:
> > jiraUrl: https://company.atlassian.net/jira
> > jql: project=CamelTest
> >   steps:
> > - to:
> > uri: >-
> >
> > http://https://webhook.site/73458678-284f-4c01-a8b8-d3c09a7df
> >
> > And here's one way to run it:
> >
> > jbang run "-Dcamel.jbang.version=3.20.1" --fresh camel@apache/camel
> > run example.yaml
> >
> > Best regards,
> > Mikael
> >
> --
> Claus Ibsen
> -
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2


Re: Jira Source Kamelet / Jira component & 3.20.1: Could not find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central (https://repo1.maven.org/maven2)/

2023-01-28 Thread Claus Ibsen
atlassian does not release to maven central so you need to add their maven
repo to jbang or have it pre downloaded.

lør. 28. jan. 2023 kl. 17.54 skrev Mikael Koskinen :

> Hi,
>
> I'm trying to get the Jira component to work but without success. The
> error I'm getting is:
>
> Caused by: java.lang.IllegalArgumentException: Cannot find component
> with name: jira. Did you mean: gora, irc, jcr, jpa, mina
>
> And from the stacktrace I can see the following:
>
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> The following artifacts could not be resolved:
> com.atlassian.sal:sal-api:jar:4.4.2, com.atlassian.jira:j
> ira-rest-java-client-api:jar:5.2.4,
> com.atlassian.jira:jira-rest-java-client-core:jar:5.2.4: Could not
> find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central
> (https://r
> epo1.maven.org/maven2)
> at
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431)
> ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> at
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235)
> ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> at
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357)
> ~[maven-resolver-impl-1.8.2.jar:1.8.2]
> at
> org.apache.camel.main.download.MavenDependencyDownloader.resolveDependenciesViaAether(MavenDependencyDownloader.java:1190)
> ~[camel-kamelet-main-3.20.1.jar:3.20.1]
> at
> org.apache.camel.main.download.MavenDependencyDownloader.lambda$doDownloadDependency$0(MavenDependencyDownloader.java:365)
> ~[camel-kamelet-main-3.20.1.jar:3.20.1]
>
>
> Here's a simple YAML to reproduce the issue:
>
> apiVersion: camel.apache.org/v1
> kind: Integration
> metadata:
>   name: logger-test
> spec:
>   flows:
> - route:
> from:
>   uri: jira:WATCHUPDATES
>   parameters:
> jiraUrl: https://company.atlassian.net/jira
> jql: project=CamelTest
>   steps:
> - to:
> uri: >-
>
> http://https://webhook.site/73458678-284f-4c01-a8b8-d3c09a7df
>
> And here's one way to run it:
>
> jbang run "-Dcamel.jbang.version=3.20.1" --fresh camel@apache/camel
> run example.yaml
>
> Best regards,
> Mikael
>
-- 
Claus Ibsen
-
@davsclaus
Camel in Action 2: https://www.manning.com/ibsen2


Jira Source Kamelet / Jira component & 3.20.1: Could not find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central (https://repo1.maven.org/maven2)/

2023-01-28 Thread Mikael Koskinen
Hi,

I'm trying to get the Jira component to work but without success. The
error I'm getting is:

Caused by: java.lang.IllegalArgumentException: Cannot find component
with name: jira. Did you mean: gora, irc, jcr, jpa, mina

And from the stacktrace I can see the following:

Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
The following artifacts could not be resolved:
com.atlassian.sal:sal-api:jar:4.4.2, com.atlassian.jira:j
ira-rest-java-client-api:jar:5.2.4,
com.atlassian.jira:jira-rest-java-client-core:jar:5.2.4: Could not
find artifact com.atlassian.sal:sal-api:jar:4.4.2 in central
(https://r
epo1.maven.org/maven2)
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:431)
~[maven-resolver-impl-1.8.2.jar:1.8.2]
at 
org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:235)
~[maven-resolver-impl-1.8.2.jar:1.8.2]
at 
org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357)
~[maven-resolver-impl-1.8.2.jar:1.8.2]
at 
org.apache.camel.main.download.MavenDependencyDownloader.resolveDependenciesViaAether(MavenDependencyDownloader.java:1190)
~[camel-kamelet-main-3.20.1.jar:3.20.1]
at 
org.apache.camel.main.download.MavenDependencyDownloader.lambda$doDownloadDependency$0(MavenDependencyDownloader.java:365)
~[camel-kamelet-main-3.20.1.jar:3.20.1]


Here's a simple YAML to reproduce the issue:

apiVersion: camel.apache.org/v1
kind: Integration
metadata:
  name: logger-test
spec:
  flows:
- route:
from:
  uri: jira:WATCHUPDATES
  parameters:
jiraUrl: https://company.atlassian.net/jira
jql: project=CamelTest
  steps:
- to:
uri: >-

http://https://webhook.site/73458678-284f-4c01-a8b8-d3c09a7df

And here's one way to run it:

jbang run "-Dcamel.jbang.version=3.20.1" --fresh camel@apache/camel
run example.yaml

Best regards,
Mikael


[RESULT][VOTE] Release Apache Camel K 1.10.4 and Camel Kamelets 0.9.4

2023-01-28 Thread Andrea Cosentino
Hello all,

The vote passes with the following result:

6 +1 binding votes: Andrea Cosentino, Jean-Baptiste Onofrè, Pasquale
Congiusti, Zineb Bendhiba, Otavio Rodolfo Piske, Claus Ibsen
1 +1 non-binding vote: Gaelle Fournier

Thanks to all the voters. I'll go ahead with the post-release steps.


[RESULT][VOTE] Release Apache Camel K 1.11.1

2023-01-28 Thread Andrea Cosentino
Hello all,

The vote passes with the following result:

6 +1 binding votes: Andrea Cosentino, Jean-Baptiste Onofrè, Pasquale
Congiusti, Zineb Bendhiba, Otavio Rodolfo Piske, Claus Ibsen
2 +1 non-binding votes. Gaelle Fournier and Gerald Kallas

Thanks to all the voters.

I'll go ahead with the post-release steps.


Re: [VOTE] Release Apache Camel K 1.11.1

2023-01-28 Thread Andrea Cosentino
Thanks the vote passes.

I'll go ahead.

Il giorno gio 26 gen 2023 alle ore 18:13 Claus Ibsen 
ha scritto:

> +1 (binding)
>
> On Tue, Jan 24, 2023 at 6:51 PM Andrea Cosentino 
> wrote:
>
> > Hello,
> >
> > This is a combined vote to release Apache Camel K 1.11.1
> >
> > Camel K 1.11.1 wasn't supposed to be an LTS release, but since OpenJDK
> > image for JDK 11 has been discontinued (and suddenly removed from Docker
> > hub), we are upgrading the base image from openjdk for JDK 11 to Temurin
> > JDK11 (since Openjdk won't release JDK 11 image anymore).
> >
> > Essentially, a fresh installation of Camel k 1.11.0 won't work OOTB,
> there
> > will need to be some env variables tuning. That's reason behind this
> > non-LTS patch release.
> >
> > Camel K release files:
> > https://dist.apache.org/repos/dist/dev/camel/camel-k/1.11.1/
> > Camel K Tag:
> >
> >
> https://gitbox.apache.org/repos/asf?p=camel-k.git;a=shortlog;h=refs/tags/v1.11.1
> >
> > Staging container image repository:
> > https://hub.docker.com/r/camelk/camel-k/tags
> >
> > It's possible to install all staging artifacts with a single command:
> >
> > kamel install --operator-image=camelk/camel-k:1.11.1 --olm=false
> >
> > Please test this release candidate and cast your vote.
> >
> > [ ] +1 Release the binary as Apache Camel K 1.11.1
> > [ ] -1 Veto the release (provide specific comments)
> >
> > The vote is open for at least 72 hours.
> >
> > Here's my +1.
> >
> > Thanks,
> > Andrea Cosentino
> >
>
>
> --
> Claus Ibsen
> -
> @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>


Re: [VOTE] Release Apache Camel K 1.10.4 and Camel Kamelets 0.9.4

2023-01-28 Thread Andrea Cosentino
Thanks the vote passes.

I'll go ahead.

Il giorno ven 27 gen 2023 alle ore 14:28 Otavio Rodolfo Piske <
angusyo...@gmail.com> ha scritto:

> +1 (binding)
>
> Thanks Andrea
>
> On Thu, Jan 26, 2023 at 6:12 PM Claus Ibsen  wrote:
>
> > +1 (binding)
> >
> > On Tue, Jan 24, 2023 at 6:34 PM Andrea Cosentino 
> > wrote:
> >
> > > Hello,
> > >
> > > This is a combined vote to release Apache Camel K 1.10.4 and Camel
> > Kamelets
> > > 0.9.4
> > >
> > > We are upgrading the base image from openjdk for JDK 11 to Temurin
> JDK11
> > > (since Openjdk won't release JDK 11 image anymore), plus some fixes on
> > > camel-k and camel-kamelets
> > >
> > > Camel K release files:
> > > https://dist.apache.org/repos/dist/dev/camel/camel-k/1.10.4/
> > > Camel K Tag:
> > >
> > >
> >
> https://gitbox.apache.org/repos/asf?p=camel-k.git;a=shortlog;h=refs/tags/v1.10.4
> > >
> > > Kamelets release files:
> > > https://dist.apache.org/repos/dist/dev/camel/camel-kamelets/0.9.4
> > > Kamelets staging repository:
> > > https://repository.apache.org/content/repositories/orgapachecamel-1519
> > > Kamelets Tag:
> > >
> > >
> >
> https://gitbox.apache.org/repos/asf?p=camel-kamelets.git;a=shortlog;h=refs/tags/v0.9.4
> > >
> > > Staging container image repository:
> > > https://hub.docker.com/r/camelk/camel-k/tags
> > >
> > > It's possible to install all staging artifacts with a single command:
> > >
> > > kamel install --operator-image=camelk/camel-k:1.10.4
> --maven-repository=
> > > https://repository.apache.org/content/repositories/orgapachecamel-1519
> > >  --olm=false
> > >
> > > Please test this release candidate and cast your vote.
> > >
> > > [ ] +1 Release the binary as Apache Camel K 1.10.4 and
> > > Apache Camel Kamelets 0.9.4
> > > [ ] -1 Veto the release (provide specific comments)
> > >
> > > The vote is open for at least 72 hours.
> > >
> > > Here's my +1.
> > >
> > > Thanks,
> > > Andrea Cosentino
> > >
> >
> >
> > --
> > Claus Ibsen
> > -
> > @davsclaus
> > Camel in Action 2: https://www.manning.com/ibsen2
> >
>
>
> --
> Otavio R. Piske
> http://orpiske.net
>