You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <ui...@incubator.apache.org> on 2008/01/17 20:01:34 UTC
[jira] Created: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
----------------------------------------------------------------------------------------------------------------
Key: UIMA-708
URL: https://issues.apache.org/jira/browse/UIMA-708
Project: UIMA
Issue Type: Improvement
Reporter: Marshall Schor
Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor closed UIMA-708.
-------------------------------
Resolution: Fixed
Fixed by moving the phase for doing this to process-resources, which after eclipse:eclipse stops the life cycle processing. Fixed some time ago.
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor reopened UIMA-708:
---------------------------------
Found out that the after this change, the eclipse:eclipse plugin fails to set the right source classpath, and is instead setting the uimaj-distr readme as the src classpath. Reverting until can figure this out
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor updated UIMA-708:
--------------------------------
Component/s: Build, Packaging and Test
Priority: Trivial (was: Major)
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (UIMA-708) fix maven build so eclipse:eclipse
goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and
DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560100#action_12560100 ]
Marshall Schor commented on UIMA-708:
-------------------------------------
These issues have been previously discovered and reported on - see http://issues.apache.org/jira/browse/UIMA-521 .
The 3 files have to be in the source tree when generating sources using the maven goal source:jar (used to deploy to the maven repository.)
The proper fix seems to be to leave things as is, but skip the copying if the goal is eclipse:eclipse.
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor reassigned UIMA-708:
-----------------------------------
Assignee: Marshall Schor
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Reporter: Marshall Schor
> Assignee: Marshall Schor
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (UIMA-708) fix maven build so eclipse:eclipse goal
doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/UIMA-708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marshall Schor closed UIMA-708.
-------------------------------
Resolution: Fixed
> fix maven build so eclipse:eclipse goal doesn't add src/main/resources/META-INF/LICENSE, NOTICES, and DISCLAIMER
> ----------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-708
> URL: https://issues.apache.org/jira/browse/UIMA-708
> Project: UIMA
> Issue Type: Improvement
> Components: Build, Packaging and Test
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Priority: Trivial
>
> Currently, every time you run eclipse:eclipse, the parent POM is configured for the life-cycle phase of generate-resources to run an ant script to copy the LICENSE, NOTICES, and DISCLAIMER files into the source tree, and because eclipse:eclipse runs the phases up to "generate-resources" (see http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html where it says: "Invokes the execution of the lifecycle phase generate-resources prior to executing itself."), these files end up in the source tree, and need to be manually deleted.
> Change this to the maven-way of doing this: add a <resources> element to the parent POM that is configured to add these files to the meta-inf of the result.
> Adam said that he tried this earlier, and got strange failures. I just tried it and it seems to work now. I ran the whole build, both install and assembly:assembly. So, I think the prior issues have been resolved with the 2.0.7 level of Maven (current level is now 2.0.8).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.