java


Maven resources in subfolders incorrectly packaged


I am trying to place resources within the META-INF folder of my JAR-file. So I created a META-INF folder in the resources folder of my maven module. Next, I created a subfolder within this folder called "services" and placed a file in it. But when I am compiling the project with maven, it will create a folder META-INF.services in my target archive instead of a subfolder within the META-INF folder.
How to avoid that?
EDIT #1:
My configuration:
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<compilerArgument>-proc:none</compilerArgument>
</configuration>
</plugin>
</plugins>
</build>

Related Links

How to create a String array from an input.txt file
Java UI Manager look and feel (JTattoo) causes NULLpointer
Is there a way to make Mockito doNothing() when a method call actually returns something
POST request with HttpURLConnetion and read response from server - Android
can i compare using .equal() for two or more things in the same time
Disable clustering at max zoom level with Googles android-maps-utils
Circular motion with a radius within a circle
the method in the type is not applicable for the arguments java
Copy pasting from PDF is gibberish on original file, but fixed when printing the pdf using a CutePDF
Changing the value of a primitive variable in a method? [duplicate]
Run as java application not working
Is there anyway to get “Effective Spring Config” from all spring beans annotations?
Java Program throws java.io.EOFException just after starting the jar
Crawling using selenium: How to keep logged in after close Driver in java
Same multiple downcasts in equals; will they be optimised? [duplicate]
what is the total number of count in string constant pool? [duplicate]

Categories

HOME
isabelle
gremlin
tinymce
nullpointerexception
comparison
view
relayjs
relay
youtube-dl
elm
microservices
twitter-bootstrap-4
ip
pheatmap
vifm
izpack
dax
handsontable
apache-cayenne
windows-server-2012
systemc
swingx
jquery-ajaxq
dcevm
language-agnostic
react-css-modules
maxmind
maquette
elasticsearch-ruby
opentype
compatibility
srcset
librato
iframe-resizer
contact-form
pim
framemaker
wpf-controls
overriding
neuroscience
sqlite2
webdriver-manager
elasticsearch-plugin
greenrobot-eventbus
trim
sas-visual-analytics
fedex
ibpy
executenonquery
taffy
scrollable
azure-application-gateway
typescript1.8
drupal-6
color-profile
minimization
probability-density
contact-list
ubuntu-10.04
actionbardrawertoggle
itextpdf
photobucket
jfugue
prerequisites
php-ci
method-parameters
vstest.console.exe
pretty-print
notify
python-green
ng-animate
gridfs
gwt-rpc
plasma
ember-app-kit
typoscript2
cisco-jtapi
removeclass
gwt-ext
php-parser
external-accessory
mongomapper
floating
infrastructure
mirah
vc90
firefox4
xetex
phonon
gacutil
signal-handling
3gp

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App