Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 61257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T18:17:26+00:00 2026-05-10T18:17:26+00:00

I want completely automated integration testing for a Maven project. The integration tests require

  • 0

I want completely automated integration testing for a Maven project. The integration tests require that an external (platform-dependent) program is started before running. Ideally, the external program would be killed after the unit tests are finished, but is not necessary.

Is there a Maven plugin to accomplish this? Other ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T18:17:27+00:00Added an answer on May 10, 2026 at 6:17 pm

    You could use the antrun plugin. Inside you would use ant’s exec apply task.

    Something like this.

    <plugin>     <groupId>org.apache.maven.plugins</groupId>     <artifactId>maven-antrun-plugin</artifactId>     <version>1.2</version>     <executions>       <execution>         <phase> <!-- a lifecycle phase --> </phase>         <configuration>            <tasks>             <apply os='unix' executable='cmd'>               <arg value='/c'/>               <arg value='ant.bat'/>               <arg value='-p'/>             </apply>             <apply os='windows' executable='cmd.exe'>               <arg value='/c'/>               <arg value='ant.bat'/>               <arg value='-p'/>             </apply>           </tasks>          </configuration>         <goals>           <goal>run</goal>         </goals>       </execution>     </executions>   </plugin> 

    Ant support os specific commands of course through the condition task.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a couple old services that I want to completely uninstall. How can
Some loading routines in my program takes to long to complete. I want a
I've been working on a basic testing framework for an automated build. The piece
I want to completely remove Python 2.7 from my Mac OS X 10.6.4. I
Suppose I want to completely take over the open() system call, maybe to wrap
I'm working on a project where I have a commit that introduced a feature
I just downloaded Ruby 1.9.2, and I want it to completely replace the older
Let's assume I'm a complete lazy bum and I don't want to invest the
First of all, I am a complete Java NOOB. I want to handle multiple
Want to know what the stackoverflow community feels about the various free and non-free

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.