Hi Petar,
if you have an 'internal repository' you can add your libraries by using
'mvn deploy:deploy-file'.
For adding the jar my-library.jar to the repository you could use the
following:
mvn org.apache.maven.plugins:maven-deploy-plugin:2.2:deploy-file
-Durl=scp://localhost/data/maven/proximity/inhouse/storage
-DrepositoryId=inhouse -Dfile=D:\my-library-1.5.1.jar -Dversion=1.5.1
-DgroupId=com.xyz -DartifactId=my-library -Dpackaging=jar -DgeneratePom=true
After installing the jar you can referenz it in the normal way
(groupId=com.xyz, artifactId=my-library, version=1.5.1)
Cheers, michael
Petar Tahchiev wrote:
Anybody on this?
Petar Tahchiev wrote:
Hi guys,
I have an ear archive with lots of modules. The point is that I am having
some modules I want to include in the ear, and these modules are not
present in the local repository. Is there a way I can include them, by
pointing the ear archiver on the filesystem where they are located? I
don't want to make a separate .pom file for them just for putting them in
the repository... It seems like an overwork.
Thanks, Petar.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]