You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/07/04 10:50:26 UTC

[jira] Updated: (MNG-3629) mvn install-file suggestion wrong?

     [ http://jira.codehaus.org/browse/MNG-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MNG-3629:
------------------------------

    Fix Version/s: 2.0.x

> mvn install-file suggestion wrong?
> ----------------------------------
>
>                 Key: MNG-3629
>                 URL: http://jira.codehaus.org/browse/MNG-3629
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.0.9
>            Reporter: Marvin Froeder
>             Fix For: 2.0.x
>
>
> Hi,
> On flex-mojos, I have one type where type != extension:
> 		<component>
> 			<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
> 			<role-hint>resource-bundle</role-hint>
> 			<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
> 			<configuration>
> 				<type>resource-bundle</type>
> 				<extension>swc</extension>
> 			</configuration>
> 		</component>
> But, when this artifact is missing, maven show this:
> [INFO] Failed to resolve artifact.
> Missing:
> ----------
> 1) com.adobe.flex.sdk:framework:resource-bundle:asdas:3.0.0.477
>   Try downloading the file manually from the project website.
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=framework -Dversion=3.0.0.477 -Dclassifier=asdas -Dpackaging=resource-bundle -Dfile=
> /path/to/file
>   Alternatively, if you host your own repository you can deploy the file there:
>       mvn deploy:deploy-file -DgroupId=com.adobe.flex.sdk -DartifactId=framework -Dversion=3.0.0.477 -Dclassifier=asdas -Dpackaging=resource-bundle -Dfile=/p
> ath/to/file -Durl=[url] -DrepositoryId=[id]
>   Path to dependency:
>         1) com.datasul.test:optimization:swf:1.0-SNAPSHOT
>         2) com.adobe.flex.sdk:framework:resource-bundle:asdas:3.0.0.477
> ----------
> 1 required artifact is missing.
> If I install following this, the artifact on repository will be wrong.
> I need to install like this:
> mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=framework -Dversion=3.0.0.477 -Dclassifier=asdas -Dpackaging=swc -Dfile=/path/to/file
> The packaging suggested by maven is wrong.
> VELO

-- 
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