You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "anil.kumar" <an...@gmail.com> on 2009/10/26 14:20:19 UTC

Resolving Compile Time issues

While compiling the project source code using "mvn compile" command  (mvn
compile >>error.log) . One of the errors logged in was "package
com.salmonllc.html does not exist"
For successful compilation  of the the project,it requires jar file
(salmon.jar) . This jar file is not available in maven repository
(http://repo1.maven.org/maven2/) . I need to install the above jar file in
maven local repository.
The default location of the maven local repository is "My
Documents/.m2/repository/.. ".
I installed the salmon.jar dependency using the command
mvn install:install-file -Dfile="F:\3rdParty\salmon\jars\salmon.jar"
-DgroupId="salmon" -DartifactId="salmon" -Dversion="1.0"
-Dpackaging="salmon.jar" -DgeneratePom=true -e
The Jar File is created in the location "C:\Documents and
Settings\AK\.m2\repository". The compile time issue " package
com.salmonllc.html does not exist" exits.
Can some please tell me as to what could have gone wrong.
-- 
View this message in context: http://www.nabble.com/Resolving-Compile-Time-issues-tp26059618p26059618.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Resolving Compile Time issues

Posted by Wayne Fay <wa...@gmail.com>.
Also, once you have installed the file, you must add a <dependency> in
your pom.xml file with the proper GAV coordinates just like any other
dependency.

Wayne

On Mon, Oct 26, 2009 at 8:42 AM, Antonio Jacob Costa
<ja...@gmail.com> wrote:
> Hi Anil,
>
> In the *mvn install:install-file* statement you posted you have the
> packaging wrong, it should be just *jar*.
>
> Best regards,
> --
> António Jacob Costa
> IBM Certified Deployment Professional - Maximo V6 EAM
>
> MAXIMO Consultant and Software Engineer
> LinkedIn: http://www.linkedin.com/in/antoniojacobcosta
> --
>
>
>
> On Mon, Oct 26, 2009 at 14:20, anil.kumar <an...@gmail.com> wrote:
>
>>
>> While compiling the project source code using "mvn compile" command  (mvn
>> compile >>error.log) . One of the errors logged in was "package
>> com.salmonllc.html does not exist"
>> For successful compilation  of the the project,it requires jar file
>> (salmon.jar) . This jar file is not available in maven repository
>> (http://repo1.maven.org/maven2/) . I need to install the above jar file in
>> maven local repository.
>> The default location of the maven local repository is "My
>> Documents/.m2/repository/.. ".
>> I installed the salmon.jar dependency using the command
>> mvn install:install-file -Dfile="F:\3rdParty\salmon\jars\salmon.jar"
>> -DgroupId="salmon" -DartifactId="salmon" -Dversion="1.0"
>> -Dpackaging="salmon.jar" -DgeneratePom=true -e
>> The Jar File is created in the location "C:\Documents and
>> Settings\AK\.m2\repository". The compile time issue " package
>> com.salmonllc.html does not exist" exits.
>> Can some please tell me as to what could have gone wrong.
>> --
>> View this message in context:
>> http://www.nabble.com/Resolving-Compile-Time-issues-tp26059618p26059618.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Resolving Compile Time issues

Posted by "anil.kumar" <an...@gmail.com>.
Hi Jacob,

As pointed bu you the packaging attribute was not correct , it must be just
jar and not salmon jar.

@ Wayne 
I have added dependencies in pom.xml file. The compile time issues related
to salmon.jar file is fixed. I am adding other dependencies and resolving
the compile time issues.

Thanks a lot Jacob and Wayne for your timely help.

Regards,
Anil


jacobdotcosta wrote:
> 
> Hi Anil,
> 
> In the *mvn install:install-file* statement you posted you have the
> packaging wrong, it should be just *jar*.
> 
> Best regards,
> --
> António Jacob Costa
> IBM Certified Deployment Professional - Maximo V6 EAM
> 
> MAXIMO Consultant and Software Engineer
> LinkedIn: http://www.linkedin.com/in/antoniojacobcosta
> --
> 
> 
> 
> On Mon, Oct 26, 2009 at 14:20, anil.kumar <an...@gmail.com> wrote:
> 
>>
>> While compiling the project source code using "mvn compile" command  (mvn
>> compile >>error.log) . One of the errors logged in was "package
>> com.salmonllc.html does not exist"
>> For successful compilation  of the the project,it requires jar file
>> (salmon.jar) . This jar file is not available in maven repository
>> (http://repo1.maven.org/maven2/) . I need to install the above jar file
>> in
>> maven local repository.
>> The default location of the maven local repository is "My
>> Documents/.m2/repository/.. ".
>> I installed the salmon.jar dependency using the command
>> mvn install:install-file -Dfile="F:\3rdParty\salmon\jars\salmon.jar"
>> -DgroupId="salmon" -DartifactId="salmon" -Dversion="1.0"
>> -Dpackaging="salmon.jar" -DgeneratePom=true -e
>> The Jar File is created in the location "C:\Documents and
>> Settings\AK\.m2\repository". The compile time issue " package
>> com.salmonllc.html does not exist" exits.
>> Can some please tell me as to what could have gone wrong.
>> --
>> View this message in context:
>> http://www.nabble.com/Resolving-Compile-Time-issues-tp26059618p26059618.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Resolving-Compile-Time-issues-%28Maven-2.0.10%29-tp26059618p26072963.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Resolving Compile Time issues

Posted by Antonio Jacob Costa <ja...@gmail.com>.
Hi Anil,

In the *mvn install:install-file* statement you posted you have the
packaging wrong, it should be just *jar*.

Best regards,
--
António Jacob Costa
IBM Certified Deployment Professional - Maximo V6 EAM

MAXIMO Consultant and Software Engineer
LinkedIn: http://www.linkedin.com/in/antoniojacobcosta
--



On Mon, Oct 26, 2009 at 14:20, anil.kumar <an...@gmail.com> wrote:

>
> While compiling the project source code using "mvn compile" command  (mvn
> compile >>error.log) . One of the errors logged in was "package
> com.salmonllc.html does not exist"
> For successful compilation  of the the project,it requires jar file
> (salmon.jar) . This jar file is not available in maven repository
> (http://repo1.maven.org/maven2/) . I need to install the above jar file in
> maven local repository.
> The default location of the maven local repository is "My
> Documents/.m2/repository/.. ".
> I installed the salmon.jar dependency using the command
> mvn install:install-file -Dfile="F:\3rdParty\salmon\jars\salmon.jar"
> -DgroupId="salmon" -DartifactId="salmon" -Dversion="1.0"
> -Dpackaging="salmon.jar" -DgeneratePom=true -e
> The Jar File is created in the location "C:\Documents and
> Settings\AK\.m2\repository". The compile time issue " package
> com.salmonllc.html does not exist" exits.
> Can some please tell me as to what could have gone wrong.
> --
> View this message in context:
> http://www.nabble.com/Resolving-Compile-Time-issues-tp26059618p26059618.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>