I have used this many times and can assure you it works.

How are you calling the release goals?  In one line or as different
steps?

-----Original Message-----
From: Johannes Schneider [mailto:[email protected]] 
Sent: Thursday, November 12, 2009 12:43 PM
To: [email protected]
Subject: release:perform fails with "<type>test-jar</type>"

Hi,

I have a multi module project here. It has several dependencies like
that:

   <dependency>
      <groupId>com.cedarsoft.commons</groupId>
      <artifactId>serialization</artifactId>
      <type>test-jar</type>
      <scope>test</scope>
    </dependency>

Everything works as expected (install works). But I can't release a new
version.
release:prepare runs fine, but release:perform fails with a compiler
error (cannot find symbol). The compiler doesn't find a class defined
within the test-jar.

Can anyone given me a hint what might be wrong?



Thanks,

Johannes



mvn -v
Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200) Java version:
1.6.0_16 Java home: /usr/lib/jvm/java-6-sun-1.6.0.16/jre
Default locale: en_US, platform encoding: UTF-8 OS name: "linux"
version: "2.6.31-15-generic" arch: "amd64" Family: "unix"



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


                                        
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain 
confidential and proprietary information of Alcatel-Lucent and/or its 
affiliated entities. Access by the intended recipient only is authorized. Any 
liability arising from any party acting, or refraining from acting, on any 
information contained in this e-mail is hereby excluded. If you are not the 
intended recipient, please notify the sender immediately, destroy the original 
transmission and its attachments and do not disclose the contents to any other 
person, use it for any purpose, or store or copy the information in any medium. 
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or 
its affiliated entities.
                                        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to