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

Error executing Maven #8648

Open
pkranjan001 opened this issue Jan 18, 2024 · 1 comment
Open

Error executing Maven #8648

pkranjan001 opened this issue Jan 18, 2024 · 1 comment

Comments

@pkranjan001
Copy link

Running as SYSTEM
Building in workspace C:\ProgramData\Jenkins.jenkins\workspace\multi-poly-sapiCompile
The recommended git tool is: NONE
using credential b20caf94-ed44-4461-a2fc-e06bb9d83f2a

C:\Program Files\Git\cmd\git.exe rev-parse --resolve-git-dir C:\ProgramData\Jenkins.jenkins\workspace\multi-poly-sapiCompile.git # timeout=10
Fetching changes from the remote Git repository
C:\Program Files\Git\cmd\git.exe config remote.origin.url https://github.com/pkranjan001/multi-poly-sapi.git # timeout=10
Fetching upstream changes from https://github.com/pkranjan001/multi-poly-sapi.git
C:\Program Files\Git\cmd\git.exe --version # timeout=10
git --version # 'git version 2.43.0.windows.1'
using GIT_ASKPASS to set credentials
C:\Program Files\Git\cmd\git.exe fetch --tags --force --progress -- https://github.com/pkranjan001/multi-poly-sapi.git +refs/heads/:refs/remotes/origin/ # timeout=10
C:\Program Files\Git\cmd\git.exe rev-parse "refs/remotes/origin/main^{commit}" # timeout=10
Checking out Revision 523cecdd49dd4ed6fdbafb1c1d7c8cd4097743df (refs/remotes/origin/main)
C:\Program Files\Git\cmd\git.exe config core.sparsecheckout # timeout=10
C:\Program Files\Git\cmd\git.exe checkout -f 523cecdd49dd4ed6fdbafb1c1d7c8cd4097743df # timeout=10
Commit message: "Merge pull request #1 from pkranjan001/feature"
C:\Program Files\Git\cmd\git.exe rev-list --no-walk 523cecdd49dd4ed6fdbafb1c1d7c8cd4097743df # timeout=10
[multi-poly-sapiCompile] $ cmd.exe /C "C:\ProgramData\Jenkins.jenkins\tools\hudson.tasks.Maven_MavenInstallation\M3\bin\mvn.cmd -s C:\apache-maven-3.8.4\bin\mvn -gs C:\apache-maven-3.8.4\bin\mvn Compile && exit %%ERRORLEVEL%%"
[ERROR] Error executing Maven.
[ERROR] 2 problems were encountered while building the effective settings
[FATAL] Non-parseable settings C:\apache-maven-3.8.4\bin\mvn: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ C:\apache-maven-3.8.4\bin\mvn, line 1, column 1
[FATAL] Non-parseable settings C:\apache-maven-3.8.4\bin\mvn: only whitespace content allowed before start tag and not # (position: START_DOCUMENT seen #... @1:1) @ C:\apache-maven-3.8.4\bin\mvn, line 1, column 1

Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE

@pkranjan001
Copy link
Author

How we can resolved this issue

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

1 participant