mvn deploy:deploy problem

2006-05-24 Thread Raymond N. Ritz
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.

 

project xmlns=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;

parent

   groupIdgov.nashville.jis/groupId

   artifactIdojies/artifactId

   version1.0-SNAPSHOT/version

/parent

modelVersion4.0.0/modelVersion

groupIdgov.nashville.jis/groupId

artifactIdcommons/artifactId

packagingjar/packaging

namecommons/name

version1.0-SNAPSHOT/version



build

plugins

!-- This plugin will allow us to
compile java 1.5 with annotations--

plugin

 
groupIdorg.apache.maven.plugins/groupId

 
artifactIdmaven-compiler-plugin/artifactId

configuration

 
source1.5/source

 
target1.5/target

/configuration

/plugin

/plugins 

/build

distributionManagement

repository

idjis-repository/id

urlfile:///maven2/url


/repository

snapshotRepository

idjis-repository/id

urlfile:///maven2/url


/snapshotRepository  

/distributionManagement

repositories

repository

  idjis-repository/id

  urlhttp://xxx/maven2/url

  releases

enabledtrue/enabled

  /releases

/repository

  /repositories

dependencies

!-- jakarta commons --

dependency

groupIdcommons-beanutils/groupId

 
artifactIdcommons-beanutils/artifactId

version1.7.0/version

/dependency

dependency

groupIdcommons-lang/groupId

artifactIdcommons-lang/artifactId

version2.1/version

/dependency

/dependencies   

/project

 

 

Raymond Ritz

 

 



[m2] Referencing system properties in pom?

2005-12-28 Thread Raymond N. Ritz
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

 



Running a single test?

2005-12-23 Thread Raymond N. Ritz
Is there a way to run a single junit test case in maven 2?  

 

Raymond Ritz

 



RE: Re: Running a single test?

2005-12-23 Thread Raymond N. Ritz
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]