Instead try:
<exclude>scripts/**</exclude>
The exclude is based on directory, so your construction would exclude
src/main/resources/src/main/resources/scripts
More Related Contents:
- Maven Out of Memory Build Failure
- Differences between dependencyManagement and dependencies in Maven
- How to force maven update?
- Maven: Lifecycle vs. Phase vs. Plugin vs. Goal [closed]
- What is under in pom.xml for?
- Jersey fails when creating uber jar with maven-assembly-plugin
- Tomcat casting servlets to javax.servlet.Servlet instead of jakarta.servlet.http.HttpServlet
- Add external library .jar to Spring boot .jar internal /lib
- How to override maven property in command line?
- Selenium-TestNG-Maven – Getting “java.lang.NoClassDefFoundError: org/openqa/selenium/firefox/FirefoxDriver”
- Error when deploying an artifact in Nexus
- Adding external JAR to Maven project in NetBeans
- Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags when using lombok
- Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven
- Maven compilation issue with Java 9
- How can I skip tests in maven install goal, while running them in maven test goal?
- Cannot use jacoco JVM args and surefire JVM args together in maven
- How to resolve cyclic dependency in Maven?
- Cannot get maven project.version property in a Spring application with @Value
- What is the meaning of type “bundle” in a maven dependency?
- What is the difference in Maven between dependency and plugin tags in pom.xml?
- How to place the output jar into another folder with maven?
- Maven Snapshot Repository vs Release Repository
- Generate test-jar along with jar file in test package
- Where should I put unit tests when migrating a Java 8 project to Jigsaw
- ClassNotFoundException with com.mysql.cj.jdbc.Driver, MySQL Connector and IntelliJ IDEA [duplicate]
- How to override the `project.build.finalName` Maven property from the command line?
- Make maven’s surefire show stacktrace in console
- Maven best practice for creating ad hoc zip artifact
- How to exclude maven dependencies?