« Return to Thread: Maven and resources

Maven and resources

by buters :: Rate this Message:

Reply to Author | View in Thread

Hi,

if I put a library files in src/main/resources, then I can find and add these ones with Project->Properties->Liebraries->Add Jars...
But I don't want have these all in my project. There is tag <resources> in Maven and I use it so:
<build>
...
   <resources>
      <resource>
        <directory>${env.JBOSS_HOME}/client</directory>
      </resource>
    </resources>
...
</build>
I compile my project Run As -> build... -> compile
I get "BUILD SUCCESSFUL". But I can not find needed libraries as above. And my java-files display errors because of wrong imports.
How can I solve it?

Thanks beforehand,
best regards, buters

 « Return to Thread: Maven and resources

LightInTheBox - Buy quality products at wholesale price!