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 473767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T00:13:12+00:00 2026-05-13T00:13:12+00:00

I would like to incorporate scanning for viruses into a Java/Maven/Hudson build process. Unfortunately,

  • 0

I would like to incorporate scanning for viruses into a Java/Maven/Hudson build process. Unfortunately, i could not find any resources on dedicated tools for this kind of build step. My build environment is Linux-based.

My question is:
How can antivirus scanning be incorporated into a Maven and Hudson based build process?

What are the best-practices?

  • Should the scanning step be separate of the normal build, e.g. a pre-build step or even a separate build job?
  • Should the scanning occur at a later stage of packaging, after all the artefacts have been packaged to jar files or early in the process?
  • Should each released artefact include a scanner log file which determines the antivirus tool being used, version and date of virus definition files?

Which anti-virus software to use is out of scope of this question. (E.g. i’d like to use a commercial vendor in favor of free tools like ClamAV)

  • 1 1 Answer
  • 2 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. Editorial Team
    Editorial Team
    2026-05-13T00:13:12+00:00Added an answer on May 13, 2026 at 12:13 am

    Where can the virus come from?

    I’ve yet to see a virus which can modify source code, so the source is probably safe (well, unless you can’t trust your developers).

    So the virus can hide in one of the build tools and try to modify the JAR. The tool at hand here is tripwire: It will create checksums for all the files and the build tools should not change (unless you install a new version; then you have to run tripwire again).

    If the build tools are safe, you just need a AV tool which protects the OS (so functions like opening and writing files are safe). Use the standard AV of your company for this.

    To make the whole process really tight, you can build the last release again before you build the new release. The checksums of the old release shouldn’t change (beware of timestamps in the files, though).

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

Sidebar

Related Questions

Would like to make anapplication in Java that will not automatically parse parameters used
I would like to incorporate into SQL an if statement determining if the value
I would like to incorporate ICU as static libs into sqlite.dll. Are there any
I've looked at this: http://imakewebthings.com/jquery-waypoints/#about and would like to incorporate a similar idea into
I would like to use a language that I am familiar with - Java,
I would like to use RESTful services in a CDI/JSF2 application. I am not
I would like to incorporate variable names that imply what I should do with
I am using the HTML5 Boilerplate and would like to incorporate JQuery UI. Adding
I would like to know how do i incorporate a feature like wcf within
I would like to, especially in a debug build config for example, like to

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.