[jira] Created: (MRAR-19) projects with packaging rar don't compile

2007-10-27 Thread Salvio Sergi (JIRA)
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} 


  4.0.0
  sample
  sample
  rar
  0.0.1

{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




[jira] Commented: (MRAR-19) projects with packaging rar don't compile

2007-10-28 Thread Salvio Sergi (JIRA)

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

Salvio Sergi commented on MRAR-19:
--

before closing the issue, is the rar plugin supposed to work with a packaging 
"pom" ?

I get the same error when I run {{mvn rar:rar}} on an empty project but get 
just an empty jar if I run {{mvn jar:jar}}

> 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} 
> 
> 
>   4.0.0
>   sample
>   sample
>   rar
>   0.0.1
> 
> {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




[jira] Created: (MNG-3263) packaging type rar should not be allowed

2007-10-29 Thread Salvio Sergi (JIRA)
packaging type rar should not be allowed 
-

 Key: MNG-3263
 URL: http://jira.codehaus.org/browse/MNG-3263
 Project: Maven 2
  Issue Type: Bug
  Components: POM
Affects Versions: 2.0.7
Reporter: Salvio Sergi
Priority: Trivial


rar is a plugin and not a packaging type according to the first comment posted 
to this bug: http://jira.codehaus.org/browse/MRAR-19

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