Apart from strange maven behavior, I found the following really
strange in my 1.5-rc1 quickstart:

Martijn-Dashorsts-MacBook-Pro-2:myproject dashorst$ mvn jetty:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for com.mycompany:myproject:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 99,
column 12
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-eclipse-plugin is missing. @ line 115,
column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer
support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building quickstart 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:7.2.2.v20101205:run (default-cli) @ myproject >>>
Downloading: 
http://cvs.topicus.nl/artifactory/repo/org/apache/wicket/wicket-core/1.5-SNAPSHOT/maven-metadata.xml
Downloaded: 
http://cvs.topicus.nl/artifactory/repo/org/apache/wicket/wicket-core/1.5-SNAPSHOT/maven-metadata.xml
(364 B at 0.0 KB/sec)
Downloading: 
http://cvs.topicus.nl/artifactory/repo/org/apache/wicket/wicket-core/1.5-SNAPSHOT/wicket-core-1.5-20110129.002838-144.pom
Downloaded: 
http://cvs.topicus.nl/artifactory/repo/org/apache/wicket/wicket-core/1.5-SNAPSHOT/wicket-core-1.5-20110129.002838-144.pom
(3 KB at 0.5 KB/sec)
Downloading: 
http://cvs.topicus.nl/artifactory/repo/org/apache/wicket/wicket-parent/1.5-SNAPSHOT/maven-metadata.xml

This is due to the wicket.version not being replaced with 1.5-RC1:


        <properties>
                <wicket.version>1.5-SNAPSHOT</wicket.version>
                <jetty.version>7.2.2.v20101205</jetty.version>
        </properties>

It appears that release-igor.sh does more than release.sh. Amongst one
thing it does the following:

echo "modifying poms with the new version: $version"
find . -name "pom.xml" | xargs sed -i -e "s/1.5-SNAPSHOT/$version/g"
find . -name "pom.xml" | xargs sed -i -e
"s/wicket\/trunk/wicket\/releases\/$version/g"

And this should have found the pom.xml in
archetypes/quickstart/src/main/resources/archetype-resources and
modify the wicket.version.

Any idea how this went wrong?

Martijn

Reply via email to