In my project, a lot of .jar files are used and they are not in the maven repository(both local and web).
除使用安装指令将其逐个列入存放处外,还没有任何办法或假想将其置于存放处一段时间。
如果是的话,请告诉我如何这样做。
In my project, a lot of .jar files are used and they are not in the maven repository(both local and web).
除使用安装指令将其逐个列入存放处外,还没有任何办法或假想将其置于存放处一段时间。
如果是的话,请告诉我如何这样做。
As Kal says in the comments, use a script. This is what we use - just modify the values in each of the set
statements
set GROUP_ID=someNamespace
set ARTIFACT_ID=myartifact
set VERSION=1
set COMPONENT=%ARTIFACT_ID%-%VERSION%
set FILEPATH=D:my.jar
call mvn install:install-file ^
-DgroupId=%GROUP_ID% ^
-DartifactId=%ARTIFACT_ID% ^
-Dversion=%VERSION% ^
-Dfile=%FILEPATH% ^
-Dpackaging=jar ^
-DgeneratePom=true
set GROUP_ID=someNamespace2
set ARTIFACT_ID=myartifact2
set VERSION=1
set COMPONENT=%ARTIFACT_ID%-%VERSION%
set FILEPATH=D:my2.jar
call mvn install:install-file ^
-DgroupId=%GROUP_ID% ^
-DartifactId=%ARTIFACT_ID% ^
-Dversion=%VERSION% ^
-Dfile=%FILEPATH% ^
-Dpackaging=jar ^
-DgeneratePom=true
I am getting ready to set up an SVN repository, and was wondering if anyone had a good example for a repo structure. I am currently thinking: Development .. Applications .... App1 ...... ...
I would put under version control a big amount of data, i.e. a directory structure (with depth<=5) with hundreds files with size about 500Mb). The things I need is a system that help me: - to ...
I work at an in-house IT department for company running 10 or so only shops of varying complexity. The shops code has been written over the last 8 years, each shop a new branch growing father and ...
Should we have one single repository for all the company, which contains many development projects, or a repository per project? Any ideas on experience / best practice?
I have a Subversion repository on my laptop in my room (windows Vista), but I want to check it out to a computer upstairs (Ubuntu Linux). I put the repository on a network share but I m not sure how I ...
I m trying to set a gem repository on one of our local servers. Here are the steps I m running, that I ve followed from several guides. 1) I create the BASEDIR folder /var/www/html/gems 2) sudo cp -...
When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...
I am using SVN+SSH to check out a working copy of repository from an SVN server on which all developers are members of a developer group and have full read/write permissions on the repository ...