You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Mike Mander <wi...@gmx.de> on 2011/09/08 10:22:00 UTC

[Quickstart 1.5.0] Why is my generated pom for new quickstart-project referencing 1.5-RC7?

If i generate a quickstart project with 1.5.0 the generated pom 
references 1.5-RC7.
Is this correct or maybe an effect on my machine?

command
mvn archetype:generate -DarchetypeGroupId=org.apache.wicket 
-DarchetypeArtifactId=wicket-archetype-quickstart 
-DarchetypeVersion=1.5.0 -DgroupId=poc -DartifactId=theproject 
-DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false

generates
<project xmlns="http://maven.apache.org/POM/4.0.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>poc</groupId>
<artifactId>theproject</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<!-- TODO project name  -->
<name>quickstart</name>
<description></description>
<!--
         TODO <organization> <name>company name</name> <url>company 
url</url>
</organization>
     -->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<properties>
<wicket.version>1.5-RC7</wicket.version>
<jetty.version>7.3.0.v20110203</jetty.version>
</properties>
<dependencies>
<!--  WICKET DEPENDENCIES -->
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-core</artifactId>
<version>${wicket.version}</version>
</dependency>
<!-- OPTIONAL DEPENDENCY
<dependency>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-extensions</artifactId>
<version>${wicket.version}</version>
</dependency>
         -->

<!-- LOGGING DEPENDENCIES - LOG4J -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
</dependency>

<!--  JUNIT DEPENDENCY FOR TESTING -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<scope>test</scope>
</dependency>

