My java project structure is as follows
├── code
│ ├── java
│ │ └── PROJECT
│ │ ├── pom.xml
│ │ └── src
After deployment the directory structure is coming as
../PROJECT/target/xyz.jar
Now if I want to create the jar file as without "target" directory, how to achieve it. Example
../PROJECT/xyz.jar
My Maven assembly file used is
<fileSet>
<directory>code/java/</directory>
<outputDirectory>jlib/</outputDirectory>
<filtering>true</filtering>
<includes>
<include>**/*.jar</include>
</includes>
</fileSet>
Can some one please help to achieve the above ?