Hi,

In a tutorial  the first step was :
mvn validate -Pdb,mysql -Dimpex.dba.password=[dbapassword]

I got this , it fails :

C:\maj\kcDoc\KualiRice\db\impex\master>mvn validate -Pdb,oracle
-Dimpex.url=jdbc
:oracle:thin:@localhost:1521:XE -Dimpex.dba.password=password
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Rice Impex Master
[INFO]    task-segment: [validate]
[INFO]
------------------------------------------------------------------------
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-jar-pl
ugin/2.3.2-kuali-2/maven-jar-plugin-2.3.2-kuali-2.jar
[INFO] Unable to find resource
'org.apache.maven.plugins:maven-jar-plugin:maven-
plugin:2.3.2-kuali-2' in repository central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found - check
that t
he goal name is correct: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
    mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=mav
en-jar-plugin -Dversion=2.3.2-kuali-2 -Dpackaging=maven-plugin
-Dfile=/path/to/f
ile

Alternatively, if you host your own repository you can deploy the file
there:
    mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven
-jar-plugin -Dversion=2.3.2-kuali-2 -Dpackaging=maven-plugin
-Dfile=/path/to/fil
e -Durl=[url] -DrepositoryId=[id]


  org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.3.2-kuali-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  kuali.nexus (http://nexus.kuali.org/content/groups/public)


  org.apache.maven.plugins:maven-jar-plugin:maven-plugin:2.3.2-kuali-2

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  kuali.nexus (http://nexus.kuali.org/content/groups/public)


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu Dec 22 21:02:24 EST 2011
[INFO] Final Memory: 8M/21M
[INFO]
------------------------------------------------------------------------
C:\maj\kcDoc\KualiRice\db\impex\master>

Please your help is appreciated.
thanks

--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-validate-Pdb-mysql-failed-tp5096237p5096237.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]

Reply via email to