cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kamal <bh...@tt.com.au>
Subject Maven build issue
Date Sat, 12 Jul 2008 00:01:05 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
When I tried to build trunk, without running tests, I got the following
error:<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Building Cocoon Pipeline Implementation<br>
[INFO]&nbsp;&nbsp;&nbsp; task-segment: [package]<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] [enforcer:enforce-once {execution: enforce-maven}]<br>
[INFO] [resources:resources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
[INFO] [compiler:compile]<br>
[INFO] Nothing to compile - all classes are up to date<br>
[INFO] [resources:testResources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
[INFO] [compiler:testCompile]<br>
[INFO] Not compiling test sources<br>
[INFO] [surefire:test]<br>
[INFO] Tests are skipped.<br>
[INFO] [jar:jar]<br>
[INFO] [jar:test-jar {execution: default}]<br>
[INFO] Skipping packaging of the test-jar<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Building Cocoon XML Implementation<br>
[INFO]&nbsp;&nbsp;&nbsp; task-segment: [package]<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] [enforcer:enforce-once {execution: enforce-maven}]<br>
[INFO] [resources:resources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
[INFO] [compiler:compile]<br>
[INFO] Nothing to compile - all classes are up to date<br>
[INFO] [resources:testResources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
[INFO] [compiler:testCompile]<br>
[INFO] Not compiling test sources<br>
[INFO] [surefire:test]<br>
[INFO] Tests are skipped.<br>
[INFO] [jar:jar]<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Building Cocoon Pipeline Components<br>
[INFO]&nbsp;&nbsp;&nbsp; task-segment: [package]<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] [enforcer:enforce-once {execution: enforce-maven}]<br>
[INFO] [resources:resources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
[INFO] [compiler:compile]<br>
[INFO] Nothing to compile - all classes are up to date<br>
[INFO] [resources:testResources]<br>
[INFO] Using default encoding to copy filtered resources.<br>
Downloading:
<a class="moz-txt-link-freetext" href="https://maven-repository.dev.java.net/nonav/repository/org.apache.cocoon/jars/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar">https://maven-repository.dev.java.net/nonav/repository/org.apache.cocoon/jars/cocoon-pipeline-impl-1.1.0-SNAPSHOT-tests.jar</a><br>
Downloading:
<a class="moz-txt-link-freetext" href="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">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</a><br>
Downloading:
<a class="moz-txt-link-freetext" href="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">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</a><br>
Downloading:
<a class="moz-txt-link-freetext" href="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">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</a><br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD ERROR<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Failed to resolve artifact.<br>
<br>
Missing:<br>
----------<br>
<br>
1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT<br>
<br>
<b>I got the the above by skipping tests. When I run with tests I get
the following:<br>
<br>
<br>
</b>Running
org.apache.cocoon.transformation.EncodeURLTransformerTestCase<br>
resultDocument<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!--<br>
&nbsp; Licensed to the Apache Software Foundation (ASF) under one or more<br>
&nbsp; contributor license agreements.&nbsp; See the NOTICE file distributed with<br>
&nbsp; this work for additional information regarding copyright ownership.<br>
&nbsp; The ASF licenses this file to You under the Apache License, Version
2.0<br>
&nbsp; (the "License"); you may not use this file except in compliance with<br>
&nbsp; the License.&nbsp; You may obtain a copy of the License at<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
<br>
&nbsp; Unless required by applicable law or agreed to in writing, software<br>
&nbsp; distributed under the License is distributed on an "AS IS" BASIS,<br>
&nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.<br>
&nbsp; See the License for the specific language governing permissions and<br>
&nbsp; limitations under the License.<br>
--&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a href="x"&gt;x&lt;/a&gt;&lt;/root&gt;<br>
inputDocument<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!--<br>
&nbsp; Licensed to the Apache Software Foundation (ASF) under one or more<br>
&nbsp; contributor license agreements.&nbsp; See the NOTICE file distributed with<br>
&nbsp; this work for additional information regarding copyright ownership.<br>
&nbsp; The ASF licenses this file to You under the Apache License, Version
2.0<br>
&nbsp; (the "License"); you may not use this file except in compliance with<br>
&nbsp; the License.&nbsp; You may obtain a copy of the License at<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
<br>
&nbsp; Unless required by applicable law or agreed to in writing, software<br>
&nbsp; distributed under the License is distributed on an "AS IS" BASIS,<br>
&nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.<br>
&nbsp; See the License for the specific language governing permissions and<br>
&nbsp; limitations under the License.<br>
--&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a href="x"&gt;x&lt;/a&gt;&lt;/root&gt;<br>
transformDocument<br>
&lt;?xml version="1.0"
encoding="UTF-8"?&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a href="x"&gt;x&lt;/a&gt;&lt;/root&gt;<br>
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.124
sec &lt;&lt;&lt; FAILURE!<br>
Running org.apache.cocoon.transformation.CIncludeTransformerTestCase<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291
sec<br>
Running org.apache.cocoon.acting.ResourceExistsActionTestCase<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.007
sec<br>
Running org.apache.cocoon.matching.RequestAttributeMatcherTestCase<br>
{1=requestAttributeMatchTestCaseValue}<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.076
sec<br>
Running org.apache.cocoon.matching.RequestParameterMatcherTestCase<br>
{1=requestParameterMatchTestCaseValue}<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033
sec<br>
Running org.apache.cocoon.components.source.impl.CachingSourceTestCase<br>
Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 15.922
sec &lt;&lt;&lt; FAILURE!<br>
Running org.apache.cocoon.transformation.TraxTransformerTestCase<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.77 sec<br>
Running org.apache.cocoon.matching.SessionAttributeMatcherTestCase<br>
{1=sessionAttributeMatchTestCaseValue}<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec<br>
Running org.apache.cocoon.transformation.I18NTransformerTestCase<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.215
sec<br>
Running org.apache.cocoon.selection.RequestAttributeSelectorTestCase<br>
true<br>
false<br>
true<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035
sec<br>
Running org.apache.cocoon.selection.ExceptionSelectorTestCase<br>
true<br>
false<br>
false<br>
true<br>
false<br>
true<br>
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.059
sec<br>
Running org.apache.cocoon.selection.ParameterSelectorTestCase<br>
true<br>
false<br>
false<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077
sec<br>
Running
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolverTestCase<br>
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.723
sec<br>
Running org.apache.cocoon.acting.LocaleActionTestCase<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.143
sec<br>
Running
org.apache.cocoon.selection.RegexpRequestParameterSelectorTestCase<br>
true<br>
false<br>
false<br>
false<br>
true<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec<br>
Running org.apache.cocoon.matching.HeaderMatcherTestCase<br>
{1=headerMatchTestCaseValue}<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.036
sec<br>
Running org.apache.cocoon.selection.RequestMethodSelectorTestCase<br>
true<br>
false<br>
false<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
sec<br>
Running org.apache.cocoon.xml.ParamSaxBufferTestCase<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004
sec<br>
Running org.apache.cocoon.matching.WildcardURIMatcherTestCase<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045
sec<br>
Running org.apache.cocoon.selection.BrowserSelectorTestCase<br>
false<br>
true<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.033
sec<br>
Running org.apache.cocoon.selection.RequestParameterSelectorTestCase<br>
true<br>
false<br>
true<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec<br>
Running org.apache.cocoon.selection.SessionAttributeSelectorTestCase<br>
true<br>
false<br>
true<br>
false<br>
false<br>
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.052
sec<br>
Running org.apache.cocoon.selection.ResourceExistsSelectorTestCase<br>
true<br>
false<br>
true<br>
false<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.037
sec<br>
Running org.apache.cocoon.transformation.AugmentTransformerTestCase<br>
resultDocument<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!--<br>
&nbsp; Licensed to the Apache Software Foundation (ASF) under one or more<br>
&nbsp; contributor license agreements.&nbsp; See the NOTICE file distributed with<br>
&nbsp; this work for additional information regarding copyright ownership.<br>
&nbsp; The ASF licenses this file to You under the Apache License, Version
2.0<br>
&nbsp; (the "License"); you may not use this file except in compliance with<br>
&nbsp; the License.&nbsp; You may obtain a copy of the License at<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
<br>
&nbsp; Unless required by applicable law or agreed to in writing, software<br>
&nbsp; distributed under the License is distributed on an "AS IS" BASIS,<br>
&nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.<br>
&nbsp; See the License for the specific language governing permissions and<br>
&nbsp; limitations under the License.<br>
--&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://null/portal1/sect1/x">"http://null/portal1/sect1/x"</a>&gt;x&lt;/a&gt;&lt;/root&gt;<br>
inputDocument<br>
&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;!--<br>
&nbsp; Licensed to the Apache Software Foundation (ASF) under one or more<br>
&nbsp; contributor license agreements.&nbsp; See the NOTICE file distributed with<br>
&nbsp; this work for additional information regarding copyright ownership.<br>
&nbsp; The ASF licenses this file to You under the Apache License, Version
2.0<br>
&nbsp; (the "License"); you may not use this file except in compliance with<br>
&nbsp; the License.&nbsp; You may obtain a copy of the License at<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a class="moz-txt-link-freetext" href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br>
<br>
&nbsp; Unless required by applicable law or agreed to in writing, software<br>
&nbsp; distributed under the License is distributed on an "AS IS" BASIS,<br>
&nbsp; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.<br>
&nbsp; See the License for the specific language governing permissions and<br>
&nbsp; limitations under the License.<br>
--&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a href="x"&gt;x&lt;/a&gt;&lt;/root&gt;<br>
transformDocument<br>
&lt;?xml version="1.0"
encoding="UTF-8"?&gt;&lt;root&gt;&lt;x&gt;X&lt;/x&gt;&lt;a&gt;A&lt;/a&gt;&lt;a
b="c"&gt;d&lt;/a&gt;&lt;a
href=<a class="moz-txt-link-rfc2396E" href="http://null/portal1/sect1/x">"http://null/portal1/sect1/x"</a>&gt;x&lt;/a&gt;&lt;/root&gt;<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.039
sec<br>
Running org.apache.cocoon.components.source.impl.ZipSourceTestCase<br>
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017
sec<br>
Running org.apache.cocoon.matching.ParameterMatcherTestCase<br>
{1=parameterMatchTestCaseValue}<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027
sec<br>
Running org.apache.cocoon.transformation.XIncludeTransformerTestCase<br>
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.158
sec<br>
Running org.apache.cocoon.matching.CookieMatcherTestCase<br>
{1=cookieValue}<br>
null<br>
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.027
sec<br>
<br>
Results :<br>
<br>
Failed tests:<br>
&nbsp;
testRefreshSyncURI(org.apache.cocoon.components.source.impl.CachingSourceTestCase)<br>
<br>
Tests in error:<br>
&nbsp;
testEncodeURL2(org.apache.cocoon.transformation.EncodeURLTransformerTestCase)<br>
<br>
Tests run: 98, Failures: 1, Errors: 1, Skipped: 0<br>
<br>
[INFO]
------------------------------------------------------------------------<br>
[ERROR] BUILD FAILURE<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] There are test failures.<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] For more information, run Maven with the -e switch<br>
[INFO]
------------------------------------------------------------------------<br>
[INFO] Total time: 2 minutes 5 seconds<br>
[INFO] Finished at: Sat Jul 12 09:54:12 EST 2008<br>
[INFO] Final Memory: 47M/63M<br>
[INFO]
------------------------------------------------------------------------<br>
<br>
<br>
Any thoughts?<br>
<br>
Thanks.<br>
</body>
</html>

Mime
View raw message