Hi,

If I have declared a dependency to an artefact in my pom, is there a shortcut notation to reference the file path of that artefact? e.g. within some ant run script.

dependency:
                <dependency>
                        <groupId>com.codeczar.config</groupId>
                        <artifactId>config-model</artifactId>
                        <type>sql</type>
                        <classifier>create</classifier>
                        <version>1.1-SNAPSHOT</version>             
                </dependency>

currently I refer to the file directly e.g:

file="${settings.localRepository}/com/codeczar/config/config-model/1.1-SNAPSHOT/config-model-1.1-SNAPSHOT-create.sql"

is there some other syntax so I don't have to hard code the version?

e.g ${com.codeczar.config:config-model:sql:create.path}

cheers
Nathan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to