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

Requires the ability to add directories or files to the antrun-plugin excludes. #87

Closed
zCRUSADERz opened this issue May 7, 2019 · 11 comments

Comments

@zCRUSADERz
Copy link
Contributor

zCRUSADERz commented May 7, 2019

Required optional patternset to the maven-antrun-plugin configuration, in xdoc profile.

I need this functionality to solve a problem with building a Qulice project. Now the plugin processes all *.xml, *.xsd and *.xsl files, excluding the target and .idea directories. In the Qulice project, directories target and .idea at the root of the project will be excluded, but the same directories in the modules will not be excluded anymore. First, it is not necessary to check the files in the modules, since they will be checked when building these modules, and secondly in the qulice project, this leads to an IOException when xcop is started, because these files are too many and cannot be passed as arguments to the command line.

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for qulice 1.0-SNAPSHOT:
[INFO]
[INFO] qulice ............................................. FAILURE [ 8.151 s]
[INFO] qulice-spi ......................................... SKIPPED
[INFO] qulice-checkstyle .................................. SKIPPED
[INFO] qulice-pmd ......................................... SKIPPED
[INFO] qulice-findbugs .................................... SKIPPED
[INFO] qulice-ant ......................................... SKIPPED
[INFO] qulice-maven-plugin ................................ SKIPPED
[INFO] qulice-spotbugs .................................... SKIPPED
[INFO] qulice-gradle-plugin ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.254 s
[INFO] Finished at: 2019-05-07T17:48:34+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project qulice: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "cmd": CreateProcess error=206, Имя файла или его расширение имеет слишком большую длину
[ERROR] around Ant part ...... @ 24:53 in C:\projects\qulice\target\antrun\build-main.xml
[ERROR] -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project qulice: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "cmd": CreateProcess error=206, Имя файла или его расширение имеет слишком большую длину around Ant part ...... @ 24:53 in C:\projects\qulice\target\antrun\build-main.xml

log.txt

@0crat
Copy link

0crat commented May 7, 2019

@yegor256/z please, pay attention to this issue

@0crat
Copy link

0crat commented May 7, 2019

@zCRUSADERz/z this project will fix the problem faster if you donate a few dollars to it; just click here and pay via Stripe, it's very fast, convenient and appreciated; thanks a lot!

@yegor256
Copy link
Member

@rultor release, tag is 0.49.5

@rultor
Copy link
Contributor

rultor commented May 21, 2019

@rultor release, tag is 0.49.5

@yegor256 OK, I will release it now. Please check the progress here

@zCRUSADERz
Copy link
Contributor Author

@yegor256 i described the problem in more detail.

@zCRUSADERz
Copy link
Contributor Author

@yegor256 can i get points for this issue?

@rultor
Copy link
Contributor

rultor commented May 21, 2019

@rultor release, tag is 0.49.5

@yegor256 Done! FYI, the full log is here (took me 27min)

@yegor256
Copy link
Member

@zCRUSADERz thanks!

@0crat
Copy link

0crat commented May 21, 2019

Job gh:jcabi/jcabi-parent#87 is not assigned, can't get performer

@0crat
Copy link

0crat commented May 21, 2019

This job is not in scope

@yegor256
Copy link
Member

@zCRUSADERz this job was not in scope, that's why no points, sorry

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

No branches or pull requests

4 participants