maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew E. Davidson" <>
Subject how to run compile and packaging before test?
Date Wed, 11 Dec 2013 22:57:07 GMT


my unit test require I a *.tar.gz. The *.tar.gz needs to include the 3rd party dependencies
and the projects jar file artifact. 

I tried using an assembly and setting the phase, so it will run before the unit tests run,
how ever my project artifact has not been packaged yet

Any comments or suggestions would be greatly appreciated


$ mvn -version
Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 05:51:28-0800)

from my pom.xml

				<!-- The assembly to builds the topology tarball we install on the Athena 
					platform -->
						<!-- we can not use package, local unit test will not run eclipse complains 
							about process-test-classes <phase>process-test-classes</phase> -->
						<descriptor> src/createTarballAssembly.xml</descriptor>

here is my assembly file


	<!-- ref: -->

				< ! - - 
				- - >

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message