Quantcast

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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@codehaus.org
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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@codehaus.org

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

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

rar is not a packaging - it's a plugin.
Please see the documentation at
http://maven.apache.org/plugins/maven-rar-plugin/
and the FAQ at
http://maven.apache.org/plugins/maven-rar-plugin/faq.html


> 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ 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}
> <?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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

    [ 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 | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

JIRA jira@codehaus.org
In reply to this post by JIRA jira@codehaus.org

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

Dennis Lundberg closed MRAR-19.
-------------------------------

    Resolution: Won't Fix

> 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

       
Loading...