|
Hi, When I tried to build trunk, without running tests, I got the following error: [INFO] ------------------------------------------------------------------------ [INFO] Building Cocoon Pipeline Implementation [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce-once {execution: enforce-maven}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] [jar:test-jar {execution: default}] [INFO] Skipping packaging of the test-jar [INFO] ------------------------------------------------------------------------ [INFO] Building Cocoon XML Implementation [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce-once {execution: enforce-maven}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:testCompile] [INFO] Not compiling test sources [INFO] [surefire:test] [INFO] Tests are skipped. [INFO] [jar:jar] [INFO] ------------------------------------------------------------------------ [INFO] Building Cocoon Pipeline Components [INFO] task-segment: [package] [INFO] ------------------------------------------------------------------------ [INFO] [enforcer:enforce-once {execution: enforce-maven}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] [resources:testResources] [INFO] Using default encoding to copy filtered resources. Downloading: https://maven-repository.dev.java.net/nonav/repository/org.apache.cocoon/jars/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar Downloading: https://maven2-repository.dev.java.net/nonav/repository//org/apache/cocoon/cocoon-pipeline-impl/1.1.0-SNAPSHOT/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar Downloading: http://people.apache.org/~gkossakowski/maven2/repository/org/apache/cocoon/cocoon-pipeline-impl/1.1.0-SNAPSHOT/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/cocoon/cocoon-pipeline-impl/1.1.0-SNAPSHOT/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT I got the the above by skipping tests. When I run with tests I get the following: Running org.apache.cocoon.transformation.EncodeURLTransformerTestCase resultDocument <?xml version="1.0" encoding="UTF-8"?><!-- 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. --><root><x>X</x><a>A</a><a b="c">d</a><a href="">x</a></root> inputDocument <?xml version="1.0" encoding="UTF-8"?><!-- 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. --><root><x>X</x><a>A</a><a b="c">d</a><a href="">x</a></root> transformDocument <?xml version="1.0" encoding="UTF-8"?><root><x>X</x><a>A</a><a b="c">d</a><a href="">x</a></root> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.124 sec <<< FAILURE! Running org.apache.cocoon.transformation.CIncludeTransformerTestCase Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec Running org.apache.cocoon.acting.ResourceExistsActionTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007 sec Running org.apache.cocoon.matching.RequestAttributeMatcherTestCase {1=requestAttributeMatchTestCaseValue} Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076 sec Running org.apache.cocoon.matching.RequestParameterMatcherTestCase {1=requestParameterMatchTestCaseValue} Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running org.apache.cocoon.components.source.impl.CachingSourceTestCase Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.922 sec <<< FAILURE! Running org.apache.cocoon.transformation.TraxTransformerTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.77 sec Running org.apache.cocoon.matching.SessionAttributeMatcherTestCase {1=sessionAttributeMatchTestCaseValue} Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec Running org.apache.cocoon.transformation.I18NTransformerTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215 sec Running org.apache.cocoon.selection.RequestAttributeSelectorTestCase true false true false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec Running org.apache.cocoon.selection.ExceptionSelectorTestCase true false false true false true Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059 sec Running org.apache.cocoon.selection.ParameterSelectorTestCase true false false false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec Running org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolverTestCase Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.723 sec Running org.apache.cocoon.acting.LocaleActionTestCase Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143 sec Running org.apache.cocoon.selection.RegexpRequestParameterSelectorTestCase true false false false true false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec Running org.apache.cocoon.matching.HeaderMatcherTestCase {1=headerMatchTestCaseValue} Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036 sec Running org.apache.cocoon.selection.RequestMethodSelectorTestCase true false false Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec Running org.apache.cocoon.xml.ParamSaxBufferTestCase Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec Running org.apache.cocoon.matching.WildcardURIMatcherTestCase Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec Running org.apache.cocoon.selection.BrowserSelectorTestCase false true false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033 sec Running org.apache.cocoon.selection.RequestParameterSelectorTestCase true false true false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec Running org.apache.cocoon.selection.SessionAttributeSelectorTestCase true false true false false Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052 sec Running org.apache.cocoon.selection.ResourceExistsSelectorTestCase true false true false Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037 sec Running org.apache.cocoon.transformation.AugmentTransformerTestCase resultDocument <?xml version="1.0" encoding="UTF-8"?><!-- 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. --><root><x>X</x><a>A</a><a b="c">d</a><a href="" class="moz-txt-link-rfc2396E" href="http://null/portal1/sect1/x">"http://null/portal1/sect1/x">x</a></root> inputDocument <?xml version="1.0" encoding="UTF-8"?><!-- 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. --><root><x>X</x><a>A</a><a b="c">d</a><a href="">x</a></root> transformDocument <?xml version="1.0" encoding="UTF-8"?><root><x>X</x><a>A</a><a b="c">d</a><a href="" class="moz-txt-link-rfc2396E" href="http://null/portal1/sect1/x">"http://null/portal1/sect1/x">x</a></root> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039 sec Running org.apache.cocoon.components.source.impl.ZipSourceTestCase Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec Running org.apache.cocoon.matching.ParameterMatcherTestCase {1=parameterMatchTestCaseValue} Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec Running org.apache.cocoon.transformation.XIncludeTransformerTestCase Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158 sec Running org.apache.cocoon.matching.CookieMatcherTestCase {1=cookieValue} null Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027 sec Results : Failed tests: testRefreshSyncURI(org.apache.cocoon.components.source.impl.CachingSourceTestCase) Tests in error: testEncodeURL2(org.apache.cocoon.transformation.EncodeURLTransformerTestCase) Tests run: 98, Failures: 1, Errors: 1, Skipped: 0 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] There are test failures. [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2 minutes 5 seconds [INFO] Finished at: Sat Jul 12 09:54:12 EST 2008 [INFO] Final Memory: 47M/63M [INFO] ------------------------------------------------------------------------ Any thoughts? Thanks. |
- Maven build issue Kamal
- Re: Maven build issue Kamal
