Closed GoogleCodeExporter closed 8 years ago
I'm afraid I could not reproduce the problem.
I modified the pom like this:
$ git diff
diff --git a/javascript-console-repo/pom.xml b/javascript-console-repo/pom.xml
index 840f3bf..a3de5ee 100644
--- a/javascript-console-repo/pom.xml
+++ b/javascript-console-repo/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.alfresco.maven</groupId>
<artifactId>alfresco-sdk-parent</artifactId>
- <version>1.0.2</version>
+ <version>1.1.0</version>
</parent>
<groupId>org.sharextras</groupId>
@@ -37,7 +37,7 @@
<properties>
<!-- alfresco-sdk-parent POM references 4.2.c still -->
<alfresco.groupId>org.alfresco</alfresco.groupId>
- <alfresco.version>4.2.d</alfresco.version>
+ <alfresco.version>4.2.e</alfresco.version>
</properties>
Then, I ran the command you write above and it looks fine.
Can you please try 2 things:
1) run the same maven command with the -X flag, redirecting the very verbose
output.
Then, look for the first occurrence of alfresco-maven-plugin, and you will see
its classpath. It should look like this:
[DEBUG] org.alfresco.maven.plugin:alfresco-maven-plugin:jar:1.1.1:
[...]
[DEBUG] org.alfresco:alfresco-mmt:jar:4.2.e:compile
[DEBUG] de.schlichtherle.truezip:truezip-file:jar:7.5.5:compile
[DEBUG] de.schlichtherle.truezip:truezip-driver-file:jar:7.5.5:runtime
[DEBUG] de.schlichtherle.truezip:truezip-kernel:jar:7.5.5:compile
[DEBUG] de.schlichtherle.truezip:truezip-driver-zip:jar:7.5.5:compile
[DEBUG] de.schlichtherle.truezip:truezip-swing:jar:7.5.5:compile
Make sure you have the truezip dependencies in it.
2) In your local Maven repository, delete or move the
~/.m2/repository/de/schlichtherle folder, and run the command again.
It should re-download the truezip jars. Maybe there were corrupted somehow...
Keep us informed!
Original comment by samuel.l...@alfresco.com
on 19 Nov 2013 at 11:26
Please, ignore my issue report.
I finally could figure out the problem.
I was running those commands in a windows virtual drive mounted with subst
command.
I moved the project to my C drive, and it worked.
And I could remove that dependency.
I noticed that problem also happens when I try to install a amp manually using
the alfresco-mmt.jar.
If I do that in this virtual drive, I got some IO exceptions, so, please, when
you see a virtual drive, just run... lol
Thank you.
Original comment by douglascrp@gmail.com
on 19 Nov 2013 at 11:54
OK, thanks for telling us.
You seem to encounter the Alfresco issue
https://issues.alfresco.com/jira/browse/MNT-9966, which is still being
investigated.
FWIW, "real" virtual drives seem to work fine:
http://technet.microsoft.com/en-us/magazine/ee872416.aspx
Original comment by samuel.l...@alfresco.com
on 19 Nov 2013 at 1:07
Original issue reported on code.google.com by
douglascrp@gmail.com
on 19 Nov 2013 at 11:08