Petals Studio

The Studio can't validate POM

Details

  • Type: Improvement Request Improvement Request
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.1.1
  • Fix Version/s: 1.1.1
  • Component/s: Petals Tools
  • Security Level: Public
  • Description:

    The Studio can't validate a POM without errors. It would be great if we had such validation.

  • Environment:
    Petals Studio 1.1.1

Activity

Hide
Vincent Zurczak added a comment - Tue, 31 Aug 2010 - 18:09:36 +0200

Commit # 1817
The Maven XSD is now embedded in the studio, so that off-line validation is now possible.

Show
Vincent Zurczak added a comment - Tue, 31 Aug 2010 - 18:09:36 +0200 Commit # 1817 The Maven XSD is now embedded in the studio, so that off-line validation is now possible.
Hide
Charles Casadei added a comment - Mon, 30 Aug 2010 - 14:57:50 +0200

We had no internet connection, which could explains the error we got

Show
Charles Casadei added a comment - Mon, 30 Aug 2010 - 14:57:50 +0200 We had no internet connection, which could explains the error we got
Hide
Vincent Zurczak added a comment - Mon, 30 Aug 2010 - 13:41:39 +0200

Given the previous facts, could you clarify your request, please?

Show
Vincent Zurczak added a comment - Mon, 30 Aug 2010 - 13:41:39 +0200 Given the previous facts, could you clarify your request, please?
Hide
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 15:10:54 +0200

But you need an internet connection.
THe XML schema location is generally defined in the POM header.
The Eclipse XML editor uses it to validate the POM.

Show
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 15:10:54 +0200 But you need an internet connection. THe XML schema location is generally defined in the POM header. The Eclipse XML editor uses it to validate the POM.
Hide
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 13:51:34 +0200

Have you tried a right-click and validate?
It works for me. It detects invalid mark-ups.

Show
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 13:51:34 +0200 Have you tried a right-click and validate? It works for me. It detects invalid mark-ups.
Hide
Charles Casadei added a comment - Fri, 20 Aug 2010 - 13:39:05 +0200

We just want to be able to validate the POM against its XSD, to validate the POM structure.

Show
Charles Casadei added a comment - Fri, 20 Aug 2010 - 13:39:05 +0200 We just want to be able to validate the POM against its XSD, to validate the POM structure.
Hide
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 12:24:57 +0200

What kind of validation would you expect?
Syntactic (validate the XML structure) or semantic (ensure the values reference something correct)?
What rules would you check?

Show
Vincent Zurczak added a comment - Fri, 20 Aug 2010 - 12:24:57 +0200 What kind of validation would you expect? Syntactic (validate the XML structure) or semantic (ensure the values reference something correct)? What rules would you check?

People

Dates

  • Created:
    Fri, 20 Aug 2010 - 12:19:53 +0200
    Updated:
    Tue, 31 Aug 2010 - 18:09:40 +0200
    Resolved:
    Tue, 31 Aug 2010 - 18:09:36 +0200