diff --git a/CHANGES_SINCE_3.2.0.txt b/CHANGES_SINCE_3.2.0.txt index e9fe7a6ac..285f1d660 100644 --- a/CHANGES_SINCE_3.2.0.txt +++ b/CHANGES_SINCE_3.2.0.txt @@ -22,6 +22,22 @@ + 为了方便从旧格式迁移到新格式,可以在项目的根目录下,执行以下maven命令: + + mvn springext:convert + + 该maven插件被定义在pom.xml中: + + + + + com.alibaba.citrus.tool + springext-maven-plugin + 1.1 + + + + * DomUtil.sameNs(element)方法的定义被修改: 通过sameNs(element)可以选出和element具有相同namespace的elements,或者不包含namespace的elements(unqualified elements)。 而修改前,unqualified elements将不会被选出来。 diff --git a/common/springext/src/main/java/com/alibaba/citrus/springext/util/ConvertToUnqualifiedStyle.java b/common/springext/src/main/java/com/alibaba/citrus/springext/util/ConvertToUnqualifiedStyle.java index c01ed711b..f62cdd390 100644 --- a/common/springext/src/main/java/com/alibaba/citrus/springext/util/ConvertToUnqualifiedStyle.java +++ b/common/springext/src/main/java/com/alibaba/citrus/springext/util/ConvertToUnqualifiedStyle.java @@ -1,3 +1,20 @@ +/* + * Copyright (c) 2002-2013 Alibaba Group Holding Limited. + * All rights reserved. + * + * Licensed 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 com.alibaba.citrus.springext.util; import static com.alibaba.citrus.springext.support.SchemaUtil.*; diff --git a/pom.xml b/pom.xml index 9f928c397..16e252969 100644 --- a/pom.xml +++ b/pom.xml @@ -493,12 +493,6 @@ 1.1 provided - - janino - janino - 2.5.10 - test - xml-apis xml-apis