<!--  JETTY DEPENDENCIES FOR TESTING  -->
<dependency>
<groupId>org.eclipse.jetty.aggregate</groupId>
<artifactId>jetty-all-server</artifactId>
<version>${jetty.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
</resource>
<resource>
<filtering>false</filtering>
<directory>src/main/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</resource>
</resources>
<testResources>
<testResource>
<filtering>false</filtering>
<directory>src/test/java</directory>
<includes>
<include>**</include>
</includes>
<excludes>
<exclude>**/*.java</exclude>
</excludes>
</testResource>
</testResources>
<plugins>
<plugin>
<inherited>true</inherited>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.5</source>
<target>1.5</target>
<optimize>true</optimize>
<debug>true</debug>
</configuration>
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.8</version>
<configuration>
<downloadSources>true</downloadSources>
</configuration>
</plugin>
</plugins>
</build>

<repositories>
<repository>
<id>Apache Nexus</id>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>

</project>

Try to solve by
eclipse restarted.
mvn console command used.

All the same results.

Thanks
Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: [Quickstart 1.5.0] Why is my generated pom for new quickstart-project referencing 1.5-RC7?

Posted by Mike Mander <wi...@gmx.de>.
No problem. Thanks for clearification.
Mike
> This is our mistake ...
> We just promoted RC7 to 1.5.0 without any changes in the code and it
> seems "mvn versions:set" didn't find this occurrence of RC7 ...
>
> http://svn.apache.org/viewvc/wicket/releases/wicket-1.5.0/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml?view=markup
> has 1.5-RC7 in it
>
> I think there is no need of ticket. It will be correct for 1.5.1.
> Sorry!
>
> On Thu, Sep 8, 2011 at 11:22 AM, Mike Mander<wi...@gmx.de>  wrote:
>> If i generate a quickstart project with 1.5.0 the generated pom references
>> 1.5-RC7.
>> Is this correct or maybe an effect on my machine?
>>
>> command
>> mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
>> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.5.0
>> -DgroupId=poc -DartifactId=theproject
>> -DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false
>>
>> generates
>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/maven-v4_0_0.xsd">
>> <modelVersion>4.0.0</modelVersion>
>> <groupId>poc</groupId>
>> <artifactId>theproject</artifactId>
>> <packaging>war</packaging>
>> <version>0.0.1-SNAPSHOT</version>
>> <!-- TODO project name  -->
>> <name>quickstart</name>
>> <description></description>
>> <!--
>>         TODO<organization>  <name>company name</name>  <url>company url</url>
>> </organization>
>>     -->
>> <licenses>
>> <license>
>> <name>The Apache Software License, Version 2.0</name>
>> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
>> <distribution>repo</distribution>
>> </license>
>> </licenses>
>> <properties>
>> <wicket.version>1.5-RC7</wicket.version>
>> <jetty.version>7.3.0.v20110203</jetty.version>
>> </properties>
>> <dependencies>
>> <!--  WICKET DEPENDENCIES -->
>> <dependency>
>> <groupId>org.apache.wicket</groupId>
>> <artifactId>wicket-core</artifactId>
>> <version>${wicket.version}</version>
>> </dependency>
>> <!-- OPTIONAL DEPENDENCY
>> <dependency>
>> <groupId>org.apache.wicket</groupId>
>> <artifactId>wicket-extensions</artifactId>
>> <version>${wicket.version}</version>
>> </dependency>
>>         -->
>>
>> <!-- LOGGING DEPENDENCIES - LOG4J -->
>> <dependency>
>> <groupId>org.slf4j</groupId>
>> <artifactId>slf4j-log4j12</artifactId>
>> <version>1.6.1</version>
>> </dependency>
>> <dependency>
>> <groupId>log4j</groupId>
>> <artifactId>log4j</artifactId>
>> <version>1.2.16</version>
>> </dependency>
>>
>> <!--  JUNIT DEPENDENCY FOR TESTING -->
>> <dependency>
>> <groupId>junit</groupId>
>> <artifactId>junit</artifactId>
>> <version>4.8.1</version>
>> <scope>test</scope>
>> </dependency>
>>
>> <!--  JETTY DEPENDENCIES FOR TESTING  -->
>> <dependency>
>> <groupId>org.eclipse.jetty.aggregate</groupId>
>> <artifactId>jetty-all-server</artifactId>
>> <version>${jetty.version}</version>
>> <scope>provided</scope>
>> </dependency>
>> </dependencies>
>> <build>
>> <resources>
>> <resource>
>> <filtering>false</filtering>
>> <directory>src/main/resources</directory>
>> </resource>
>> <resource>
>> <filtering>false</filtering>
>> <directory>src/main/java</directory>
>> <includes>
>> <include>**</include>
>> </includes>
>> <excludes>
>> <exclude>**/*.java</exclude>
>> </excludes>
>> </resource>
>> </resources>
>> <testResources>
>> <testResource>
>> <filtering>false</filtering>
>> <directory>src/test/java</directory>
>> <includes>
>> <include>**</include>
>> </includes>
>> <excludes>
>> <exclude>**/*.java</exclude>
>> </excludes>
>> </testResource>
>> </testResources>
>> <plugins>
>> <plugin>
>> <inherited>true</inherited>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-compiler-plugin</artifactId>
>> <version>2.3.2</version>
>> <configuration>
>> <source>1.5</source>
>> <target>1.5</target>
>> <optimize>true</optimize>
>> <debug>true</debug>
>> </configuration>
>> </plugin>
>> <plugin>
>> <groupId>org.mortbay.jetty</groupId>
>> <artifactId>jetty-maven-plugin</artifactId>
>> <version>${jetty.version}</version>
>> </plugin>
>> <plugin>
>> <groupId>org.apache.maven.plugins</groupId>
>> <artifactId>maven-eclipse-plugin</artifactId>
>> <version>2.8</version>
>> <configuration>
>> <downloadSources>true</downloadSources>
>> </configuration>
>> </plugin>
>> </plugins>
>> </build>
>>
>> <repositories>
>> <repository>
>> <id>Apache Nexus</id>
>> <url>https://repository.apache.org/content/repositories/snapshots/</url>
>> <releases>
>> <enabled>false</enabled>
>> </releases>
>> <snapshots>
>> <enabled>true</enabled>
>> </snapshots>
>> </repository>
>> </repositories>
>>
>> </project>
>>
>> Try to solve by
>> eclipse restarted.
>> mvn console command used.
>>
>> All the same results.
>>
>> Thanks
>> Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: [Quickstart 1.5.0] Why is my generated pom for new quickstart-project referencing 1.5-RC7?

Posted by Martin Grigorov <mg...@apache.org>.
This is our mistake ...
We just promoted RC7 to 1.5.0 without any changes in the code and it
seems "mvn versions:set" didn't find this occurrence of RC7 ...

http://svn.apache.org/viewvc/wicket/releases/wicket-1.5.0/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml?view=markup
has 1.5-RC7 in it

I think there is no need of ticket. It will be correct for 1.5.1.
Sorry!

On Thu, Sep 8, 2011 at 11:22 AM, Mike Mander <wi...@gmx.de> wrote:
> If i generate a quickstart project with 1.5.0 the generated pom references
> 1.5-RC7.
> Is this correct or maybe an effect on my machine?
>
> command
> mvn archetype:generate -DarchetypeGroupId=org.apache.wicket
> -DarchetypeArtifactId=wicket-archetype-quickstart -DarchetypeVersion=1.5.0
> -DgroupId=poc -DartifactId=theproject
> -DarchetypeRepository=https://repository.apache.org/ -DinteractiveMode=false
>
> generates
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
> <groupId>poc</groupId>
> <artifactId>theproject</artifactId>
> <packaging>war</packaging>
> <version>0.0.1-SNAPSHOT</version>
> <!-- TODO project name  -->
> <name>quickstart</name>
> <description></description>
> <!--
>        TODO <organization> <name>company name</name> <url>company url</url>
> </organization>
>    -->
> <licenses>
> <license>
> <name>The Apache Software License, Version 2.0</name>
> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
> <distribution>repo</distribution>
> </license>
> </licenses>
> <properties>
> <wicket.version>1.5-RC7</wicket.version>
> <jetty.version>7.3.0.v20110203</jetty.version>
> </properties>
> <dependencies>
> <!--  WICKET DEPENDENCIES -->
> <dependency>
> <groupId>org.apache.wicket</groupId>
> <artifactId>wicket-core</artifactId>
> <version>${wicket.version}</version>
> </dependency>
> <!-- OPTIONAL DEPENDENCY
> <dependency>
> <groupId>org.apache.wicket</groupId>
> <artifactId>wicket-extensions</artifactId>
> <version>${wicket.version}</version>
> </dependency>
>        -->
>
> <!-- LOGGING DEPENDENCIES - LOG4J -->
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-log4j12</artifactId>
> <version>1.6.1</version>
> </dependency>
> <dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.16</version>
> </dependency>
>
> <!--  JUNIT DEPENDENCY FOR TESTING -->
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.8.1</version>
> <scope>test</scope>
> </dependency>
>
> <!--  JETTY DEPENDENCIES FOR TESTING  -->
> <dependency>
> <groupId>org.eclipse.jetty.aggregate</groupId>
> <artifactId>jetty-all-server</artifactId>
> <version>${jetty.version}</version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <resources>
> <resource>
> <filtering>false</filtering>
> <directory>src/main/resources</directory>
> </resource>
> <resource>
> <filtering>false</filtering>
> <directory>src/main/java</directory>
> <includes>
> <include>**</include>
> </includes>
> <excludes>
> <exclude>**/*.java</exclude>
> </excludes>
> </resource>
> </resources>
> <testResources>
> <testResource>
> <filtering>false</filtering>
> <directory>src/test/java</directory>
> <includes>
> <include>**</include>
> </includes>
> <excludes>
> <exclude>**/*.java</exclude>
> </excludes>
> </testResource>
> </testResources>
> <plugins>
> <plugin>
> <inherited>true</inherited>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.3.2</version>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> <optimize>true</optimize>
> <debug>true</debug>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>jetty-maven-plugin</artifactId>
> <version>${jetty.version}</version>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-eclipse-plugin</artifactId>
> <version>2.8</version>
> <configuration>
> <downloadSources>true</downloadSources>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
> <repositories>
> <repository>
> <id>Apache Nexus</id>
> <url>https://repository.apache.org/content/repositories/snapshots/</url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
>
> </project>
>
> Try to solve by
> eclipse restarted.
> mvn console command used.
>
> All the same results.
>
> Thanks
> Mike
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: [Quickstart 1.5.0] Why is my generated pom for new quickstart-project referencing 1.5-RC7?

Posted by Peter Miklosko <pe...@gmail.com>.
Guess they didn't had time to update it yet, or it slipped from TODO list ;)

On 8 September 2011 09:22, Mike Mander <wi...@gmx.de> wrote:

> If i generate a quickstart project with 1.5.0 the generated pom references
> 1.5-RC7.
> Is this correct or maybe an effect on my machine?
>
> command
> mvn archetype:generate -DarchetypeGroupId=org.apache.**wicket
> -DarchetypeArtifactId=wicket-**archetype-quickstart
> -DarchetypeVersion=1.5.0 -DgroupId=poc -DartifactId=theproject
> -DarchetypeRepository=https://**repository.apache.org/<https://repository.apache.org/>-DinteractiveMode=false
>
> generates
> <project xmlns="http://maven.apache.**org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>"
> xmlns:xsi="http://www.w3.org/**2001/XMLSchema-instance<http://www.w3.org/2001/XMLSchema-instance>
> "
>    xsi:schemaLocation="http://**maven.apache.org/POM/4.0.0<http://maven.apache.org/POM/4.0.0>
> http://maven.apache.org/maven-**v4_0_0.xsd<http://maven.apache.org/maven-v4_0_0.xsd>
> ">
> <modelVersion>4.0.0</**modelVersion>
> <groupId>poc</groupId>
> <artifactId>theproject</**artifactId>
> <packaging>war</packaging>
> <version>0.0.1-SNAPSHOT</**version>
> <!-- TODO project name  -->
> <name>quickstart</name>
> <description></description>
> <!--
>        TODO <organization> <name>company name</name> <url>company url</url>
> </organization>
>    -->
> <licenses>
> <license>
> <name>The Apache Software License, Version 2.0</name>
> <url>http://www.apache.org/**licenses/LICENSE-2.0.txt<http://www.apache.org/licenses/LICENSE-2.0.txt>
> </url>
> <distribution>repo</**distribution>
> </license>
> </licenses>
> <properties>
> <wicket.version>1.5-RC7</**wicket.version>
> <jetty.version>7.3.0.**v20110203</jetty.version>
> </properties>
> <dependencies>
> <!--  WICKET DEPENDENCIES -->
> <dependency>
> <groupId>org.apache.wicket</**groupId>
> <artifactId>wicket-core</**artifactId>
> <version>${wicket.version}</**version>
> </dependency>
> <!-- OPTIONAL DEPENDENCY
> <dependency>
> <groupId>org.apache.wicket</**groupId>
> <artifactId>wicket-extensions<**/artifactId>
> <version>${wicket.version}</**version>
> </dependency>
>        -->
>
> <!-- LOGGING DEPENDENCIES - LOG4J -->
> <dependency>
> <groupId>org.slf4j</groupId>
> <artifactId>slf4j-log4j12</**artifactId>
> <version>1.6.1</version>
> </dependency>
> <dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.16</version>
> </dependency>
>
> <!--  JUNIT DEPENDENCY FOR TESTING -->
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.8.1</version>
> <scope>test</scope>
> </dependency>
>
> <!--  JETTY DEPENDENCIES FOR TESTING  -->
> <dependency>
> <groupId>org.eclipse.jetty.**aggregate</groupId>
> <artifactId>jetty-all-server</**artifactId>
> <version>${jetty.version}</**version>
> <scope>provided</scope>
> </dependency>
> </dependencies>
> <build>
> <resources>
> <resource>
> <filtering>false</filtering>
> <directory>src/main/resources<**/directory>
> </resource>
> <resource>
> <filtering>false</filtering>
> <directory>src/main/java</**directory>
> <includes>
> <include>**</include>
> </includes>
> <excludes>
> <exclude>**/*.java</exclude>
> </excludes>
> </resource>
> </resources>
> <testResources>
> <testResource>
> <filtering>false</filtering>
> <directory>src/test/java</**directory>
> <includes>
> <include>**</include>
> </includes>
> <excludes>
> <exclude>**/*.java</exclude>
> </excludes>
> </testResource>
> </testResources>
> <plugins>
> <plugin>
> <inherited>true</inherited>
> <groupId>org.apache.maven.**plugins</groupId>
> <artifactId>maven-compiler-**plugin</artifactId>
> <version>2.3.2</version>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> <optimize>true</optimize>
> <debug>true</debug>
> </configuration>
> </plugin>
> <plugin>
> <groupId>org.mortbay.jetty</**groupId>
> <artifactId>jetty-maven-**plugin</artifactId>
> <version>${jetty.version}</**version>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.**plugins</groupId>
> <artifactId>maven-eclipse-**plugin</artifactId>
> <version>2.8</version>
> <configuration>
> <downloadSources>true</**downloadSources>
> </configuration>
> </plugin>
> </plugins>
> </build>
>
> <repositories>
> <repository>
> <id>Apache Nexus</id>
> <url>https://repository.**apache.org/content/**repositories/snapshots/<https://repository.apache.org/content/repositories/snapshots/>
> </url>
> <releases>
> <enabled>false</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> </repository>
> </repositories>
>
> </project>
>
> Try to solve by
> eclipse restarted.
> mvn console command used.
>
> All the same results.
>
> Thanks
> Mike
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.org<us...@wicket.apache.org>
> For additional commands, e-mail: users-help@wicket.apache.org
>
>