eclipse - Missing package property files in war build -


My project contains unwanted various asset files that are located in packages that are being run from package target Maven build.

Using the 0.10.2 m2eclipse plugin and the default "Package" target.

In the project:

  src-> Main- & gt; Java-> Mypackage- & gt; MyProperties.java src- & gt; Main- & gt; Java- & Gt; Mypackage- & gt; MyProperties.properties  

After running a "package" target in the extended war directory:

  target-> Classes-> Mypackage- & gt; MyProperties.class  

- No asset file

I am trying to get the group to adopt Maven, and to solve this issue Transferring properties files to be a deal maker will not be practical, any help is highly appreciated.

The right way to do things is to do it.

But some developers keep resources ahead of their sources (for example this is a standard procedure in the wicket).

If you are going to do this, then you have to add your source folder to resources:

<> pre & lt; Construction & gt; & Lt; Resources & gt; & Lt; Resources & gt; & Lt; Directory & gt; Src / home / resources & lt; / Directory & gt; & Lt; / Resources & gt; & Lt; Resources & gt; & Lt; Directory & gt; Src / home / Java & lt; / Directory & gt; & Lt; Exclude & gt; & Lt; Out to & gt; ** / * Java & lt; / Exclude & gt; & Lt; / Not included & gt; & Lt; / Resources & gt; & Lt; / Resources & gt; & Lt; / Create & gt;

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -