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

  • Home
  • SEARCH
  • 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 7972613
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T07:55:01+00:00 2026-06-04T07:55:01+00:00

I have downloaded some code from svn into my system. Now through maven I

  • 0

I have downloaded some code from svn into my system. Now through maven I need to check if there are any updates on this code and if so then update it. I need not do a checkout of the whole code. So is it possible to do just update the existing source code of any project without maven creating a checkout directory?

I followed this post: Settings for Maven for conditional checkout or update from SVN?.

However I think only update won’t work if I don’t check out first.

  • 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. Editorial Team
    Editorial Team
    2026-06-04T07:55:03+00:00Added an answer on June 4, 2026 at 7:55 am

    There are two ways to do this. You can manually call mvn scm:update, which will update the sources, if there are any changes, based on the <scm> settings that is specified for the project in the pom. Refer to this usage page and advanced scm commands documentation.

    The other way is to invoke this goal as part of the standard maven lifecycle. This is what is attempted in the referred question. There is no reason why update alone will not work. You can use the code snippet for the update-project <execution> and modify it to your need.

    The latter may not be suited since build will not happen if you do off-line builds or if there is no scm connectivity for some reason. It is arguably better to do mvn scm:update clean install or something similar.

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

Sidebar

Related Questions

I have a configuration question about SVN. I have downloaded some code from a
I have downloaded source code for some software from svn on Linux and want
I have downloaded some files from the internet related to a particular topic. Now
I have downloaded some Java source code from a book. It contains many directories
I have some code that downloads an image from a remote server $data =
I have a project that depends upon some other binaries to be downloaded from
I have downloaded some Office files(doc, xls, pdf etc) on SDcard from FTP server
I have some code that downloads a file from the internet located here: http://www.amsat.org/amsat/ftp/keps/current/nasa.all
all I have downloaded source code from google android website following google's guide. My
I have downloaded code from google codes but when I import that project in

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.