mvn deploy:deploy problem
All, When attempting to use mvn deploy:deploy or even if I try mvn deploy:deploy-file I am getting an error that reads "The packaging for this project did not assign a file to the build artifact" . I am trying to use the deploy command to release a jar into our local repository. I have done this with other projects successfully, but have not been able to figure out why this project is different (other than this is child pom). Here is the pom from the project (The actual paths to the repos have been omitted), and the repositories are configured in my local maven settings file. Any thoughts are appreciated. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> gov.nashville.jis ojies 1.0-SNAPSHOT 4.0.0 gov.nashville.jis commons jar commons 1.0-SNAPSHOT org.apache.maven.plugins maven-compiler-plugin 1.5 1.5 jis-repository file:///maven2 jis-repository file:///maven2 jis-repository http://xxx/maven2 true commons-beanutils commons-beanutils 1.7.0 commons-lang commons-lang 2.1 Raymond Ritz
[m2] Referencing system properties in pom?
All, I would like to be able to reference my operating systems configured user.home variable inside of pom.xml to allow my maven 2 builds to reference a filters configuration file that exists in user.home. Regards, Raymond Ritz
RE: Re: Running a single test?
Thanks Chris. This works. I have previously tried the mvn test -dtest=xxx.yyy.classname . do you know why this approach was chosen? This seems strange to me, but I may not know why this was done. Thanks Ray -Original Message- From: Chris Berry [mailto:[EMAIL PROTECTED] Sent: Friday, December 23, 2005 1:39 PM To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Running a single test? mvn -Dtest=MyTest test Note: MyTest is your java test class. Note: Use it "unqualified" -- without its package name (e.g. without " com.myco.") otherwise, this confuses m2 On 12/23/05, Raymond N. Ritz <[EMAIL PROTECTED]> wrote: > > Is there a way to run a single junit test case in maven 2? > > > > Raymond Ritz > > > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Running a single test?
Is there a way to run a single junit test case in maven 2? Raymond Ritz