Skip to main content

Hi,

 

When I try to build transformer model file, I’m getting this below mentioned MAVEN dependency error. 

Transformer model
BUILD result

I tried adding repository to the POM.xml file as IFS documentation says (https://docs.ifs.com/techdocs/21r2/050_development/024_integration/015_connect/050_transformer/550_maven_http_deprecated/). But didn’t work. Can please let me know a solution for this? Is there some configuration which I have been missed?

 

BR,

Hasith

Hi @HasithM 

 

May i know the Developer studio tool version which you are using?  And the track and the target version?

Apps10 or IFS Cloud? 

 

hope you have followed steps given in https://docs.ifs.com/techdocs/21r2/050_development/024_integration/015_connect/050_transformer/200_workflow_java_transformer/ and done the “”Synchronize libraries” as well.

 

/Harshini


Hi @hamalk,

Thanks for the reply.

Yes I followed the steps provided and synchronize the libraries.

This is IFS cloud and the dev studio version is 22.120.

Is it mandatory to follow the step 3 (Implement - unit testing)? Or can we just Initialize(step 2) and Build(step 4) the transformer project?


Hi @HasithM ,

Please check transformer-maven-plugin properly included in you local maven cache at C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7 (check attached pic)

This is custom developed plugin which bundled with the Developer Studio. This not published in public maven repo’s and it’s get registered to local maven cache when you called “Synchronize Libraries” action. (If it’s not already registered)

Sometimes I have noticed “_remote.repositories” gets created with in the C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7 folder which always tries to fetch the jar from central maven. If this file exists in the folder please remove it.


Hi @shaalk ,

This is how my “C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7” path looks like, I did synchronize the libraries.

 


Hi @HasithM,
check this answer and these two questions:
Developer Studio 22.1.8546 issues | IFS Community

Java Transformer development in IFS Cloud | IFS Community
Developer Studio 22.1.8546 issues | IFS Community

 

Hope it helps
BR
Filip


Hi @shaalk ,

This is how my “C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7” path looks like, I did synchronize the libraries.

 

No. Can you remove transformer-maven-plugin and call “Sync Libraries” again


@hamalk ,

Yes I tried with that as well. Only these two files got generated once call “Sync Libraries”.


@HasithM 
Were you able to resolve this issue in the end?

I’m experiencing the same problem right now, in studio version 23.1E.9419, trying to build for 22R2 version - whenever I try to build, I get the 

The POM for ifs.dev.maven.plugins:transformer-maven-plugin:jar:1.7 is missing, no dependency information available

error and my “C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7” looks like yours.

Also I can’t follow the steps here “https://docs.ifs.com/techdocs/21r2/050_development/024_integration/015_connect/050_transformer/200_workflow_java_transformer/ “ since the link doesn’t work and there doesn’t seem to be a replacement in current docs.


Hi @cgijacekh 

The task I was working got postponed and couldn't check that afterwards. As I remember had to put a ticket to IFS support regarding this issue. 

As I got to know this a technical issue in developer studio. Please put a ticket to IFS support through customer portal and they will check and provide a solution for this. 

Hope it helps,

/Hasith


Hi @cgijacekh 

 

As mentioned in  Developer Studio 22.1.8546 issues | IFS Community

Java Transformer development in IFS Cloud | IFS Community
Developer Studio 22.1.8546 issues | IFS Community

 

Download this attached zip file and copy the AR files into folder \lib\server\javaruntime\ in IFS Cloud project.

 

Then is possible to develop Transformers in IFS Cloud project.

 

/Harshini


Hi @hamalk 

I’ve gone through those posts and downloaded javaruntime into my project already, it’s not lack of those files that’s causing the problem.

It’s ifs.dev.maven.plugins:transformer-maven-plugin:1.7 that’s causing the issue:

 

As mentioned by @shaalk, that plugin should be in C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7, but it isn’t there for me

 

And I don’t have “Sync libraries” option available to try and fetch them somehow.


Hi @cgijacekh 

Were you able to resolve the issue. I'm also getting the same error.


I’m not sure this is the correct method to resolve the issue.

The missing .jar files are available in the developer studio installation location “C:\Program Files\IFS\DeveloperStudio22.120\developer_studio\modules\ext\ifs.dev.nb.configuration-management\ifs-dev-maven-plugins

Copy transformer-maven-plugin.jar to the “C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7” location and rename to transformer-maven-plugin-1.7.jar

This resolved the issue.


I’m not sure this is the correct method to resolve the issue.

The missing .jar files are available in the developer studio installation location “C:\Program Files\IFS\DeveloperStudio22.120\developer_studio\modules\ext\ifs.dev.nb.configuration-management\ifs-dev-maven-plugins

Copy transformer-maven-plugin.jar to the “C:\Users\<USERID>\.m2\repository\ifs\dev\maven\plugins\transformer-maven-plugin\1.7” location and rename to transformer-maven-plugin-1.7.jar

This resolved the issue.

 

I also experienced same issue (24R1).  Copy/rename action (transformer-maven-plugin-1.7.jar) worked for me as well.

I’m expecting this file should be copied automatically if missing, when I perform Build. May be that can add into future release. Thanks Lochana for the tip.   

 


Reply