Show us the full mvn install line that you executed.

I think you simply are getting the groupId, artifactId, and version
messed up somewhere.

Wayne

On 11/16/07, Nicola Benaglia <[EMAIL PROTECTED]> wrote:
> Hi !!
>
> I need to add javax.persistence:ejb:jar:3.0-public_review as dependency.
>
> I found it with m2 plugin which added to the pom:
>
> <dependency>
>      <groupId>javax.persistence</groupId>
>      <artifactId>ejb-3.0-public-draft</artifactId>
>      <version>20050623</version>
>    </dependency>
>
>
> But building it I get:
>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> [ERROR] BUILD FAILURE
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Missing:
> ----------
> 1) javax.persistence:ejb:jar:3.0-public_review
>
>  Try downloading the file manually from:
>      
> http://prdownloads.sourceforge.net/hibernate/hibernate-annotations-3.1beta5.tar.gz?download
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.persistence -DartifactId=ejb \
>          -Dversion=3.0-public_review -Dpackaging=jar -Dfile=/path/to/file
>
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
>
>
>
> And if I try the manual command mentioned I get :
>
> [INFO] Error installing artifact 'javax.persistence:ejb:jar': Error 
> installing a
> rtifact: File C:\Documents and 
> Settings\nicola\.m2\repository\javax\persistence\
> ejb\3.0-public_review\ejb3-persistence.jar does not exist
>
>
> Could you please help me?
>
> Thank you,
> Nicola
>
> ---------------------------------------------------------------------
> 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