Hi,

I was having a problem with maven keeping on trying to download torque plugin and torque-gen3.1.1.

I finally found what was wrong with torque plugin not being found.
Two files were required, and not found by maven:
torque-gen-3.1.1.jar, maven-torque-plugin.jar.

I manually downloaded those files and put them in the repositery and the plugin folder respectively.
According to the documentation, the plugin once put in the %MAVEN_HOME%/plugins directory, maven would automatically put it in the %HOME%/.maven/cache directory, and maven would then know where to find the plugin. IT DOESNT!


Also, the torque-gen jar file should be in a torque-gen folder under %HOME%/.maven/repository/ directory according to the documentation.

In fact torque-gen-3.1.1.jar should be in the following folder
%HOME%/.maven/repository/torque/jars

while maven-torque-plugin should be in
%HOME%/.maven/repository/torque/plugins

The key thing to remember is that when you try to run one of the maven plugin, and some jars are "not found", maven will automatically create the folder where those files should be put.
So if you have to download them later, you can find a folder already created under %HOME%/.maven/repository/ directory.


To those it may help!!



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to