[ http://jira.codehaus.org/browse/MJAR-20?page=all ]
Brett Porter reopened MJAR-20:
------------------------------
I have reverted r417029 as it caused a regression (integration tests 94, 89,
88, 85, 81, 77, 72, 43, 41, 30)
Caused by: org.apache.maven.artifact.installer.ArtifactInstallationException:
Error installing artifact: File
c:\home\brett\scm\maven\components\maven-core-it\it0094\test\target\classes
does not exist
at
org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:84)
at
org.apache.maven.plugin.install.InstallMojo.execute(InstallMojo.java:104)
... 19 more
Caused by: java.io.IOException: File
c:\home\brett\scm\maven\components\maven-core-it\it0094\test\target\classes
does not exist
at org.codehaus.plexus.util.FileUtils.copyFile(FileUtils.java:798)
at
org.apache.maven.artifact.installer.DefaultArtifactInstaller.install(DefaultArtifactInstaller.java:70)
... 20 more
Please reapply, create a test to replicate this issue, then fix the issue.
> Don't create empty jars
> -----------------------
>
> Key: MJAR-20
> URL: http://jira.codehaus.org/browse/MJAR-20
> Project: Maven 2.x Jar Plugin
> Type: Improvement
> Versions: 2.0
> Reporter: Carlos Sanchez
> Assignee: Carlos Sanchez
> Priority: Minor
> Fix For: 2.1
> Attachments: MJAR-20.patch
>
>
> Creating empty jars is confusing, it should just print a warning
> use case:
> parent pom attaching test jar, some subprojects may not have tests, why
> create jars for them?
--
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