And what command did you exactly execute? It should be mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta -Dpackaging=jar -Dversion=1.0.1B -Dfile=<your-jar-filename>
Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Aug 21, 2008 at 4:02 AM, leopupo <[EMAIL PROTECTED]> wrote: > > I installed the jar file into the repository using mvn install like specified > in > http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html > When trying to install or package the project, the following error message > is still there: >> >> The error message is: >> Error message: Missing: >> > ---------- >> > 1) javax.transaction:jta:jar:1.0.1B >> >> It´s missing the jar file. > > > It looks like maven does not recognize the jar file already installed in my > repository. > > > > Wayne Fay wrote: >> >> The complaint "does not work" is not sufficient data to provide >> assistance. Be more specific if you expect help on this list. >> >> What did you do, what happened vs what you thought would happen, copy >> and paste any errors or exceptions, etc. >> >> Wayne >> >> On 8/19/08, leopupo <[EMAIL PROTECTED]> wrote: >>> >>> I've already installed the jar file into the repository using mvn >>> install, >>> but it does not work. >>> >>> >>> >>> Nick Stolwijk-4 wrote: >>> > >>> > Try to use the mvn install:install-file command instead of copying. [1] >>> > Make >>> > sure you specify the right groupId, ArtifactId and version >>> > (javax.transaction:jta:jar:1.0.1B) >>> > >>> > [1] >>> > >>> http://maven.apache.org/plugins/maven-install-plugin/install-file-mojo.html >>> > >>> > Hth, >>> > >>> > Nick Stolwijk >>> > ~Java Developer~ >>> > >>> > Iprofs BV. >>> > Claus Sluterweg 125 >>> > 2012 WS Haarlem >>> > www.iprofs.nl >>> > >>> > >>> > On Tue, Aug 19, 2008 at 1:05 PM, lbp <[EMAIL PROTECTED]> >>> > wrote: >>> > >>> >> >>> >> The error message is: >>> >> Error message: Missing: >>> >> > ---------- >>> >> > 1) javax.transaction:jta:jar:1.0.1B >>> >> >>> >> It´s missing the jar file. >>> >> >>> >> I installed it in the repo just copying and pasting the jar file >>> >> (jta-1.01B.jar it in the repo). >>> >> >>> >> >>> >> >>> >> >>> >> Wayne Fay wrote: >>> >> > >>> >> > What is the exact error message? Are you missing the jar file, or >>> the >>> >> pom? >>> >> > >>> >> > How did you install it into the repo? (Copy and paste the command >>> line >>> >> > you used.) >>> >> > >>> >> > Wayne >>> >> > >>> >> > On 8/18/08, leopupo <[EMAIL PROTECTED]> wrote: >>> >> >> >>> >> >> I´m trying to add hibernate dependencies in my pom.xml, but it >>> returns >>> >> >> the >>> >> >> following message: >>> >> >> Error message: Missing: >>> >> >> ---------- >>> >> >> 1) javax.transaction:jta:jar:1.0.1B >>> >> >> >>> >> >> So, i downloaded it and included it in my .m2\repository path, but >>> it >>> >> >> still >>> >> >> returns the same error message and i can´t build my project. >>> >> >> Can anyone help me? >>> >> >> >>> >> >> -- >>> >> >> View this message in context: >>> >> >> >>> >> >>> http://www.nabble.com/Error-in-maven-dependencies-tp19043864p19043864.html >>> >> >> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >> >> >>> >> >> >>> >> >> >>> --------------------------------------------------------------------- >>> >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> >> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> >>> >> >> >>> >> > >>> >> > >>> >> >>> >> -- >>> >> View this message in context: >>> >> >>> http://www.nabble.com/Error-in-maven-dependencies-tp19043864p19048068.html >>> >> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >> >>> >> >>> >> --------------------------------------------------------------------- >>> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> >> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >>> >> >>> > >>> > >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Error-in-maven-dependencies-tp19043864p19062258.html >>> Sent from the Maven - Users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > -- > View this message in context: > http://www.nabble.com/Error-in-maven-dependencies-tp19043864p19081289.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
