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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:43:13+00:00 2026-06-10T19:43:13+00:00

I have added the following to my project’s pom.xml: <resources> <resource> <directory>src/main/app</directory> </resource> <resource>

  • 0

I have added the following to my project’s pom.xml:

<resources>
    <resource>
        <directory>src/main/app</directory>
    </resource>
    <resource>
        <directory>src/main/resources</directory>
    </resource>
</resources>

I am running Mule Studio 1.3.0, which is based on Eclipse 3.6 (Helios). I have added m2eclipse 1.1.0.20120530-0009 via the update site.

The problem is that the directory src/main/app is not appearing as a source folder, and therefore its contents are not on the classpath.

  • 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-10T19:43:15+00:00Added an answer on June 10, 2026 at 7:43 pm

    Adding the src/main/app folder as a resource is not totally correct from a mule point of view.

    In fact this will mess up with the generated Mule application structure and the content fo the app folder will end up both in the root of the zip and in the classes folder.

    Instead the src/main/app folder should be part of the test resources and you can do that by adding the following plugin to your maven build:

    <plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>build-helper-maven-plugin</artifactId>
    <version>1.7</version>
    <executions>
        <execution>
            <id>add-source</id>
            <phase>generate-sources</phase>
            <goals>
                <goal>add-test-source</goal>
            </goals>
            <configuration>
                <sources>
                    <source>${basedir}/src/main/app/</source>
                </sources>
            </configuration>
        </execution>
    </executions>
    </plugin>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For my project I have added following line of code in applicaiton.ini resources.layout.layoutPath =
I am building a project using Maven. In the Pom.xml i have added dependency
I have just added the following code to my pom.xml (as specified on here
I have added the following reference to my winforms C# project: CrystalDecisions.CrystalReports.Engine CrystalDecisions.ReportSource CrystalDecisions.Shared
I have been tried to make my first Hibernate project. I added following libraries
I have added a Datasoruce to my current project and the following has been
The following is my context.xml file in the META-INF directory of my project :
I have added LibFlac in xcode project . Then I added decode/main.c from Libflac
I have added the following method in my User Domain class String getNameAttribute(){ return
I have added the following fine function to my status bar to show which

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.