|
[jira] Commented: (MEXEC-17) system dependencies are not put on exec:java c: msg#00363java.maven-plugins.mojo.devel
[ http://jira.codehaus.org/browse/MEXEC-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86383 ] Jerome Lacoste commented on MEXEC-17: ------------------------------------- Ryan, is this a big issue for you? Wonder if it is the trouble. >From MWAR23, I guesss that maven might be fixed to return the list including >the system scope dependencies (but when?). So the solution might be to do project.getDependencies, resolve the artifacts using an artifactCollector, then go through the ResolutionNode and their Artifact to idenfity the System scope ones and add them manually to the list of dependencies that project.getArtifacts() return. Any better idea ? > system dependencies are not put on exec:java classpath > ------------------------------------------------------ > > Key: MEXEC-17 > URL: http://jira.codehaus.org/browse/MEXEC-17 > Project: Mojo Exec Plugin > Issue Type: Bug > Affects Versions: 1.0.2 > Reporter: Ryan Sonnek > Priority: Critical > > My project uses a system dependency to get tools.jar onto the project > classpath. when running the exec:java plugin, that dependency is not being > put on the classpath. > I've debugged the plugin output (using the -X flag) and have verified that > tools.jar is not being added to the classpath: > [DEBUG] Plugin Dependencies will be excluded. > [DEBUG] Project Dependencies will be included. > [DEBUG] Adding to classpath : > file:/product01/x-stream/users/rsonnek/pacific/modules/pacific-backend/target/classes/ > [DEBUG] Adding to classpath : > file:/product01/x-stream/users/rsonnek/pacific/modules/pacific-backend/target/test-classes > [DEBUG] Adding project dependency artifact: aopalliance to classpath -- 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 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Plugins for dependences and Fitness, pkernevez |
|---|---|
| Next by Date: | [jira] Created: (MOJO-630) Transform documents do not have their entities resolved with respect to the Catalog, Andrew Thornton (JIRA) |
| Previous by Thread: | [jira] Commented: (MEXEC-17) system dependencies are not put on exec:java classpath, Jerome Lacoste (JIRA) |
| Next by Thread: | [jira] Commented: (MEXEC-17) system dependencies are not put on exec:java classpath, Jerome Lacoste (JIRA) |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |