You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tek1 <te...@pobox.com> on 2003/06/08 02:03:23 UTC

clean:classes broken? / jar:install options?

[ clean:classes broken? ]

Just wondering if the goal "clean:classes" is working?  I tried running it, 
but it did not delete all the files and directories under "target/classes" 
and "target/test-classes".

Thanks...



[ jar:install options? ]

Is there anyway to install the project's .jar under the top package?  For 
example,

	If you have "foo-bar-1.0.jar" in the target directory of your project,
	is there a way to install it in the local repository as:

		MAVEN_HOME/repository/foo/jars/foo-bar-1.0.jar

	and not:

		MAVEN_HOME/repository/foo-bar/jars/foo-bar-1.0.jar

?

Thank you. 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: clean:classes broken? / jar:install options?

Posted by Leo Simons <le...@apache.org>.
tek1 wrote:
> [ clean:classes broken? ]

dunno

> [ jar:install options? ]
> 
> Is there anyway to install the project's .jar under the top package?  

easy:

<dependency>
     <groupId>ttna</groupId>
     <version>blah</version>
     <id>ttna</id>
</dependency>
<dependency>
     <groupId>ttna</groupId>
     <version>blah</version>
     <id>ttnasecurity</id>
</dependency>

with files

repo/ttna/jars/ttna-blah.jar
repo/ttna/jars/ttnasecurity-blah.jar

is what you need. Plenty of examples around, or try the docs.

- Leo



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org