[ 
http://jira.codehaus.org/browse/MRAR-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111917
 ] 

Dennis Lundberg commented on MRAR-19:
-------------------------------------

I do not know the answer to this question.
Please ask about it on the users list.

> projects with packaging rar don't compile
> -----------------------------------------
>
>                 Key: MRAR-19
>                 URL: http://jira.codehaus.org/browse/MRAR-19
>             Project: Maven 2.x Rar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: windows xp professional
>            Reporter: Salvio Sergi
>            Priority: Trivial
>
> In documentation (sub) projects it may be very useful to pack the generated 
> site to an archive. I tried using rar and found this bug.
> Steps to reproduce
> * create a new (empty) project with the following pom.xml
> {code} 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
>   <modelVersion>4.0.0</modelVersion>
>   <groupId>sample</groupId>
>   <artifactId>sample</artifactId>
>   <packaging>rar</packaging>
>   <version>0.0.1</version>
> </project>
> {code} 
> * running {{noformat}} mvn package I get the following error
> {noformat} 
> [WARNING] Connector deployment descriptor: 
> C:\projects\sample\target\sample-0.0.1\META-INF\ra.xml does not exist.
> [INFO] Could not find manifest file: 
> C:\projects\sample\src\main\rar\META-INF\MANIFEST.MF - Generating one
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error assembling RAR
> Embedded error: C:\projects\sample\target\sample-0.0.1 isn't a directory.
> {noformat} 
> I would expect this to work similarly to the jar packaging type...
> *Workaround*: manually create a directory /target/sample-0.0.1 before running 
> mvn package

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

        

Reply via email to