modified poms for release 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/wicket/branches/wicket-1.5.1@1175611 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/archetypes/quickstart/pom.xml b/archetypes/quickstart/pom.xml
index 727c107..ede385c 100644
--- a/archetypes/quickstart/pom.xml
+++ b/archetypes/quickstart/pom.xml
@@ -3,7 +3,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml b/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
index 839b1ec..17b7dac 100644
--- a/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml
@@ -20,7 +20,7 @@
</license>
</licenses>
<properties>
- <wicket.version>1.5-SNAPSHOT</wicket.version>
+ <wicket.version>1.5.1</wicket.version>
<jetty.version>7.5.0.v20110901</jetty.version>
</properties>
<dependencies>
diff --git a/pom.xml b/pom.xml
index c3b66f8..efaf3e9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<packaging>pom</packaging>
<name>Wicket Parent</name>
<description>Wicket is a Java-based open source component web application framework.</description>
@@ -224,9 +224,9 @@
<url>https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/</url>
</ciManagement>
<scm>
- <connection>scm:svn:http://svn.apache.org/repos/asf/wicket/releases/1.5-SNAPSHOT</connection>
- <developerConnection>scm:svn:https://svn.apache.org/repos/asf/wicket/releases/1.5-SNAPSHOT</developerConnection>
- <url>http://svn.apache.org/viewvc/wicket/releases/1.5-SNAPSHOT</url>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/wicket/releases/1.5.1</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/wicket/releases/1.5.1</developerConnection>
+ <url>http://svn.apache.org/viewvc/wicket/releases/1.5.1</url>
</scm>
<mailingLists>
<mailingList>
diff --git a/testing/wicket-threadtest/pom.xml b/testing/wicket-threadtest/pom.xml
index b86e4a5..63c9024 100644
--- a/testing/wicket-threadtest/pom.xml
+++ b/testing/wicket-threadtest/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../../pom.xml</relativePath>
</parent>
diff --git a/wicket-auth-roles/pom.xml b/wicket-auth-roles/pom.xml
index 706d528..1aeeeab 100644
--- a/wicket-auth-roles/pom.xml
+++ b/wicket-auth-roles/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/InstantiationPermissionsTest.java b/wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/InstantiationPermissionsTest.java
index cf4dcf9..82e3787 100644
--- a/wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/InstantiationPermissionsTest.java
+++ b/wicket-auth-roles/src/test/java/org/apache/wicket/authroles/authorization/strategies/role/metadata/InstantiationPermissionsTest.java
@@ -1,125 +1,125 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.wicket.authroles.authorization.strategies.role.metadata;
-
-import junit.framework.TestCase;
-
-import org.apache.wicket.Page;
-import org.apache.wicket.authroles.authorization.strategies.role.IRoleCheckingStrategy;
-import org.apache.wicket.authroles.authorization.strategies.role.Roles;
-import org.apache.wicket.util.tester.WicketTester;
-
-/**
- * Test case for
- * {@link org.apache.wicket.authorization.strategies.role.metadata.InstantiationPermissions}.
- *
- * @author Eelco Hillenius
- */
-public class InstantiationPermissionsTest extends TestCase
-{
- private WicketTester tester;
-
- @Override
- protected void setUp() throws Exception
- {
- tester = new WicketTester();
- }
-
- @Override
- protected void tearDown() throws Exception
- {
- tester.destroy();
- }
-
- /**
- * Test adding roles.
- *
- * @throws Exception
- */
- public void testAdd1() throws Exception
- {
- InstantiationPermissions permissions = new InstantiationPermissions();
- permissions.authorize(Page.class, new Roles("jonathan"));
- permissions.authorize(Page.class, new Roles("johan"));
- permissions.authorize(Page.class, new Roles("maurice"));
- permissions.authorize(Page.class, new Roles("eelco"));
- assertEquals(4, permissions.getRolesForComponentClass().get(Page.class).size());
- permissions.unauthorize(Page.class, new Roles("maurice"));
- assertEquals(3, permissions.getRolesForComponentClass().get(Page.class).size());
- permissions.authorizeAll(Page.class);
- assertEquals(null, permissions.getRolesForComponentClass().get(Page.class));
- }
-
- /**
- * Test removing roles.
- *
- * @throws Exception
- */
- public void testRemove1() throws Exception
- {
- InstantiationPermissions permissions = new InstantiationPermissions();
- assertEquals(null, permissions.getRolesForComponentClass().get(Page.class));
- permissions.unauthorize(Page.class, new Roles("eelco"));
- assertEquals(new Roles(MetaDataRoleAuthorizationStrategy.NO_ROLE),
- permissions.getRolesForComponentClass().get(Page.class));
- }
-
- /**
- * Test for issue <a href="http://issues.apache.org/jira/browse/WICKET-1152">WICKET-1152</a>.
- *
- */
- public void testRemove2()
- {
- MetaDataRoleAuthorizationStrategy strategy = new MetaDataRoleAuthorizationStrategy(
- new IRoleCheckingStrategy()
- {
-
- public boolean hasAnyRole(Roles roles)
- {
- return false;
- }
- });
- tester.getApplication().setMetaData(
- MetaDataRoleAuthorizationStrategy.INSTANTIATION_PERMISSIONS,
- new InstantiationPermissions());
- MetaDataRoleAuthorizationStrategy.unauthorize(Page.class, "martijn");
- assertFalse(strategy.isInstantiationAuthorized(Page.class));
- }
-
- /**
- * Test consistency in behavior between authorizing a role for a class and then unauthorizing it
- * with {@link #testRemove2()}.
- */
- public void testRemove3()
- {
- MetaDataRoleAuthorizationStrategy strategy = new MetaDataRoleAuthorizationStrategy(
- new IRoleCheckingStrategy()
- {
-
- public boolean hasAnyRole(Roles roles)
- {
- return false;
- }
- });
- tester.getApplication().setMetaData(
- MetaDataRoleAuthorizationStrategy.INSTANTIATION_PERMISSIONS,
- new InstantiationPermissions());
- MetaDataRoleAuthorizationStrategy.authorize(Page.class, "martijn");
- MetaDataRoleAuthorizationStrategy.unauthorize(Page.class, "martijn");
- assertFalse(strategy.isInstantiationAuthorized(Page.class));
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.wicket.authroles.authorization.strategies.role.metadata;
+
+import junit.framework.TestCase;
+
+import org.apache.wicket.Page;
+import org.apache.wicket.authroles.authorization.strategies.role.IRoleCheckingStrategy;
+import org.apache.wicket.authroles.authorization.strategies.role.Roles;
+import org.apache.wicket.util.tester.WicketTester;
+
+/**
+ * Test case for
+ * {@link org.apache.wicket.authorization.strategies.role.metadata.InstantiationPermissions}.
+ *
+ * @author Eelco Hillenius
+ */
+public class InstantiationPermissionsTest extends TestCase
+{
+ private WicketTester tester;
+
+ @Override
+ protected void setUp() throws Exception
+ {
+ tester = new WicketTester();
+ }
+
+ @Override
+ protected void tearDown() throws Exception
+ {
+ tester.destroy();
+ }
+
+ /**
+ * Test adding roles.
+ *
+ * @throws Exception
+ */
+ public void testAdd1() throws Exception
+ {
+ InstantiationPermissions permissions = new InstantiationPermissions();
+ permissions.authorize(Page.class, new Roles("jonathan"));
+ permissions.authorize(Page.class, new Roles("johan"));
+ permissions.authorize(Page.class, new Roles("maurice"));
+ permissions.authorize(Page.class, new Roles("eelco"));
+ assertEquals(4, permissions.getRolesForComponentClass().get(Page.class).size());
+ permissions.unauthorize(Page.class, new Roles("maurice"));
+ assertEquals(3, permissions.getRolesForComponentClass().get(Page.class).size());
+ permissions.authorizeAll(Page.class);
+ assertEquals(null, permissions.getRolesForComponentClass().get(Page.class));
+ }
+
+ /**
+ * Test removing roles.
+ *
+ * @throws Exception
+ */
+ public void testRemove1() throws Exception
+ {
+ InstantiationPermissions permissions = new InstantiationPermissions();
+ assertEquals(null, permissions.getRolesForComponentClass().get(Page.class));
+ permissions.unauthorize(Page.class, new Roles("eelco"));
+ assertEquals(new Roles(MetaDataRoleAuthorizationStrategy.NO_ROLE),
+ permissions.getRolesForComponentClass().get(Page.class));
+ }
+
+ /**
+ * Test for issue <a href="http://issues.apache.org/jira/browse/WICKET-1152">WICKET-1152</a>.
+ *
+ */
+ public void testRemove2()
+ {
+ MetaDataRoleAuthorizationStrategy strategy = new MetaDataRoleAuthorizationStrategy(
+ new IRoleCheckingStrategy()
+ {
+
+ public boolean hasAnyRole(Roles roles)
+ {
+ return false;
+ }
+ });
+ tester.getApplication().setMetaData(
+ MetaDataRoleAuthorizationStrategy.INSTANTIATION_PERMISSIONS,
+ new InstantiationPermissions());
+ MetaDataRoleAuthorizationStrategy.unauthorize(Page.class, "martijn");
+ assertFalse(strategy.isInstantiationAuthorized(Page.class));
+ }
+
+ /**
+ * Test consistency in behavior between authorizing a role for a class and then unauthorizing it
+ * with {@link #testRemove2()}.
+ */
+ public void testRemove3()
+ {
+ MetaDataRoleAuthorizationStrategy strategy = new MetaDataRoleAuthorizationStrategy(
+ new IRoleCheckingStrategy()
+ {
+
+ public boolean hasAnyRole(Roles roles)
+ {
+ return false;
+ }
+ });
+ tester.getApplication().setMetaData(
+ MetaDataRoleAuthorizationStrategy.INSTANTIATION_PERMISSIONS,
+ new InstantiationPermissions());
+ MetaDataRoleAuthorizationStrategy.authorize(Page.class, "martijn");
+ MetaDataRoleAuthorizationStrategy.unauthorize(Page.class, "martijn");
+ assertFalse(strategy.isInstantiationAuthorized(Page.class));
+ }
+}
diff --git a/wicket-core/pom.xml b/wicket-core/pom.xml
index bff81c3..29a1576 100644
--- a/wicket-core/pom.xml
+++ b/wicket-core/pom.xml
@@ -22,7 +22,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-datetime/pom.xml b/wicket-datetime/pom.xml
index e6be75b..13a8a67 100644
--- a/wicket-datetime/pom.xml
+++ b/wicket-datetime/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>wicket-datetime</artifactId>
diff --git a/wicket-devutils/pom.xml b/wicket-devutils/pom.xml
index da092db..d9d9846 100644
--- a/wicket-devutils/pom.xml
+++ b/wicket-devutils/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-examples/pom.xml b/wicket-examples/pom.xml
index 4225cde..e2e4898 100644
--- a/wicket-examples/pom.xml
+++ b/wicket-examples/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>wicket-examples</artifactId>
diff --git a/wicket-extensions/pom.xml b/wicket-extensions/pom.xml
index e21b465..f42690a 100644
--- a/wicket-extensions/pom.xml
+++ b/wicket-extensions/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-guice/pom.xml b/wicket-guice/pom.xml
index 1e47cd6..82bdfae 100644
--- a/wicket-guice/pom.xml
+++ b/wicket-guice/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-ioc/pom.xml b/wicket-ioc/pom.xml
index 53441f0..7c66b86 100644
--- a/wicket-ioc/pom.xml
+++ b/wicket-ioc/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-jmx/pom.xml b/wicket-jmx/pom.xml
index c2a5b4a..4cca2ee 100644
--- a/wicket-jmx/pom.xml
+++ b/wicket-jmx/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-objectssizeof-agent/pom.xml b/wicket-objectssizeof-agent/pom.xml
index 7b5cca8..e961fcf 100644
--- a/wicket-objectssizeof-agent/pom.xml
+++ b/wicket-objectssizeof-agent/pom.xml
@@ -21,7 +21,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-request/pom.xml b/wicket-request/pom.xml
index 8b540d8..6f87167 100755
--- a/wicket-request/pom.xml
+++ b/wicket-request/pom.xml
@@ -21,11 +21,11 @@
<parent>
<artifactId>wicket-parent</artifactId>
<groupId>org.apache.wicket</groupId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-request</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<name>Wicket Request</name>
<url>http://maven.apache.org</url>
<dependencies>
diff --git a/wicket-spring/pom.xml b/wicket-spring/pom.xml
index 7a1c917..b2584d4 100644
--- a/wicket-spring/pom.xml
+++ b/wicket-spring/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket-util/pom.xml b/wicket-util/pom.xml
index 323a483..9ec3b64 100755
--- a/wicket-util/pom.xml
+++ b/wicket-util/pom.xml
@@ -21,11 +21,11 @@
<parent>
<artifactId>wicket-parent</artifactId>
<groupId>org.apache.wicket</groupId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
</parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-util</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<name>Wicket Util</name>
<url>http://maven.apache.org</url>
</project>
diff --git a/wicket-velocity/pom.xml b/wicket-velocity/pom.xml
index e681d33..c994b5e 100644
--- a/wicket-velocity/pom.xml
+++ b/wicket-velocity/pom.xml
@@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
diff --git a/wicket/pom.xml b/wicket/pom.xml
index 995ae0a..e9d7c5e 100644
--- a/wicket/pom.xml
+++ b/wicket/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.wicket</groupId>
<artifactId>wicket-parent</artifactId>
- <version>1.5-SNAPSHOT</version>
+ <version>1.5.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>wicket</artifactId>