the correct packaging for a rar is to have the compiled classes as a jar file inside the rar file. You probably want two modules in your case... first module is packaging:jar and compiles the classes. second module is the rar module and it depends on the first and just adds the rar descriptor.
-Stephen On 30 August 2010 14:53, D D <[email protected]> wrote: > Hello, > > I wonder if someone could help me with rar artifact. I used the default > plugin available on Maven's website. ( > http://maven.apache.org/plugins/maven-rar-plugin/) Technically the > packaging > type is jar but the artifact built actually is a rar file that is renamed > to > jar when installed in the repository. . > > My problem is that I can't set dependency on that rar file. The compiled > code is in a jar inside the rar. Any idea what I'm doing wrong? > > Thanks, > Dave >
