Back on 2005-11-09, ramfree17 send an email [m2] assembly:directory
requires an install?
(see 
http://www.nabble.com/-m2--assembly%3Adirectory-requires-an-install--t512277.html#a1387406)

This thread was hijacked and no answer was provided.

I am finding that if I removed the <format>dir</format> from my
assembly descriptor then assembly happily works for the remaining zip
format.

As soon as I add back the dir format I get the following error:

[INFO] [install:install]
[INFO] Installing <path>\target\<artifactId>-0.0.1-SNAPSHOT.jar to
<repo>\.m2\repository\<groupId>\<artifactId>\0.0.1-SNAPSHOT\<artifactId>-0.0.1-SNAPSHOT.jar
[INFO] Installing <path>\target\<artifactId>-0.0.1-SNAPSHOT-bin.dir to
<repo>\.m2\repository\<groupId>\<artifactId>\0.0.1-SNAPSHOT\<artifactId>-0.0.1-SNAPSHOT-bin.dir
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error installing artifact:
<path>\target\<artifactId>-0.0.1-SNAPSHOT-bin.dir (Acc
ess is denied)

When I run with -X the root cause error is:

Caused by: java.io.FileNotFoundException:
<path>\target\<artifactId>-0.0.1-SNAPSHOT-bin.
dir (Access is denied)

So why does the "dir" format want to install the artifact but the
"zip" format doesn't?

A quick check of the JIRA issues doesn't find any known problems
Has anyone else experienced this issue?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to