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 check if an Application was launched for the very first time [duplicate]
Construct org.w3c.dom.Document from marshalled object
Is it possible to test default / private class? [duplicate]
How to fetch many-to-many relationship entity
Win check not working in TicTacToe game?
Why is it recommended to call MultiDex.install() in attachBaseContext(Context)?
connecting two mobile phones over different network and then real time video streaming
Improving speed and memory consumption when handling ArrayList with 100 million elements
How to directly use a function as a Functional Type in Java 8
mvn -v show java information
java.lang.NoClassDefFoundError: IllegalName
Change programmatically color of title bar of dialog, color is not pre-defined. Android [duplicate]
How to create unmanaged Neo4j extension?
Limit number of distinct items for any given period of time
How to set common interest for omegle (Android)
Iterating through Resultsets in threads cause Exceptions. ResultSets of queries to Hive using JDBC connections

Categories

HOME
cakephp
testing
cookies
tizen
json.net
view
hashmap
adb
angular-ui-bootstrap
podio
cross-validation
awesome-wm
rascal
export-to-csv
quickbooks
qt-creator
apache-cayenne
gz
decomposition
highlight.js
finite-automata
aurigma
openedx
autoconf
jquery-ajaxq
functional-testing
tar
icloud-api
blazemeter
tdd
maxmind
publish
neo4j-spatial
ping
opentype
dbclient
jaxb2
primitive
gsmcomm
fabric8
javascriptcore
uisplitview
ioio
noraui
uiswipegesturerecognizer
rotational-matrices
picasso
lto
withings
reportbuilder
hue
cookiecutter-django
dism
reportingservices-2005
vao
businessworks
chain-builder
pnotify
blogengine.net
sage-one
hls.js
dotnetzip
brightcove
nativeapplication
feeds
namecoin
pearson
epson
linode
sqldf
or-tools
gnome-shell-extensions
libpng
log4c
bonobo
ctest
contact-list
disque
xpath-1.0
netmq
phpcas
iad
spim
t4mvc
thredds
atk4
myo
sailfish-os
processmodel
csquery
fscommand
offloading
file-copying
onactivityresult
xojo
starcluster
navigationservice
poller
jboss-weld
fmod
flexmojos
oam
dataservice
yui-compressor
interface-orientation
browser-detection
bitsharp
trusted
multipage
ocx
netdna-api
libc++
infobox
inotifycollectionchanged
sql-server-profiler
jmock
mysql-error-1005
preference
forums
ext3
firefox-5
exchange-server-2003
aquaticprime
scripting-languages
w3wp

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App