We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecf03dc commit c53da3aCopy full SHA for c53da3a
scripts/pit/lib/lib-patch-v25.sh
@@ -510,7 +510,8 @@ addDevModeIfNeeded() {
510
if [ "$has_spring" = false ]; then
511
# Handle Maven projects
512
if [ -f "pom.xml" ]; then
513
- if ! grep -q "vaadin-dev" pom.xml 2>/dev/null; then
+ # Check for actual dependency, not exclusions
514
+ if ! grep -A 2 -B 2 "vaadin-dev" pom.xml 2>/dev/null | grep -q "<dependency>" 2>/dev/null; then
515
[ -z "$TEST" ] && log "Adding vaadin-dev dependency to Maven project (no Spring detected)"
516
addMavenDep "com.vaadin" "vaadin-dev" "compile"
517
else
0 commit comments