targetDir in assembly not working
See original GitHub issueDescription
When trying to set a custom targetDir
in the assembly section like described int the docu, it’s getting ignored and /maven
is used.
Info
- d-m-p version : 0.18.1
- Maven version (
mvn -v
) :
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_65, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
- Docker version : 1.12.3
- Sample project :
git@github.com:mbacodes/docker-maven-plugin-test.git
<images>
<image>
<name>test/hello-world:latest</name>
<build>
<dockerFileDir>hello-world</dockerFileDir>
<assembly>
<mode>dir</mode>
<targetDir>/</targetDir>
<descriptor>assembly.xml</descriptor>
</assembly>
</build>
</image>
</images>
Setting <targetDir>/foo</targetDir>
does not change anything.
The resulting targetDir
still is target/docker/test/hello-world/latest/build/maven
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:12
Top Results From Across the Web
TARGETDIR="[TARGETDIR] " Requires Trailing Space - MSDN
This drives me crazy whenever I forget why there's a trailing space. TARGETDIR (or any other property that ends in "\") must not...
Read more >How can get my VS2010 setup projects to NOT have errors ...
I found the issue. If the project is closed and the 'File' view of the setup package is open, then on the next...
Read more >A Visual Studio script that saves time and pain - NDepend
It just moves the assembly file, the .pdb file and the .xml documentation file to a temporary location (if the .pdb or .xml...
Read more >Post-Build Events and .NET Core - Jeremy Bytes
The "$(TargetDir)" macro expands to the fully-qualified location where the .exe file ... The problem arises when we leave Visual Studio.
Read more >Register Assembly does not work reliably - InstallAware
If I install on my Vista machine, my assemblies get registered no problem. ... Hence, all I do is install the assembly into...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@rhuss That looks good to me. Thank you.
Just merged in to master. Happy to pickup still any feedback here.