Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error in site.xml validation #402

Closed
caarlos0 opened this issue Feb 17, 2015 · 18 comments
Closed

Strange error in site.xml validation #402

caarlos0 opened this issue Feb 17, 2015 · 18 comments
Assignees
Labels

Comments

@caarlos0
Copy link
Contributor

After suggesting some really weird changes, it came to a point were it breaks with no reasonable patch:

[ERROR] Failed to execute goal com.qulice:qulice-maven-plugin:0.12.1:check (jcabi-check) on project project: Failure: The provided XML /Users/carlos/Code/Teamed/project/src/site/site.xml is not well formatted, it should look like this:
[ERROR] <!--
[ERROR] * Copyright (c) 2014, Project, Inc.
[ERROR] * All rights reserved.
[ERROR] *
[ERROR] * Redistribution and use in source and binary forms, with or without
[ERROR] * modification, are NOT permitted.
[ERROR] *
[ERROR] * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
[ERROR] * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
[ERROR] * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
[ERROR] * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
[ERROR] * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
[ERROR] * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
[ERROR] * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
[ERROR] * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
[ERROR] * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
[ERROR] * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
[ERROR] * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
[ERROR] * OF THE POSSIBILITY OF SUCH DAMAGE.
[ERROR] --><project xmlns="http://maven.apache.org/DECORATION/1.3.0"
[ERROR] xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
[ERROR] xsi:schemaLocation="http://maven.apache.org/DECORATION/1.3.0 http://maven.apache.org/xsd/decoration-1.3.0.xsd"
[ERROR] name="project">
[ERROR] <skin>
[ERROR] <groupId>com.jcabi</groupId>
[ERROR] <artifactId>jcabi-maven-skin</artifactId>
[ERROR] <version>1.5.1</version>
[ERROR] </skin>
[ERROR] <bannerLeft>
[ERROR] <name>project.com</name>
[ERROR] <src>http://project.com/img/logonew.png</src>
[ERROR] <href>http://www.project.com/</href>
[ERROR] <width>115</width>
[ERROR] <height>65</height>
[ERROR] </bannerLeft>
[ERROR] <body>
[ERROR] <menu name="Overview">
[ERROR] <item name="Introduction" href="index.html"/>
[ERROR] <item name="Release History"
[ERROR] href="https://github.com/teamed/project/releases"/>
[ERROR] </menu>
[ERROR] <menu ref="reports"/>
[ERROR] </body>
[ERROR] </project>
[ERROR] patch:
[ERROR] -> [Help 1]

BTW, I replaced all references to the real project name to project, because it's private and everything...

@davvd
Copy link

davvd commented Jun 15, 2015

@yegor256 dispatch this issue please

@caarlos0
Copy link
Contributor Author

@yegor256 @davvd ping

@yegor256 yegor256 added the bug label Aug 31, 2015
@davvd
Copy link

davvd commented Aug 31, 2015

@caarlos0 thanks for tis bug, I topped your account for 15 mins, transaction AP-4TA241254C299151F

@davvd davvd added DEV labels Aug 31, 2015
@caarlos0
Copy link
Contributor Author

@davvd can you dispatch this issue please? It is holding us back in another project...

@davvd
Copy link

davvd commented Sep 18, 2015

@davvd can you dispatch this issue please? It is holding us back in another project...

@caarlos0 @yegor256 what do you think?

@krzyk
Copy link
Collaborator

krzyk commented Sep 18, 2015

@caarlos0 what was the command line used that resulted in this error?

@davvd
Copy link

davvd commented Sep 18, 2015

@krzyk this is yours, pls go ahead

@caarlos0
Copy link
Contributor Author

@krzyk mvn clean install -Pqulice. You can also check https://github.com/teamed/xockets-hadoop-transport/issues/921

@caarlos0
Copy link
Contributor Author

@davvd thanks!

@krzyk
Copy link
Collaborator

krzyk commented Sep 19, 2015

@davvd please see PR #463

@davvd
Copy link

davvd commented Sep 21, 2015

@davvd thanks!

@caarlos0 sure, you are welcome

@davvd
Copy link

davvd commented Sep 21, 2015

@davvd please see PR #463

@krzyk thanks, I'll take a look

krzyk pushed a commit to krzyk/qulice that referenced this issue Sep 22, 2015
krzyk pushed a commit to krzyk/qulice that referenced this issue Sep 22, 2015
@krzyk
Copy link
Collaborator

krzyk commented Sep 23, 2015

@caarlos0 please close this issue, changes have been merged to master

@caarlos0
Copy link
Contributor Author

@krzyk thanks!

@davvd
Copy link

davvd commented Sep 25, 2015

@krzyk paid, thanks, added 30 mins to your account, payment 65890481, 138 hours and 56 mins was spent. added +30 to your rating, now it is equal to +3728

@caarlos0 caarlos0 mentioned this issue Sep 26, 2015
@caarlos0
Copy link
Contributor Author

@krzyk just tested it with the new release... same problem :/

@krzyk
Copy link
Collaborator

krzyk commented Sep 27, 2015

@caarlos0 It should work better, you should see that you have extra new line at the end of file (or you are missing an extra new line) using + and - syntax. It is best to look using xxd :)

@caarlos0
Copy link
Contributor Author

@krzyk I found strange that it asks to remove the xml header, for example... but OK, will take another look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants