|
View:
New views
15 Messages
—
Rating Filter:
Alert me
|
|
|
Created: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources sectionmvn deploy inserts target directory during jar build when using a resources section
----------------------------------------------------------------------------------- Key: MDEPLOY-105 URL: http://jira.codehaus.org/browse/MDEPLOY-105 Project: Maven 2.x Deploy Plugin Issue Type: Bug Affects Versions: 2.4 Environment: MVN 2.1.0, WindowsXP Reporter: Ronald van de Kuil Attachments: pom.xml When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. The JAR is special as it contains a resources section. I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182393#action_182393 ] Ronald van de Kuil commented on MDEPLOY-105: -------------------------------------------- I ran the debugger on the 2.4 maven-deploy-plugin. When the debugger hits the breakpoint that I set at the beginning of DeployMojo.execute then the jar is allready updated with the target folder a few milliseconds before. I am not an expert on this plugin but it seems that the bug is located in another plugin. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182394#action_182394 ] Ronald van de Kuil commented on MDEPLOY-105: -------------------------------------------- I ran the debugger on the 2.4 maven-deploy-plugin. When the debugger hits the breakpoint that I set at the beginning of DeployMojo.execute then the jar is allready updated with the target folder a few milliseconds before. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182393#action_182393 ] Ronald van de Kuil edited comment on MDEPLOY-105 at 7/3/09 4:18 AM: -------------------------------------------------------------------- I ran the debugger on the 2.4 maven-deploy-plugin. When the debugger hits the breakpoint that I set at the beginning of DeployMojo.execute then the jar is allready updated with the target folder a few milliseconds before. was (Author: rollantz): I ran the debugger on the 2.4 maven-deploy-plugin. When the debugger hits the breakpoint that I set at the beginning of DeployMojo.execute then the jar is allready updated with the target folder a few milliseconds before. I am not an expert on this plugin but it seems that the bug is located in another plugin. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182394#action_182394 ] Ronald van de Kuil edited comment on MDEPLOY-105 at 7/3/09 4:22 AM: -------------------------------------------------------------------- My next debug inspection will be the maven-jar-plugin. was (Author: rollantz): I ran the debugger on the 2.4 maven-deploy-plugin. When the debugger hits the breakpoint that I set at the beginning of DeployMojo.execute then the jar is allready updated with the target folder a few milliseconds before. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182394#action_182394 ] Ronald van de Kuil edited comment on MDEPLOY-105 at 7/3/09 4:35 AM: -------------------------------------------------------------------- I ran the debugger on the maven-jar-plugin. The JarMojo updates the jar with the target folder during the deploy phase. Where it calls File jarFile = createArchive(); was (Author: rollantz): My next debug inspection will be the maven-jar-plugin. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182394#action_182394 ] Ronald van de Kuil edited comment on MDEPLOY-105 at 7/3/09 4:48 AM: -------------------------------------------------------------------- I ran the debugger on the maven-jar-plugin. The JarMojo updates the jar with the target folder during the deploy phase. Where it calls File jarFile = createArchive(); When I step into this method I can see that the following class updates the jar. org.apache.maven.archiver.MavenArchiver This occurs in the JarMojo at line 218: archiver.createArchive( project, archive ); was (Author: rollantz): I ran the debugger on the maven-jar-plugin. The JarMojo updates the jar with the target folder during the deploy phase. Where it calls File jarFile = createArchive(); > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182401#action_182401 ] Ronald van de Kuil commented on MDEPLOY-105: -------------------------------------------- The MavenArchiver uses the org.codehaus.plexus.archiver.jar.JarArchiver which resides in my plexus-archiver-1.0-alpha-11.jar > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182401#action_182401 ] Ronald van de Kuil edited comment on MDEPLOY-105 at 7/3/09 6:09 AM: -------------------------------------------------------------------- The MavenArchiver uses the org.codehaus.plexus.archiver.jar.JarArchiver which resides in my plexus-archiver-1.0-alpha-11.jar I did checkout this version from http://svn.codehaus.org/plexus/plexus-components/tags/plexus-archiver-1.0-alpha-11 The debugger looses track however. was (Author: rollantz): The MavenArchiver uses the org.codehaus.plexus.archiver.jar.JarArchiver which resides in my plexus-archiver-1.0-alpha-11.jar > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MDEPLOY-105) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MDEPLOY-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182406#action_182406 ] Ronald van de Kuil commented on MDEPLOY-105: -------------------------------------------- created http://jira.codehaus.org/browse/PLXCOMP-133 > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MDEPLOY-105 > URL: http://jira.codehaus.org/browse/MDEPLOY-105 > Project: Maven 2.x Deploy Plugin > Issue Type: Bug > Affects Versions: 2.4 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Moved: (MJAR-120) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MJAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bentmann moved MDEPLOY-105 to MJAR-120: ------------------------------------------------ Affects Version/s: (was: 2.4) 2.2 Key: MJAR-120 (was: MDEPLOY-105) Project: Maven 2.x Jar Plugin (was: Maven 2.x Deploy Plugin) > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MJAR-120 > URL: http://jira.codehaus.org/browse/MJAR-120 > Project: Maven 2.x Jar Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Issue Comment Edited: (MJAR-120) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MJAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182558#action_182558 ] Benjamin Bentmann edited comment on MJAR-120 at 7/3/09 10:39 AM: ----------------------------------------------------------------- The project is misconfigured, the resource exclusion {{<exclude>target/\*.\*</exclude>}} only excludes immediate children of the {{target}} directory but not say {{target/classes/SomeClass.class}}. Run "mvn package package ... package" and see the output JAR continuously grow. I strongly suggest to adopt the [Maven Standard Directory Layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html]. As a minimun, refactor to project such that the base directory is not the base of the source/resource files. was (Author: bentmann): The project is misconfigured, the resource exclusion {{<exclude>target/*.*</exclude>}} only excludes immediate children of the {{target}} directory but not say {{target/classes/SomeClass.class}}. Run "mvn package package ... package" and see the output JAR continuously grow. I strongly suggest to adopt the [Maven Standard Directory Layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html]. As a minimun, refactor to project such that the base directory is not the base of the source/resource files. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MJAR-120 > URL: http://jira.codehaus.org/browse/MJAR-120 > Project: Maven 2.x Jar Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Assignee: Benjamin Bentmann > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Closed: (MJAR-120) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MJAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bentmann closed MJAR-120. ---------------------------------- Assignee: Benjamin Bentmann Resolution: Not A Bug The project is misconfigured, the resource exclusion {{<exclude>target/*.*</exclude>}} only excludes immediate children of the {{target}} directory but not say {{target/classes/SomeClass.class}}. Run "mvn package package ... package" and see the output JAR continuously grow. I strongly suggest to adopt the [Maven Standard Directory Layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html]. As a minimun, refactor to project such that the base directory is not the base of the source/resource files. > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MJAR-120 > URL: http://jira.codehaus.org/browse/MJAR-120 > Project: Maven 2.x Jar Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Assignee: Benjamin Bentmann > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MJAR-120) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MJAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182563#action_182563 ] Ronald van de Kuil commented on MJAR-120: ----------------------------------------- Thank you for your quick response. I reconfigured the pom as follows and it works now :D <resources> <resource> <directory>.</directory> <filtering>true</filtering> <includes> <include>**/*.wsdl</include> <include>**/*.xsd</include> </includes> <excludes> <exclude>target/classes/*.*</exclude> <exclude>target/classes/xsd-includes/*.*</exclude> </excludes> </resource> </resources> Thank you very much! > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MJAR-120 > URL: http://jira.codehaus.org/browse/MJAR-120 > Project: Maven 2.x Jar Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Assignee: Benjamin Bentmann > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
|
Commented: (MJAR-120) mvn deploy inserts target directory during jar build when using a resources section[ http://jira.codehaus.org/browse/MJAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=182566#action_182566 ] Benjamin Bentmann commented on MJAR-120: ---------------------------------------- For completeness, the pattern {{target/**}} would exclude target and all its sub directories (recursively). > mvn deploy inserts target directory during jar build when using a resources section > ----------------------------------------------------------------------------------- > > Key: MJAR-120 > URL: http://jira.codehaus.org/browse/MJAR-120 > Project: Maven 2.x Jar Plugin > Issue Type: Bug > Affects Versions: 2.2 > Environment: MVN 2.1.0, WindowsXP > Reporter: Ronald van de Kuil > Assignee: Benjamin Bentmann > Attachments: pom.xml > > > When I run mvn install on the attached pom I get a jar without a target directory inside. This is exactly what I need. > When I run mvn deploy then the jar is updated with the target directory. This is a problem for me as I need to pass the jar to the websphere service deploy task. The service deploy task cannot handle the files in the target directory. The service deploy task aborts with errors. > The JAR is special as it contains a resources section. > I have another jar project without resources to include and for this project the target folder is not inserted during the deploy phase. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
| Free embeddable forum powered by Nabble | Forum Help |