The answer of Howgler worked for me. I close this post with his answer:
The recommended way is to first create a Maven project and then right-click the project and choose Team > Share Project… to move it to an existing or new Git repository. – howlger
Related Posts:
- Maven skip tests
- Maven 3 and JUnit 4 compilation problem: package org.junit does not exist
- How to force maven update?
- Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature)
- how to run the command mvn eclipse:eclipse
- A fatal error has been detected by the Java Runtime Environment. EXCEPTION_ACCESS_VIOLATION
- mvn command is not recognized as an internal or external command
- Getting “Skipping JaCoCo execution due to missing execution data file” upon executing JaCoCo
- Maven Could not resolve dependencies, artifacts could not be resolved
- How do I rename a local Git branch?
- Git refusing to merge unrelated histories on rebase
- What is the difference between git push origin and git push origin master
- git error: failed to push some refs to remote
- git – remote add origin vs remote set-url origin
- Git: Message ‘src refspec master does not match any’ when pushing commits in Git
- How to upgrade Git on Windows to the latest version
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Need to reset git branch to origin version
- How do I push a new local branch to a remote Git repository and track it too?
- ‘git’ is not recognized as an internal or external command
- git: fatal: Could not read from remote repository
- Windows git “warning: LF will be replaced by CRLF”, is that warning tail backward?
- How can I make git accept a self signed certificate?
- Untrack files from git temporarily
- How to fetch all Git branches
- How to change the URI (URL) for a remote Git repository?
- What would I use git-worktree for?
- Git error when trying to push — pre-receive hook declined
- Git: How to squash all commits on branch
- How can I save username and password in Git?
- What’s the purpose of git-mv?
- How do I revert all local changes in Git managed project to previous state?
- How to revert multiple git commits?
- The following untracked working tree files would be overwritten by merge, but I don’t care
- You have not concluded your merge (MERGE_HEAD exists)
- Heroku: “No default language could be detected for this app” error thrown for node app
- How to cherry-pick multiple commits
- git – pulling from specific branch
- How to copy commits from one branch to another?
- wntdll.pdb not loaded – Can’t see the exception
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- ‘react-scripts’ is not recognized as an internal or external command
- Remove a git commit which has not been pushed
- There is no tracking information for the current branch
- Git push results in “Authentication Failed”
- What are the differences between .gitignore and .gitkeep?
- Maven Install on Mac OS X
- What’s the difference between git switch and git checkout
- Remote debugging a Java application
- How can I rollback a git repository to a specific commit?
- What is the point of ‘git submodule init’?
- git add . -> still “nothing to commit” with new files
- web.xml is missing and
is set to true - How to use gdb with pipes and stdin
- gpg failed to sign the data fatal: failed to write commit object
- How to resolve git’s “not something we can merge” error
- Git nothing added to commit but untracked files present – even with those files added to gitignore
- git push to specific branch
- Cannot change version of project facet Dynamic Web Module to 3.0?
- What is the difference between ‘git remote update’, ‘git fetch’ and ‘git pull’?
- GitLab remote: HTTP Basic: Access denied and fatal Authentication
- web.xml is missing and
is set to true – web.xml is there and can’t edit deployment assembly - Paused in debugger in chrome?
- Error: JAVA_HOME is not defined correctly executing maven
- What does git push origin HEAD mean?
- Delete branches in Bitbucket
- Create a new file in git bash
- What to gitignore from the .idea folder?git intellij-idea gitignore webstorm
- What’s the difference between nexti and stepi in gdb?
- docker error : the input device is not a TTY. If you are using mintty, try prefixing the command with ‘winpty’
- How do you clone a Git repository into a specific folder?
- git checkout master error: the following untracked working tree files would be overwritten by checkout
- Remove node_modules from git in vscode
- How to have ‘git log’ show filenames like ‘svn log -v’
- How can I see the changes in a Git commit?
- Python way to clone a git repository
- Git removing upstream from local repository
- Git pull – Please move or remove them before you can merge
- Unlink of file Failed. Should I try again?
- Resetting remote to a certain commit
- Change the location of the ~ directory in a Windows install of Git Bash
- difference between git merge origin/master and git pull
- In which cases does program exit with 0x40010004 code?
- gdb: No symbol “i” in current context
- Git checkout – switching back to HEAD
- How to create a new branch from a tag?
- [npm notice created a lockfile as package-lock.json. You should commit this file
- WordPress and Git Workflow
- How can I sync WordPress plugin settings between environments?
- Different color admin bars for dev, staging and production
- Workflow for working with git and WordPress
- WordPress updates and Git
- best practice on pushing staging development (database/uploads) to the live server
- How to upload/update theme from local – bitbucket – shared hosting?
- Is it bad practice to install WordPress by cloning from the official GitHub repo?
- Tortoise SVN showing ‘Access to ‘/!svn/me” forbidden error.
- theme continuous deployment from bitbucket to windows azure
- how can I create a WP offline environment before releasing the websites? [closed]
- How to update WordPress plugins properly using git?
- How to retrieve the last modification date of all files in a Git repository