(resending since I'm not seeing the message on the ml after an hour...)

Martin Desruisseaux ha scritto:
> The work is not yet finished.
>
> Done:
>    - Fixed all 'src' subdirectories. They now contains 'src/main/java',
>      'src/main/resources', 'src/test/java', 'src/test/resources', etc.
>      according Maven conventions.
>   
Cool
>    - Renamed all <artifactId> in all pom.xml files. I removed the "gt2-"
>      prefix in all artifact names (but *not* in JAR files; the JAR files
>      are still prefixed by "gt-"; I removed the "2" as suggested by Jody).
>      Removing the "gt2-" prefix in artifact names allow them to match the
>      directories names, which allow us to remove all <scm>, <url> and
>      <connection> declarations in pom.xml files except the root one. The
>      correct URLs are build by Maven, the default being directory names
>      matching artifact names (like Java class names matching file names).
>
>   
Oh... this is going to be a trouble. Do you have an idea how common a
"main" module is?
The eclipse plugin generates projects whose name matches the artifactId,
this means I won't be
able to have geoserver and geotools loaded at the same time in Eclipse
because we do have
two main modules now...

I've tried to override the project name like this:

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-eclipse-plugin</artifactId>
        <configuration>
            <project>gt2-${project}</project>
        </configuration>
      </plugin>

but this only triggered an error, because the "project" property is read
only in this plugin.

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