This seems to work:

Settings:
<rule>
  <fromsystem>
    <src org="apache" module="wicket\-(.+)"/>
    <dest org="org.apache.wicket" module="$m0"/>
  </fromsystem>
  <tosystem>
    <src org="org.apache.wicket" module=".*"/>
    <dest org="apache" module="$m0"/>
  </tosystem>
</rule>

>From the demo I've changed the 'maven2-namespace-deps' target so I can
call it like this:

maven2-namespace-deps -Dorg=apache -Dmod=wicket-jdk14 -Dver=1.3.1

Now my local repository contains correct artefacts.

-J.



> Using the sample I now get:
>
>      /org.apache.wicket/wicket/1.3.1/...
>
> So basically my question is how to remove 'org.' and '.wicket' from the
> organisation part?
>
>
>> This ought to be a simple question....
>>
>> Suppose I want to store wicket 1.3.1 in my repository and for this I
>> want
>> to use ivy:install
>> What do I need in order to have the following layout
>>
>>  /apache/wicket/1.3.1/ivys
>>  /apache/wicket/1.3.1/jars
>>
>> Wicket is located here: http://repo1.maven.org/maven2/org/apache/wicket
>>
>>
>>
>>
>>
>
>
>


Reply via email to