You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Henning P. Schmiedehausen" <hp...@intermeta.de> on 2002/12/28 13:14:20 UTC

Is there any way to provide the repository id in the project.xml

Hi,

for internal development, we keep all our generated jars under
a common id using the 

<dependency>
  <id>intermeta:niceapp</id>
  <version>2.0</version>
</dependency>

trick in project.xml (like jaf:activation).

So we have a project id of "niceapp" but want to store it on the local
repository under "intermeta".

In the various plugin.jelly scripts, code similar to this is used to
put jars into the local repository:

<copy target="${maven.repo.local}/${dep.getProjectId()}/jars/">
  <include file="${maven.build.dir}/${maven.final.name}.jar"/>
</copy>

which puts "niceapp-2.0.jar" in "niceapp/jars". Not in "intermeta/jars"

Is there any way to provide the repository id separated from the
project id?  If not, anyone interested in patches. 

There is need for this, at least with our internal build tree
structure.

	Regards
		Henning







    
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20