Grokbase Groups Maven users June 2012
FAQ
I just added usage of truezip-maven-plugin to my build.  I am using
the remove goal to remove some files and folders from a jar.  it works
fine when run locally on my system but has the following error when
run on our TeamCity CI build server.  The build agent is Windows7 and
so is my system.  Any ideas why this would fail?

[com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
project dashboard-dev: Remove fileset fails

[11:53:01]: [ERROR] Failed to execute goal
org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
project dashboard-dev: Remove fileset fails: Failed to delete file
F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
Reason is unknown. -> [Help 1]
[11:53:01]: [ERROR]

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Search Discussions

  • Dan Tran at Jun 22, 2012 at 6:41 pm
    can you run with -X or -e to see the stack trace?

    -D
    On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer wrote:
    I just added usage of truezip-maven-plugin to my build.  I am using
    the remove goal to remove some files and folders from a jar.  it works
    fine when run locally on my system but has the following error when
    run on our TeamCity CI build server.  The build agent is Windows7 and
    so is my system.  Any ideas why this would fail?

    [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails

    [11:53:01]: [ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
    Reason is unknown. -> [Help 1]
    [11:53:01]: [ERROR]

    -Dave

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • David Hoffer at Jun 22, 2012 at 7:01 pm
    I wish that was easier to do. Unfortunately the CI server is managed
    by a different group...I'll have to ask if they can do this.

    -Dave
    On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran wrote:
    can you run with -X or -e to see the stack trace?

    -D
    On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer wrote:
    I just added usage of truezip-maven-plugin to my build.  I am using
    the remove goal to remove some files and folders from a jar.  it works
    fine when run locally on my system but has the following error when
    run on our TeamCity CI build server.  The build agent is Windows7 and
    so is my system.  Any ideas why this would fail?

    [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails

    [11:53:01]: [ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
    Reason is unknown. -> [Help 1]
    [11:53:01]: [ERROR]

    -Dave

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • David Hoffer at Jun 22, 2012 at 7:02 pm
    Does -X include -e (errors) or do I have to have them add both?

    -Dave
    On Fri, Jun 22, 2012 at 1:00 PM, David Hoffer wrote:
    I wish that was easier to do.  Unfortunately the CI server is managed
    by a different group...I'll have to ask if they can do this.

    -Dave
    On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran wrote:
    can you run with -X or -e to see the stack trace?

    -D
    On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer wrote:
    I just added usage of truezip-maven-plugin to my build.  I am using
    the remove goal to remove some files and folders from a jar.  it works
    fine when run locally on my system but has the following error when
    run on our TeamCity CI build server.  The build agent is Windows7 and
    so is my system.  Any ideas why this would fail?

    [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails

    [11:53:01]: [ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
    Reason is unknown. -> [Help 1]
    [11:53:01]: [ERROR]

    -Dave

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • Dan Tran at Jun 22, 2012 at 8:53 pm
    -X includes -e
    On Fri, Jun 22, 2012 at 12:02 PM, David Hoffer wrote:
    Does -X include -e (errors) or do I have to have them add both?

    -Dave
    On Fri, Jun 22, 2012 at 1:00 PM, David Hoffer wrote:
    I wish that was easier to do.  Unfortunately the CI server is managed
    by a different group...I'll have to ask if they can do this.

    -Dave
    On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran wrote:
    can you run with -X or -e to see the stack trace?

    -D
    On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer wrote:
    I just added usage of truezip-maven-plugin to my build.  I am using
    the remove goal to remove some files and folders from a jar.  it works
    fine when run locally on my system but has the following error when
    run on our TeamCity CI build server.  The build agent is Windows7 and
    so is my system.  Any ideas why this would fail?

    [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails

    [11:53:01]: [ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
    Reason is unknown. -> [Help 1]
    [11:53:01]: [ERROR]

    -Dave

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • David Hoffer at Jun 25, 2012 at 9:33 pm
    Sorry for the delay..here is the log file with the debug info. I can say
    that it's not failing with one particular file in the jar...I've tried
    changing the rules and it always fails to remove the file/folder. However
    this only happens on our CI server (TeamCity) when I run local it works
    fine. Also CI build is Windows7 so is mine. Any ideas why this would fail?

    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.codehaus.mojo:truezip-maven-plugin:jar:1.0:
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.codehaus.mojo:truezip-core:jar:1.0:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-file:jar:7.5.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-driver-file:jar:7.5.4:runtime
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-kernel:jar:7.5.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-driver-zip:jar:7.5.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-swing:jar:7.5.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.commons:commons-compress:jar:1.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.tukaani:xz:jar:1.0:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.bouncycastle:bcprov-jdk16:jar:1.46:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    de.schlichtherle.truezip:truezip-driver-tar:jar:7.5.4:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven.shared:file-management:jar:1.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven.shared:maven-shared-io:jar:1.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-project:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-settings:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-profile:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-model:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-artifact-manager:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-repository-metadata:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    backport-util-concurrent:backport-util-concurrent:jar:3.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-plugin-registry:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.codehaus.plexus:plexus-interpolation:jar:1.11:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-artifact:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    junit:junit:jar:3.8.2:test (scope managed from compile) (version managed
    from 3.8.1)
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    classworlds:classworlds:jar:1.1-alpha-2:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.apache.maven:maven-plugin-api:jar:2.2.1:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG]
    org.codehaus.plexus:plexus-utils:jar:1.5.6:compile
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Created new
    class realm plugin>org.codehaus.mojo:truezip-maven-plugin:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Importing
    foreign packages into class realm
    plugin>org.codehaus.mojo:truezip-maven-plugin:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Imported: <
    project>com.issinc.chat-dashboard:chat-dashboard-parent:4.4-SNAPSHOT
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Populating
    class realm plugin>org.codehaus.mojo:truezip-maven-plugin:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.codehaus.mojo:truezip-maven-plugin:jar:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.codehaus.mojo:truezip-core:jar:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-file:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-driver-file:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-kernel:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-driver-zip:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-swing:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.apache.commons:commons-compress:jar:1.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.tukaani:xz:jar:1.0
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.bouncycastle:bcprov-jdk16:jar:1.46
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    de.schlichtherle.truezip:truezip-driver-tar:jar:7.5.4
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.apache.maven.shared:file-management:jar:1.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.apache.maven.shared:maven-shared-io:jar:1.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    backport-util-concurrent:backport-util-concurrent:jar:3.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.codehaus.plexus:plexus-interpolation:jar:1.11
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Included:
    org.codehaus.plexus:plexus-utils:jar:1.5.6
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven.wagon:wagon-provider-api:jar:1.0-alpha-6
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-project:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-settings:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-profile:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-model:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-artifact-manager:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-repository-metadata:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-plugin-registry:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-artifact:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    junit:junit:jar:3.8.2
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    classworlds:classworlds:jar:1.1-alpha-2
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Excluded:
    org.apache.maven:maven-plugin-api:jar:2.2.1
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Configuring
    mojo org.codehaus.mojo:truezip-maven-plugin:1.0:remove from plugin realm
    ClassRealm[plugin>org.codehaus.mojo:truezip-maven-plugin:1.0, parent:
    sun.misc.Launcher$AppClassLoader@1050169]
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] Configuring
    mojo 'org.codehaus.mojo:truezip-maven-plugin:1.0:remove' with basic
    configurator -->
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) includes
    = [*.txt, *.html]
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/gargoylesoftware
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/ibm
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/steadystate
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/lang
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/soyc
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/thirdparty
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/util
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/javax
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/java_cup
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/license
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/mx4j
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/net
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/trax
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/apache
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/cyberneko
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/jdesktop
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/mortbay
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/w3c
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (s) directory
    =
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/xml
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (f) filesets
    = [file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar
    (included: [*.txt, *.html], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/gargoylesoftware
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/ibm
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/steadystate
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/lang
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/soyc
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/thirdparty
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/com/google/gwt/util
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/javax
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/java_cup
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/license
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/mx4j
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/net
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/trax
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/apache
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/cyberneko
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/jdesktop
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/mortbay
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/w3c
    (included: [], excluded: []), file-set:
    F:\work\7832e3bc4d2f257b\dashboard-dev\target/dashboard-dev-4.4-SNAPSHOT.jar/org/xml
    (included: [], excluded: [])]
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (f)
    immediateUpdate = true
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (f) project =
    MavenProject: com.issinc.chat-dashboard:dashboard-dev:4.4-SNAPSHOT @
    F:\work\7832e3bc4d2f257b\dashboard-dev\pom.xml
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] (f) verbose =
    false
    *[14:52:59]*[com.issinc.chat-dashboard:dashboard-dev] [DEBUG] -- end
    configuration --
    *[14:53:10]**[com.issinc.chat-dashboard:dashboard-dev] Failed to execute
    goal org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails*
    *[14:53:10]*[INFO]
    ------------------------------------------------------------------------
    *[14:53:10]*[INFO] Reactor Summary:
    *[14:53:10]*[INFO]
    *[14:53:10]*[INFO] Chat Dashboard Parent .............................
    SUCCESS [3.685s]
    *[14:53:10]*[INFO] Dashboard Core Jar ................................
    SUCCESS [41.599s]
    *[14:53:10]*[INFO] OSGI Bundle .......................................
    SUCCESS [46.710s]
    *[14:53:10]*[INFO] Chat Dashboard Stand-Alone ........................
    SUCCESS [1:19.171s]
    *[14:53:10]*[INFO] Chat Dashboard Webapp Development .................
    FAILURE [59.052s]
    *[14:53:10]*[INFO] Chat Dashboard Webapp .............................
    SKIPPED
    *[14:53:10]*[INFO] Chat Dashboard Installer ..........................
    SKIPPED
    *[14:53:10]*[INFO]
    ------------------------------------------------------------------------
    *[14:53:10]*[INFO] BUILD FAILURE
    *[14:53:10]*[INFO]
    ------------------------------------------------------------------------
    *[14:53:10]*[INFO] Total time: 3:52.024s
    *[14:53:10]*[INFO] Finished at: Mon Jun 25 14:53:10 MDT 2012
    *[14:53:10]*[INFO] Final Memory: 42M/247M
    *[14:53:10]*[INFO]
    ------------------------------------------------------------------------
    *[14:53:10]**[ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on project
    dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
    Reason is unknown. -> [Help 1]*
    *[14:53:10]*org.apache.maven.lifecycle.LifecycleExecutionException: Failed
    to execute goal org.codehaus.mojo:truezip-maven-plugin:1.0:remove
    (trim-jar) on project dashboard-dev: Remove fileset fails
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
    *[14:53:10]* at
    org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
    *[14:53:10]* at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
    *[14:53:10]* at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    *[14:53:10]* at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    *[14:53:10]* at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    *[14:53:10]* at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    *[14:53:10]* at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    *[14:53:10]* at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    *[14:53:10]* at java.lang.reflect.Method.invoke(Method.java:601)
    *[14:53:10]* at
    org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    *[14:53:10]* at
    org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    *[14:53:10]* at
    org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    *[14:53:10]* at
    org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    *[14:53:10]*Caused by: org.apache.maven.plugin.MojoExecutionException:
    Remove fileset fails
    *[14:53:10]* at
    org.codehaus.mojo.truezip.RemoveMojo.execute(RemoveMojo.java:55)
    *[14:53:10]* at
    org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
    *[14:53:10]* at
    org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
    *[14:53:10]* ... 19 more
    *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
    Reason is unknown.
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.DefaultTrueZip.remove(DefaultTrueZip.java:208)
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.DefaultTrueZip.remove(DefaultTrueZip.java:183)
    *[14:53:10]* at
    org.codehaus.mojo.truezip.RemoveMojo.execute(RemoveMojo.java:51)
    *[14:53:10]* ... 21 more


    On Fri, Jun 22, 2012 at 2:52 PM, Dan Tran wrote:

    -X includes -e
    On Fri, Jun 22, 2012 at 12:02 PM, David Hoffer wrote:
    Does -X include -e (errors) or do I have to have them add both?

    -Dave
    On Fri, Jun 22, 2012 at 1:00 PM, David Hoffer wrote:
    I wish that was easier to do. Unfortunately the CI server is managed
    by a different group...I'll have to ask if they can do this.

    -Dave
    On Fri, Jun 22, 2012 at 12:41 PM, Dan Tran wrote:
    can you run with -X or -e to see the stack trace?

    -D
    On Fri, Jun 22, 2012 at 11:21 AM, David Hoffer wrote:
    I just added usage of truezip-maven-plugin to my build. I am using
    the remove goal to remove some files and folders from a jar. it works
    fine when run locally on my system but has the following error when
    run on our TeamCity CI build server. The build agent is Windows7 and
    so is my system. Any ideas why this would fail?

    [com.issinc.chat-dashboard:dashboard-dev] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails

    [11:53:01]: [ERROR] Failed to execute goal
    org.codehaus.mojo:truezip-maven-plugin:1.0:remove (trim-jar) on
    project dashboard-dev: Remove fileset fails: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\com\gargoylesoftware\htmlunit\util\DebuggingWebConnection.index.html.
    Reason is unknown. -> [Help 1]
    [11:53:01]: [ERROR]

    -Dave

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • Wayne Fay at Jun 25, 2012 at 9:57 pm

    *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
    Reason is unknown.
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)
    Does that path exist?
    Does the CI server user have permissions to delete that file?

    The code you're running into is roughly here:
    http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

    If you have a specific change/patch to provide that might help solve
    this issue, please don't hesitate to provide it.

    Wayne

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • David Hoffer at Jun 26, 2012 at 7:06 pm
    Thanks much for your help. Unfortunately I don't have access to our CI
    build server so there wasn't much I could do here. I changed the build to
    not use this plugin...I just unzip and then re-jar...solves this problem in
    this case.

    Thanks,
    -Dave
    On Mon, Jun 25, 2012 at 3:57 PM, Wayne Fay wrote:

    *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
    Reason is unknown.
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)

    Does that path exist?
    Does the CI server user have permissions to delete that file?

    The code you're running into is roughly here:

    http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

    If you have a specific change/patch to provide that might help solve
    this issue, please don't hesitate to provide it.

    Wayne

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
  • Dan Tran at Jun 26, 2012 at 7:09 pm
    may want to try 'immediateUpdate=true'

    -D
    On Tue, Jun 26, 2012 at 12:05 PM, David Hoffer wrote:
    Thanks much for your help.  Unfortunately I don't have access to our CI
    build server so there wasn't much I could do here.  I changed the build to
    not use this plugin...I just unzip and then re-jar...solves this problem in
    this case.

    Thanks,
    -Dave
    On Mon, Jun 25, 2012 at 3:57 PM, Wayne Fay wrote:

    *[14:53:10]*Caused by: java.io.IOException: Failed to delete file
    F:\work\7832e3bc4d2f257b\dashboard-dev\target\dashboard-dev-4.4-SNAPSHOT.jar\rhinoDiff.txt.
    Reason is unknown.
    *[14:53:10]* at
    org.codehaus.mojo.truezip.internal.TrueZipFileSetManager.delete(TrueZipFileSetManager.java:353)

    Does that path exist?
    Does the CI server user have permissions to delete that file?

    The code you're running into is roughly here:

    http://grepcode.com/file/repo1.maven.org/maven2/org.codehaus.mojo/truezip-maven-plugin/1.0-beta-7/org/codehaus/mojo/truezip/util/TrueZipFileSetManager.java#349

    If you have a specific change/patch to provide that might help solve
    this issue, please don't hesitate to provide it.

    Wayne

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org
    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
    For additional commands, e-mail: users-help@maven.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupusers @
categoriesmaven
postedJun 22, '12 at 6:21p
activeJun 26, '12 at 7:09p
posts9
users3
websitemaven.apache.org
irc#maven

People

Translate

site design / logo © 2021 Grokbase