Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
raimithi
Contributor
Contributor

Create a azure devops pipeline with maven and talend P2 to deploy it on TAC

I'm trying to create azure devops pipeline to build and deploy talend job on TAC

i used the below command in pipeline.

Can someone please help here, Let me know if you need more info

 

Thanks

Mithilesh

Whatsapp:- +60-1123058296

 

Please find details below

goal:

deploy

 

options:

--settings $(settingstalendp2_xml.secureFilePath) -Pnexus package -fn -e -pl jobs/process/test_connection_0.1 -am

 

Set MAVEN_OPTS to:

-Dlicense.path=$(license.secureFilePath) -Dupdatesite.path=https://s3.amazonaws.com/ptaw-dev-pivot-da-bucket-02/P2/ -Dgeneration.type=local -DaltDeploymentRepository=releases::default::https://s3.amazonaws.com/ptaw-dev-pivot-da-bucket-02/releases/ -Xmx3096m -Xmx1024m

 

 

Error I'm getting:

2020-04-07T08:08:41.6186501Z [ERROR] Failed to execute goal org.talend.ci:builder-maven-plugin:7.2.1:generate (default) on project code.Master: Can not find equinox launcher! -> [Help 1]
2020-04-07T08:08:41.6203200Z org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.talend.ci:builder-maven-plugin:7.2.1:generate (default) on project code.Master: Can not find equinox launcher!
2020-04-07T08:08:41.6204183Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
2020-04-07T08:08:41.6204768Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
2020-04-07T08:08:41.6241778Z at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
2020-04-07T08:08:41.6242405Z at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
2020-04-07T08:08:41.6243021Z at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
2020-04-07T08:08:41.6243817Z at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
2020-04-07T08:08:41.6244702Z at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
2020-04-07T08:08:41.6245287Z at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
2020-04-07T08:08:41.6245817Z at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
2020-04-07T08:08:41.6250984Z at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
2020-04-07T08:08:41.6251532Z at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
2020-04-07T08:08:41.6252038Z at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
2020-04-07T08:08:41.6252516Z at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
2020-04-07T08:08:41.6321280Z at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
2020-04-07T08:08:41.6323681Z at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
2020-04-07T08:08:41.6324417Z at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
2020-04-07T08:08:41.6324966Z at java.lang.reflect.Method.invoke (Method.java:498)
2020-04-07T08:08:41.6325494Z at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
2020-04-07T08:08:41.6326078Z at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
2020-04-07T08:08:41.6326675Z at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
2020-04-07T08:08:41.6327248Z at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
2020-04-07T08:08:41.6327818Z Caused by: org.apache.maven.plugin.MojoExecutionException: Can not find equinox launcher!

 

 

Also find the attachment for detailed error

Labels (5)
3 Replies
manodwhb
Champion II
Champion II

Can you share some details like which Talend product and which Java version are you using?
raimithi
Contributor
Contributor
Author

Hi Manohar,

 

Im using talend 7.2 enterprise version & Java JDK8.

 

Also my talend source code is stored in azure devops repo and on top of I'm creating this Azure pipeline CI.

 

 

Thanks

Mithilesh

raimithi
Contributor
Contributor
Author

Now I'm getting below errors

 

2020-04-09T07:19:43.6619789Z [ERROR] Failed to execute goal on project routines: Could not resolve dependencies for project org.example.dev_pivotdf.code:routines:jar:7.2.1: Could not find artifact org.talend.libraries:crypto-utils:jar:6.0.0-SNAPSHOT -> [Help 2]
2020-04-09T07:19:43.6621075Z org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project routines: Could not resolve dependencies for project org.example.dev_pivotdf.code:routines:jar:7.2.1: Could not find artifact org.talend.libraries:crypto-utils:jar:6.0.0-SNAPSHOT
2020-04-09T07:19:43.6622243Z     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies (LifecycleDependencyResolver.java:269)
2020-04-09T07:19:43.6623032Z     at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies (LifecycleDependencyResolver.java:147)
2020-04-09T07:19:43.6624532Z     at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved (MojoExecutor.java:248)
2020-04-09T07:19:43.6625178Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:202)
2020-04-09T07:19:43.6625766Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)
2020-04-09T07:19:43.6626344Z     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)
2020-04-09T07:19:43.6626991Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
2020-04-09T07:19:43.6627687Z     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
2020-04-09T07:19:43.6628411Z     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
2020-04-09T07:19:43.6629085Z     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
2020-04-09T07:19:43.6629652Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
2020-04-09T07:19:43.6630173Z     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
2020-04-09T07:19:43.6630674Z     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
2020-04-09T07:19:43.6631201Z     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957)
2020-04-09T07:19:43.6631686Z     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289)
2020-04-09T07:19:43.6632160Z     at org.apache.maven.cli.MavenCli.main (MavenCli.java:193)
2020-04-09T07:19:43.6632637Z     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
2020-04-09T07:19:43.6633136Z     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
2020-04-09T07:19:43.6633734Z     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
2020-04-09T07:19:43.6634256Z     at java.lang.reflect.Method.invoke (Method.java:498)
2020-04-09T07:19:43.6634784Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)
2020-04-09T07:19:43.6635391Z     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)
2020-04-09T07:19:43.6635975Z     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
2020-04-09T07:19:43.6636564Z     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
2020-04-09T07:19:43.6637450Z Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.example.dev_pivotdf.code:routines:jar:7.2.1: Could not find artifact org.talend.libraries:crypto-utils:jar:6.0.0-SNAPSHOT

Can someone please help me here, let me know if you need some info

 

 

Thanks in Advance

Mithilesh