Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
a84bf7dc
Commit
a84bf7dc
authored
8 years ago
by
Vincent Massol
Browse files
Options
Downloads
Patches
Plain Diff
[Misc] Upgrade revapi to latest version + fix sporadic problems
parent
b3993885
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/pom.xml
+25
-1
25 additions, 1 deletion
xwiki-platform-core/pom.xml
with
25 additions
and
1 deletion
xwiki-platform-core/pom.xml
+
25
−
1
View file @
a84bf7dc
...
@@ -195,7 +195,31 @@
...
@@ -195,7 +195,31 @@
}
}
}
}
},
},
"ignore": [
"ignore" : [
{
"code": "java.annotation.removed",
"annotationType": "org.xwiki.stability.Unstable",
"justification": "These are marker annotations that have no semantical consequences."
},
{
"code": "java.annotation.added",
"annotationType": "org.xwiki.stability.Unstable",
"justification": "Not a breakage. Indicates API readiness only and has no semantic consequences."
},
// The "externalClassExposedInAPI" check is used to detect code smells. It's documented as:
// "This is reported for classes from dependencies that are exposed in the API (for example as a
// return value). This is generally discouraged practice because it makes updating the dependency
// version a more complex task (you want a bugfix but you don’t want the changed API to leak to your
// users)."
// In the case of XWiki it's not a problem because we release all modules together using the same
// versioning. However we still want to detect this for non XWiki classes.
{
"regex": true,
"code": "java\.class\.externalClassExposedInAPI",
"package": "org\.xwiki\..*",
"justification": "Dragging of other XWiki types to the API is OK."
},
// Add more ignores below...
]
]
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment