Five Stars

Compiling TOS from Source - Maven/Dependency errors

Hi, Have been trying to compile the basic TOS from source with a view to forking/tweaking but can't get to stage one Smiley Sad

Have diligently followed the steps at https://github.com/Talend/studio-se-master#build-the-open-source-studio but what I get when I have built the basic pom is:

 

$ mvn clean install -Dtos.di=true

 

[INFO] Scanning for projects...

[WARNING]

[WARNING] Some problems were encountered while building the effective model for org.talend.studioSmiley Surprisedrg.talend.libraries.jdbc.access:eclipse-plugin:6.4.0-SNAPSHOT

[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 19, column 17

[WARNING]

[WARNING] Some problems were encountered while building the effective model for org.talend.studioSmiley Surprisedrg.talend.designer.components.localprovider:eclipse-plugin:6.4.0-SNAPSHOT[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 22, column 17[WARNING] [WARNING] Some problems were encountered while building the effective model for org.talend.studioSmiley Surprisedrg.talend.libraries.crm:eclipse-plugin:6.4.0-SNAPSHOT

[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-clean-plugin is missing. @ line 19, column 17

[WARNING]

[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.

[WARNING]

[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

[WARNING]

[INFO] Computing target platform for MavenProject: org.talend.studioSmiley Surprisedrg.talend.studio.tos.di.product:6.4.0-SNAPSHOT @ /home/talend/studio-se-master/build/talend.studio.tos.di.product/pom.xml[INFO] Adding repository https://artifacts-oss.talend.com/nexus/content/unzip/TalendP2UnzipOpenSourceSnapshot/org/talend/repo...

[INFO] Adding repository https://artifacts-oss.talend.com/nexus/content/unzip/TalendP2UnzipOpenSourceSnapshot/org/talend/repo...

[INFO] Adding repository https://artifacts-oss.talend.com/nexus/content/unzip/TalendP2UnzipOpenSourceSnapshot/org/talend/repo...

[INFO] Adding repository https://artifacts-oss.talend.com/nexus/content/unzip/TalendP2UnzipOpenSourceSnapshot/org/talend/repo...

[INFO] Adding repository https://artifacts-oss.talend.com/nexus/content/unzip/TalendP2UnzipOpenSourceRelease/org/talend/repo/...

[INFO] Resolving dependencies of MavenProject: org.talend.studioSmiley Surprisedrg.talend.studio.tos.di.product:6.4.0-SNAPSHOT @ /home/talend/studio-se-master/build/talend.studio.tos.di.product/pom.xml

[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86}

[ERROR] Cannot resolve project dependencies:

[ERROR] Software being installed: org.talend.studio.tos.di.product 0.0.0

[ERROR] Missing requirement: org.talend.tos.components.feature.feature.group 6.4.0.qualifier requires 'org.talend.esb.tooling.ws.consumer.feature.feature.group 0.0.0' but it could not be found

[ERROR] Cannot satisfy dependency: org.talend.rcp.branding.tos.feature.feature.group 6.4.0.qualifier depends on: org.talend.tos.feature.feature.group 0.0.0

[ERROR] Cannot satisfy dependency: org.talend.studio.tos.di.product 0.0.0 depends on: org.talend.rcp.branding.tos.feature.feature.group 0.0.0

[ERROR] Cannot satisfy dependency: org.talend.tos.feature.feature.group 6.4.0.qualifier depends on: org.talend.tos.components.feature.feature.group 0.0.0

[ERROR]

[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.

[ERROR] Cannot resolve dependencies of MavenProject: org.talend.studioSmiley Surprisedrg.talend.studio.tos.di.product:6.4.0-SNAPSHOT @ /home/talend/studio-se-master/build/talend.studio.tos.di.product/pom.xml: See log for details -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException

 

I m not especially familiar with maven so I may be doing something wrong, if anyone a bit smarter can point me in the right direction, I'd be eternally (well, at least for the weekend) grateful Smiley Wink

Namaste, M

8 REPLIES
Moderator

Re: Compiling TOS from Source - Maven/Dependency errors

Hello mhayhurst,

 

We have redirected your issue to our experts and then come back to you as soon as we can.

Thanks for your time.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Employee

Re: Compiling TOS from Source - Maven/Dependency errors

Which git repository do you have? Seems you have at least the tesb-studio-se missing. (the feature missing is from this repository actually)
Five Stars

Re: Compiling TOS from Source - Maven/Dependency errors

Hi,

I am using https://github.com/Talend/studio-se-master.git and gitslave as per the above - when I run gitslave BTW I still get a reference to toem-studio-se as per this post from 2015 (https://www.talendforge.org/forum/viewtopic.php?pid=168465#p168465).

 

I've rerun it having commented that out and rerun the mvn clean install in the talend.studio.parent.pom folder.

 

I've then rerun mvn clean install (this time without any -D constraint) in the studio-se-master folder and I get:

 

[ERROR] Cannot resolve project dependencies:

[ERROR] Software being installed: org.talend.studio.tos.bigdata.product 0.0.0

[ERROR] Missing requirement: org.talend.tos.components.feature.feature.group 6.4.0.qualifier requires 'org.talend.esb.tooling.ws.consumer.feature.feature.group 0.0.0' but it could not be found

[ERROR] Cannot satisfy dependency: org.talend.rcp.branding.tos.bigdata.feature.feature.group 6.4.0.qualifier depends on: org.talend.tos.feature.feature.group 0.0.0

[ERROR] Cannot satisfy dependency: org.talend.studio.tos.bigdata.product 0.0.0 depends on: org.talend.rcp.branding.tos.bigdata.feature.feature.group 0.0.0

[ERROR] Cannot satisfy dependency: org.talend.tos.feature.feature.group 6.4.0.qualifier depends on: org.talend.tos.components.feature.feature.group 0.0.0

 

Am happy to exclude all products apart from TOS-DI for now - what am I missing?

Thanks,

Mark

Five Stars

Re: Compiling TOS from Source - Maven/Dependency errors

Anyone give me a quick nudge to the next waypoint? Smiley Wink

Mark
Five Stars

Re: Compiling TOS from Source - Maven/Dependency errors

... in return for undying gratitude and the admiration of the entire community? Smiley Wink
Moderator

Re: Compiling TOS from Source - Maven/Dependency errors

Hi mhayhurst,

Sorry for delay!

Our developer are working on your issue. We will keep you posted.

Thanks for your time.

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Employee

Re: Compiling TOS from Source - Maven/Dependency errors

I just tried on my side in case, but everything is fine.

 

make sure that you have directories like:

 

/home/talend/studio-se-master

/home/talend/tdi-studio-se

/home/talend/tcommon-studio-se

/home/talend/tesb-studio-se

...

 

What you need is in the tesb-studio-se.

So as long as you have the code updated on the different repositories + same branch at least it should be fine.

 

If you go to your folder: /home/talend/studio-se-master + execute:

  • mvn clean install -Dtos.di=true 

or

  • mvn clean package -Dtos.di=true

 

(On my side i never use install, package is more simple and totally enough)

 

Please note also that this will build in fact all the possible artifacts and not only the build of tos-di.. if you need only a tos-di, you can stop of course once you see the zip of the build has been done.

Five Stars

Re: Compiling TOS from Source - Maven/Dependency errors

Just to say I finally - as something of a background challenge - got this to work, needed a lot of RAM to compile but now all good - so, what's the best way to find one's way around the sources and where to address some of the undesirable quirks? particularly interested in streamlining the job build process to conform to some standards...

Ta, Mark