I am not sure what happened, but the problem disappeared.  I checked out a new 
sandbox and all seems to be well.

-----Original Message-----
From: Todd Patch
Sent: Tuesday, September 15, 2009 3:09 PM
To: [email protected]
Subject: RE: dependency Classifier not honored?

Hi Stephen,

        That is actually how I got it into the repository.  The only manual 
step that I took was to copy the artifact and change the name while 
troubleshooting.

Todd

-----Original Message-----
From: Stephen Connolly [mailto:[email protected]]
Sent: Monday, September 14, 2009 10:51 AM
To: Maven Users List
Subject: Re: dependency Classifier not honored?

Do not copy files into your repository by hand... use mvn install:install-file

otherwise you will hit these kinds of problems

-Stephen

P.S.

I do not know if this is _all_ you need to do to fix your issue, but
it is at least some of what you need to do

2009/9/14  <[email protected]>:
> Hi,
>
>                I have setup the following dependency in my POM:
>
>                <dependency>
>                                <groupId>com.adobe.flex.sdk</groupId>
>                                <artifactId>datavisualization_rb</artifactId>
>                                <version>${flex.sdk.version}</version>
>                                <classifier>en_US</classifier>
>                                <type>swc</type>
>                </dependency>
>
> I placed the artifact in my repo
>
> C:\dev\maven\repo\com\adobe\flex\sdk\datavisualization_rb\3.2.0.3958 and the 
> name of the artifact is "datavisualization_rb-3.2.0.3958-en_US.swc" .
>
> When I run, I get the following error:
>
> ---- Error start ----
>
> 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=datavisualization_rb -Dversion=3.2.0.3958 -Dpackaging=swc
>  -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=datavisualization_rb -Dversion=3.2.0.3958 -Dpackaging=swc -
> Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>  com.adobe.flex.sdk:datavisualization_rb:swc:3.2.0.3958
>
> ----- Error End -----
>
> I went into the repo and changed the name of the artifact to 
> "datavisualization_rb-3.2.0.3958.swc" and ran it again.  This time it was 
> successful.
>
> Does the classifier not work in Maven 2.2.1 or am I doing it wrong?
>
> Thanks,
>
> Todd
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to