I'm having to specify many more options that described in the "2. Your project
depends on a jar that is not available in any maven repository." section of
http://wiki.jboss.org/wiki/Wiki.jsp?page=MavenThirdPartyJars. For example, unless I
specify both the file and packaging options the command fails. The deploy:deploy-file docs
say the file is required, but packaging is not. However, unless I also specify the
packaging the deploy fails:
| [starksm@succubus junit4.1]$ mvn deploy:deploy-file
-Durl=file:///home/svn/repository.jboss.com/maven2 -DgroupId=junit -DartifactId=junit
-Dversion=4.1 -DgeneratePom=true -Dfile=junit-4.1.jar
| [INFO] Scanning for projects...
| [INFO] Searching repository for plugin with prefix: 'deploy'.
| [INFO] ----------------------------------------------------------------------------
| [INFO] Building Maven Default Project
| [INFO] task-segment: [deploy:deploy-file] (aggregator-style)
| [INFO] ----------------------------------------------------------------------------
| [INFO] [deploy:deploy-file]
| [INFO] ------------------------------------------------------------------------
| [ERROR] BUILD ERROR
| [INFO] ------------------------------------------------------------------------
| [INFO] Missing group, artifact, version, or packaging information
| [INFO] ------------------------------------------------------------------------
| [INFO] For more information, run Maven with the -e switch
| [INFO] ------------------------------------------------------------------------
| [INFO] Total time: < 1 second
| [INFO] Finished at: Mon Apr 30 12:01:47 PDT 2007
| [INFO] Final Memory: 4M/74M
| [INFO] ------------------------------------------------------------------------
|
I have updated the wiki.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041930#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...