Forum Discussion

Itam_Media's avatar
Itam_Media
Contributor
16 years ago

Multiple project files with maven

Hi,

I have some suggestions about maven plugin:

1) Load multiple xml file projects with maven soapui pro plugin
2) Override properties like endpoint an host values in the mvn command line

something like:

mvn install -DendPoint = "" -Dhost = ""

Regards,

Susana
  • bmgriner's avatar
    bmgriner
    Frequent Contributor
    I have made this same suggestion on the community boards, but want to make it known on the pro boards too. It is a very much desired feature to be able to run the maven soapui plugin against multiple projects in a single build.

    Susana,

    The second feature request you have above can already be done. Put ${endPoint} in your pom.xml file inside the soapui plugin and you will then be able to call:
    mvn eviware:maven-soapui-plugin:test -DendPoint=[some_endpoint]

    If you want it to automatically build when you do a mvn install then you should tie an execution of the maven soapui plugin to the install goal. I would actually suggest against tying the execution to that goal. It would make more sense to tie it to integration-test or even the test goal itself.
  • We'd also find this to be useful.

    While we can get some of the behavior through use of profiles in the top-level project POM we are having to replicate "out of the box" Maven behavior that should just work.

    Thanks,
    Gordon.
  • bmgriner's avatar
    bmgriner
    Frequent Contributor
    Is there any ETA on this? Will it be worked on in the near future?