You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Emmanuel Lecharny <el...@gmail.com> on 2011/03/18 01:53:36 UTC
Shade plugin errors
Hi guys,
I have no idea why I get some erros on shared-all :
...
[INFO] Apache Directory Shared All ....................... FAILURE [1.392s]
[INFO] Apache Directory Shared LDAP Client All ........... SKIPPED
[INFO] Apache Directory LDAP API Distribution ............ SKIPPED
[INFO] Apache Directory Shared Integration Tests ......... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:04.543s
[INFO] Finished at: Fri Mar 18 01:46:27 CET 2011
[INFO] Final Memory: 30M/88M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on
project shared-all: Error creating shaded jar: error in opening zip file
/Users/elecharny/apacheds/trunks/shared/asn1/api/target/classes -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn <goals> -rf :shared-all
I have changed *nothing* and it was building this afternoon. I have done
a superclean.sh with no success...
Anyone has an idea ?
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: Shade plugin errors
Posted by Emmanuel Lécharny <el...@apache.org>.
On 3/18/11 8:47 AM, Stefan Seelmann wrote:
> Which goals and parameters did you use? Simple "mvn clean install"?
mvn clean install -Dintegration
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: Shade plugin errors
Posted by Stefan Seelmann <se...@apache.org>.
Which goals and parameters did you use? Simple "mvn clean install"?
On Fri, Mar 18, 2011 at 1:53 AM, Emmanuel Lecharny <el...@gmail.com> wrote:
> Hi guys,
>
> I have no idea why I get some erros on shared-all :
>
> ...
> [INFO] Apache Directory Shared All ....................... FAILURE [1.392s]
> [INFO] Apache Directory Shared LDAP Client All ........... SKIPPED
> [INFO] Apache Directory LDAP API Distribution ............ SKIPPED
> [INFO] Apache Directory Shared Integration Tests ......... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2:04.543s
> [INFO] Finished at: Fri Mar 18 01:46:27 CET 2011
> [INFO] Final Memory: 30M/88M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on project
> shared-all: Error creating shaded jar: error in opening zip file
> /Users/elecharny/apacheds/trunks/shared/asn1/api/target/classes -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :shared-all
>
> I have changed *nothing* and it was building this afternoon. I have done a
> superclean.sh with no success...
>
> Anyone has an idea ?
>
> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
>
Re: Shade plugin errors
Posted by Emmanuel Lécharny <el...@apache.org>.
On 3/18/11 10:58 AM, Alex Karasulu wrote:
> On Fri, Mar 18, 2011 at 2:53 AM, Emmanuel Lecharny<el...@gmail.com>wrote:
>
>> Hi guys,
>>
>> I have no idea why I get some erros on shared-all :
>>
>> ...
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on project
>> shared-all: Error creating shaded jar: error in opening zip file
>> /Users/elecharny/apacheds/trunks/shared/asn1/api/target/classes -> [Help 1]
>>
> Odd it seems as though it's trying to unzip a directory as if it were a jar
> file.
>
> Do you have a -X run you can post?
No, not anymore.
I rm -rf shared, doomed my repo, and rebuilt everything.
It works now.
Really really strange. Clearly a shaded-maven bug, but I'll have to dog
the source to get a clue about it...
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Re: Shade plugin errors
Posted by Alex Karasulu <ak...@apache.org>.
On Fri, Mar 18, 2011 at 2:53 AM, Emmanuel Lecharny <el...@gmail.com>wrote:
> Hi guys,
>
> I have no idea why I get some erros on shared-all :
>
> ...
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-shade-plugin:1.4:shade (default) on project
> shared-all: Error creating shaded jar: error in opening zip file
> /Users/elecharny/apacheds/trunks/shared/asn1/api/target/classes -> [Help 1]
>
Odd it seems as though it's trying to unzip a directory as if it were a jar
file.
Do you have a -X run you can post?
Regards,
Alex