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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T01:45:19+00:00 2026-06-09T01:45:19+00:00

I have a maven project and I have installed m2eclipse. When I build the

  • 0

I have a maven project and I have installed m2eclipse. When I build the project, the files inside src/main/resources are not getting copied into target/classes folder.
Any help is highly appreciated.

  • 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-09T01:45:21+00:00Added an answer on June 9, 2026 at 1:45 am

    After reading all your comments about when resources get copied and when they don’t (i.e., everything works fine until Eclipse build gets called), it’s very possible that maven2Builder is disabled. You could have maven2Nature which neatly configures your classpath, but if you disable maven2Builder, only sources will be compiled and copied to target/classes (or whatever is configured in your .classpath) due to active Java Builder.

    Consider a very simple demo-project configuration (.project file in Eclipse project root):

    <?xml version="1.0" encoding="UTF-8"?>
    <projectDescription>
        <name>m2demo</name>
        <comment></comment>
        <projects>
        </projects>
        <buildSpec>
            <buildCommand>
                <name>org.eclipse.jdt.core.javabuilder</name>
                <arguments>
                </arguments>
            </buildCommand>
            <!-- 
            <buildCommand>
                <name>org.eclipse.m2e.core.maven2Builder</name>
                <arguments>
                </arguments>
            </buildCommand>
             -->
        </buildSpec>
        <natures>
            <nature>org.eclipse.jdt.core.javanature</nature>
            <nature>org.eclipse.m2e.core.maven2Nature</nature>
        </natures>
    </projectDescription>
    

    In this example, I have commented maven2Builder which results in exactly the same behavior you are getting.

    I usually like to see the actual .project and .classpath file contents, but it all can be accessed via Project Properties. You will find a ‘Builders’ section in you project properties, and there should be ‘Maven Project Builder’ checkbox item.

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

Sidebar

Related Questions

I am importing a maven project into Eclipse. I have the m2e plugin installed
I have a maven project A which uses jar files of another project B
I have a problem with checkout Maven project in Eclipse Indigo. I've installed m2e
I have a java maven project , i installed scala plugin for eclipse and
I have installed Maven 3.0.4 and now want to run already created java project
I made simple maven project and I opened it with Eclipse. I have installed
I have a multi-module Maven project. It works fine in NetBeans. But not in
I have Maven project with Hibernate and Spring framework. I want Hibernate to create
I have maven project with several modules. Need to deploy all modules( jars and
I have a maven project that contains a certain api I need to use

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.