Adrian Custer ha scritto:
> Hey all,
> 
> I've committed an initial take on maven/archetype onto trunk. If any of
> you really understand the technology and would take the time to look at
> what I've done, I could use some expert help.
> 
> 
> Specifically:
> 
> (1) Must the version number of the dependency be fixed?
> 
> I'd like the example to depend on geotools releases. For now, I've tried
> to add to 
> 
>   maven/archetype/src/main/resources/archetype-resources/pom.xml
> 
> the dependencies with 
> 
>     <dependency>
>       <groupId>org.geotools</groupId>
>       <artifactId>api</artifactId>
>       <version>${project.version}</version>
>     </dependency>
> 
> using the ${project.version} variable so we could build artifacts for
> the latest release. That variable is never replaced by the mvn build so
> it looks like we'd need to hard code it to 2.4-SNAPSHOT. Any
> alternatives?

It seems to me it does not work because you did not provide
a parent pom, but I may be mistaken. Have you seen this btw?
http://maven.apache.org/guides/mini/guide-creating-archetypes.html

Cheers
Andrea

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to