Francis De Brabandere wrote: > Re: adding dependencies for oracle and microsoft jdbc drivers > > On Fri, Jul 30, 2010 at 5:55 PM, Rainer Döbele <[email protected]> > wrote: > > Hi Francis > > > > I added the dependency as you suggested, but I get a > > > > [INFO] Failed to resolve artifact. > > > > Missing: > > ---------- > > 1) com.oracle:ojdbc14:jar:10.2.0.3.0 > > > > Any idea? > > Is it not better like before to let the user enable these dependencies > where needed? >
Sure, but as you assumed I have checked it in by accident. And wouldn't it be great if the build could resolve the dependency automatically in such a case. After all we have dependencies to various other JDBC drivers like MySQL (which ironically belongs to Oracle too). Regards, Rainer > > > > Rainer > > > > > > Francis De Brabandere wrote: > >> re: Fwd: Build failed in Hudson: Empire-DB snapshot #180 > >> > >> If you want that driver enabled for everybody it would be better to > >> use: > >> > >> http://mvnrepository.com/artifact/com.oracle/ojdbc14/10.2.0.3.0 > >> <dependency> > >> <groupId>com.oracle</groupId> > >> <artifactId>ojdbc14</artifactId> > >> <version>10.2.0.3.0</version> > >> </dependency> > >> > >> as this one is available in maven central without extra download > >> > http://mirrors.ibiblio.org/pub/mirrors/maven2/com/oracle/ojdbc14/10.2.0 > >> .3.0/ > >> > >> But I suppose you accidentally committed this? > >> > >> Cheers, > >> Francis > >> > >> > >> ---------- Forwarded message ---------- > >> From: Apache Hudson Server <[email protected]> > >> Date: Fri, Jul 30, 2010 at 3:41 PM > >> Subject: Build failed in Hudson: Empire-DB snapshot #180 > >> To: [email protected], [email protected] > >> > >> > >> See <http://hudson.zones.apache.org/hudson/job/Empire- > >> DB%20snapshot/180/changes> > >> > >> Changes: > >> > >> [doebele] EMPIREDB-62 > >> > >> [doebele] EMPIREDB-62 > >> > >> ------------------------------------------ > >> [...truncated 5665 lines...] > >> 587809/? > >> 588379/? > >> 588889/? > >> 589530/? > >> 590041/? > >> 590552/? > >> 591065/? > >> 591576/? > >> 592087/? > >> 592600/? > >> 593113/? > >> 593626/? > >> 594137/? > >> 594706/? > >> 595223/? > >> 596050/? > >> 596561/? > >> 597072/? > >> 597583/? > >> 598094/? > >> 598605/? > >> 599117/? > >> 599647/? > >> 600170/? > >> 600680/? > >> 601233/? > >> 601766/? > >> 602277/? > >> 602791/? > >> 603280/? > >> 603304/? > >> 603816/? > >> 604253/? > >> 604763/? > >> 605281/? > >> 605805/? > >> 606435/? > >> 606992/? > >> 607513/? > >> 608038/? > >> 608584/? > >> 609126/? > >> 609697/? > >> 610206/? > >> 610715/? > >> 611225/? > >> 611736/? > >> 612250/? > >> 612759/? > >> 613271/? > >> 613847/? > >> 614358/? > >> 614509/? > >> 615018/? > >> 615528/? > >> 616038/? > >> 616606/? > >> 617115/? > >> 617691/? > >> 618200/? > >> 618778/? > >> 619288/? > >> 619798/? > >> 620308/? > >> 620821/? > >> 621279/? > >> 621855/? > >> 622367/? > >> 622879/? > >> 623391/? > >> 623979/? > >> 624491/? > >> 625056/? > >> 625627/? > >> 626138/? > >> 626651/? > >> 627162/? > >> 627673/? > >> 628242/? > >> 628754/? > >> 629267/? > >> 629846/? > >> 630358/? > >> 630871/? > >> 631383/? > >> 631896/? > >> 632468/? > >> 632980/? > >> 633492/? > >> 634004/? > >> 634516/? > >> 635027/? > >> 635539/? > >> 636054/? > >> 636566/? > >> 636902/? > >> 636926/? > >> 637501/? > >> 638067/? > >> 638567/? > >> 639079/? > >> 639658/? > >> 640169/? > >> 640680/? > >> 641192/? > >> 641704/? > >> 642217/? > >> 642730/? > >> 643242/? > >> 643818/? > >> 644330/? > >> 644841/? > >> 645353/? > >> 645864/? > >> 646376/? > >> 646887/? > >> 647471/? > >> 647984/? > >> 648496/? > >> 649007/? > >> 649519/? > >> 650089/? > >> 650600/? > >> 651168/? > >> 651745/? > >> 652256/? > >> 652808/? > >> 653320/? > >> 653831/? > >> 654346/? > >> 654929/? > >> 655384/? > >> 655895/? > >> 656452/? > >> 656963/? > >> 657475/? > >> 658023/? > >> 658534/? > >> 659046/? > >> 659558/? > >> 660113/? > >> 660664/? > >> 661175/? > >> 661696/? > >> 662288/? > >> 662849/? > >> 663360/? > >> 663872/? > >> 664383/? > >> 664895/? > >> 665406/? > >> 665977/? > >> 666558/? > >> 667068/? > >> 667654/? > >> 668166/? > >> 668725/? > >> 669311/? > >> 669860/? > >> 670372/? > >> 670860/? > >> 670884/? > >> 671395/? > >> 671906/? > >> 672457/? > >> 672878/? > >> 673418/? > >> 673914/? > >> 674412/? > >> 674912/? > >> 675408/? > >> 675907/? > >> 676444/? > >> 676942/? > >> 677482/? > >> 677983/? > >> 678482/? > >> 678979/? > >> 679630/? > >> 680481/? > >> 682108/? > >> 684222/? > >> 686133/? > >> 687939/? > >> 689575/? > >> 691452/? > >> 693333/? > >> 695075/? > >> 697532/? > >> 699639/? > >> 701831/? > >> 703265/? > >> > >> [INFO] -------------------------------------------------------------- > -- > >> -------- > >> [ERROR] BUILD ERROR > >> [INFO] -------------------------------------------------------------- > -- > >> -------- > >> [INFO] Failed to resolve artifact. > >> > >> Missing: > >> ---------- > >> 1) ojdbc:ojdbc:jar:14 > >> > >> Try downloading the file manually from: > >> > >> > http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.ht > >> ml > >> > >> Then, install it using the command: > >> mvn install:install-file -DgroupId=ojdbc -DartifactId=ojdbc > >> -Dversion=14 -Dpackaging=jar -Dfile=/path/to/file > >> > >> Alternatively, if you host your own repository you can deploy the > file > >> there: > >> mvn deploy:deploy-file -DgroupId=ojdbc -DartifactId=ojdbc > >> -Dversion=14 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > >> -DrepositoryId=[id] > >> > >> Path to dependency: > >> 1) org.apache.empire-db:empire-db-example-basic:jar:2.0.7- > >> incubating-SNAPSHOT > >> 2) ojdbc:ojdbc:jar:14 > >> > >> 2) microsoft:sqljdbc:jar:1.0 > >> > >> Try downloading the file manually from the project website. > >> > >> Then, install it using the command: > >> mvn install:install-file -DgroupId=microsoft - > DartifactId=sqljdbc > >> -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file > >> > >> Alternatively, if you host your own repository you can deploy the > file > >> there: > >> mvn deploy:deploy-file -DgroupId=microsoft -DartifactId=sqljdbc > >> -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > >> -DrepositoryId=[id] > >> > >> Path to dependency: > >> 1) org.apache.empire-db:empire-db-example-basic:jar:2.0.7- > >> incubating-SNAPSHOT > >> 2) microsoft:sqljdbc:jar:1.0 > >> > >> ---------- > >> 2 required artifacts are missing. > >> > >> for artifact: > >> org.apache.empire-db:empire-db-example-basic:jar:2.0.7-incubating- > >> SNAPSHOT > >> > >> from the specified remote repositories: > >> central (http://repo1.maven.org/maven2), > >> Nexus (http://repository.apache.org/snapshots) > >> > >> > >> > >> [INFO] -------------------------------------------------------------- > -- > >> -------- > >> [INFO] For more information, run Maven with the -e switch > >> [INFO] -------------------------------------------------------------- > -- > >> -------- > >> [INFO] Total time: 2 minutes 6 seconds > >> [INFO] Finished at: Fri Jul 30 13:41:32 UTC 2010 > >> [INFO] Final Memory: 50M/188M > >> [INFO] -------------------------------------------------------------- > -- > >> -------- > >> Recording test results > >> > >> > >> > >> > >> -- > >> http://www.somatik.be > >> Microsoft gives you windows, Linux gives you the whole house. > > > > > > -- > http://www.somatik.be > Microsoft gives you windows, Linux gives you the whole house.
