0

I found a solution to grouping adapters into a single maven project (project is on IBM Mobile First), here is this tutorial.

And now I have question about it. I created a root folder and there is a second step 2.Put the Maven adapter projects in it. So what I need to put in it? I'm a little bit confused because I'm just started learning how to work with Maven (I worked before with Gradle).

//Edit: This answer isn't that what could save my day. I now that I can group all adapters into one maven project, but when I just copy and paste my adapters into some other folder, create a pom.xml file and finally build with mfpdev adapter build it's give my just error.

chebad
  • 919
  • 1
  • 13
  • 29
  • Possible duplicate of [Is it possible to have all the adapter configuration in one file in IBM MFP](https://stackoverflow.com/questions/44795564/is-it-possible-to-have-all-the-adapter-configuration-in-one-file-in-ibm-mfp) – Gaurab Kumar Sep 11 '17 at 13:21
  • Use mfpdev adapter build all – Gaurab Kumar Sep 11 '17 at 13:30

2 Answers2

1

Each MFP adapter project is a maven project. The step talks about placing your individual adapter projects under a single root project folder.The root project's pom contains references to the sub maven projects( individual adapter projects). Now, when the root maven project executes, it executes the sub projects ( individual adapter projects).

Vivin K
  • 2,681
  • 1
  • 11
  • 14
  • I have already seven adapters created, so I should just "paste" and "copy" then into some other folder? – chebad Sep 11 '17 at 13:22
  • Yes, as @Vivin told, Each MFP adapter project is a maven project. You can copy & paste all adapter project in one folder. – Gaurab Kumar Sep 11 '17 at 13:28
  • @chebad, did you copy the maven project folder? Or only the files ( from adapter projects), into the root project? – Vivin K Sep 11 '17 at 16:17
0

You need to follow the steps for creating single adapters and place these created adapter projects inside the root folder.

Smitha TV
  • 51
  • 3