You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rasahere <ra...@gmail.com> on 2009/10/07 14:26:30 UTC
Re: My application is not getting compiled using Maven
what value i should give here????
is it like maven.compile.encoding=UTF8
Lukas Theussl-4 wrote:
>
>
> Setting the maven.compile.encoding property should be more useful for your
> case
> than maven.compile.source.
>
> HTH,
> -Lukas
>
>
> Thomas Sundberg wrote:
>> Hi!
>>
>> What happens if you remove the unmappable character?
>> Have you been able to compile before or is this a new setup?
>> Can you restart with the simplest Hello World and get that to compile?
>> What happens if you use Maven 2?
>>
>> /Thomas
>>
>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>> wrote:
>>> Hi,
>>>
>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build my
>>> application jar i am getting some strange errors.
>>>
>>> warning: unmappable character for encoding UTF8
>>> [javac] /**
>>> [javac] ^
>>> this is just a warning but still the build is failed.
>>> I have added
>>> maven.compile.source=1.5
>>> maven.compile.target=1.5
>>> in my project properties.
>>>
>>> Can any one give a solution for this.
>>>
>>> Thanks
>>> Rasa.
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp25530996p25530996.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
>
>
>
--
View this message in context: http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp25530996p25783942.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: My application is not getting compiled using Maven
Posted by Damon Silver <da...@diio.net>.
I don't know what the equivalent if any would be for 1.0, never having used
it, but you should strongly consider upgrading your projects to use maven 2
for now, as it'll be moving to maven 3 in the not-too-distant future. Maven
1 is barely supported at all anymore.
- Damon
-----Original Message-----
From: rasahere [mailto:rasa.still.here@gmail.com]
Sent: Thursday, October 08, 2009 9:00 PM
To: users@maven.apache.org
Subject: RE: My application is not getting compiled using Maven
But mvn is for maven 2.0 rt ? i am using maven 1.0 only.
Damon Silver wrote:
>
> 'mvn dependency:tree'
>
> -----Original Message-----
> From: rasahere [mailto:rasa.still.here@gmail.com]
> Sent: Wednesday, October 07, 2009 11:57 PM
> To: users@maven.apache.org
> Subject: Re: My application is not getting compiled using Maven
>
>
> unmappable character for encoding UTF8 is the warning which i am getting.
> I have removed old version jar files and added new version then it is
> giving
>
> following error
>
> The build cannot continue because of the following unsatisfied
> dependencies:
>
> commons-jelly-20030902.160215.jar
> velocity-1.4-dev.jar
>
> Total time: 5 seconds
>
> this jar files are not refereced from my application. I think it is from
> maven 1.0 project only. In maven lib commons-jelly-20030902.160215.jar is
> there , but not the second one.
>
> Any idea where it looks for the jar ????
>
> Lukas Theussl-4 wrote:
>>
>>
>>
>> rasahere wrote:
>>> what value i should give here????
>>
>> Whatever your source files are encoded in.
>>
>>> is it like maven.compile.encoding=UTF8
>>
>> I guess it's something else as the error suggests.
>>
>> -Lukas
>>
>>
>>>
>>>
>>> Lukas Theussl-4 wrote:
>>>>
>>>> Setting the maven.compile.encoding property should be more useful for
>>>> your
>>>> case
>>>> than maven.compile.source.
>>>>
>>>> HTH,
>>>> -Lukas
>>>>
>>>>
>>>> Thomas Sundberg wrote:
>>>>> Hi!
>>>>>
>>>>> What happens if you remove the unmappable character?
>>>>> Have you been able to compile before or is this a new setup?
>>>>> Can you restart with the simplest Hello World and get that to compile?
>>>>> What happens if you use Maven 2?
>>>>>
>>>>> /Thomas
>>>>>
>>>>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build
>>>>>> my
>>>>>> application jar i am getting some strange errors.
>>>>>>
>>>>>> warning: unmappable character for encoding UTF8
>>>>>> [javac] /**
>>>>>> [javac] ^
>>>>>> this is just a warning but still the build is failed.
>>>>>> I have added
>>>>>> maven.compile.source=1.5
>>>>>> maven.compile.target=1.5
>>>>>> in my project properties.
>>>>>>
>>>>>> Can any one give a solution for this.
>>>>>>
>>>>>> Thanks
>>>>>> Rasa.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
>
http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp2
> 5530996p25530996.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
>>>>
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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/My-application-is-not-getting-compiled-using-Maven-tp2
> 5530996p25799285.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
>
>
>
--
View this message in context:
http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp2
5530996p25815182.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: My application is not getting compiled using Maven
Posted by rasahere <ra...@gmail.com>.
But mvn is for maven 2.0 rt ? i am using maven 1.0 only.
Damon Silver wrote:
>
> 'mvn dependency:tree'
>
> -----Original Message-----
> From: rasahere [mailto:rasa.still.here@gmail.com]
> Sent: Wednesday, October 07, 2009 11:57 PM
> To: users@maven.apache.org
> Subject: Re: My application is not getting compiled using Maven
>
>
> unmappable character for encoding UTF8 is the warning which i am getting.
> I have removed old version jar files and added new version then it is
> giving
>
> following error
>
> The build cannot continue because of the following unsatisfied
> dependencies:
>
> commons-jelly-20030902.160215.jar
> velocity-1.4-dev.jar
>
> Total time: 5 seconds
>
> this jar files are not refereced from my application. I think it is from
> maven 1.0 project only. In maven lib commons-jelly-20030902.160215.jar is
> there , but not the second one.
>
> Any idea where it looks for the jar ????
>
> Lukas Theussl-4 wrote:
>>
>>
>>
>> rasahere wrote:
>>> what value i should give here????
>>
>> Whatever your source files are encoded in.
>>
>>> is it like maven.compile.encoding=UTF8
>>
>> I guess it's something else as the error suggests.
>>
>> -Lukas
>>
>>
>>>
>>>
>>> Lukas Theussl-4 wrote:
>>>>
>>>> Setting the maven.compile.encoding property should be more useful for
>>>> your
>>>> case
>>>> than maven.compile.source.
>>>>
>>>> HTH,
>>>> -Lukas
>>>>
>>>>
>>>> Thomas Sundberg wrote:
>>>>> Hi!
>>>>>
>>>>> What happens if you remove the unmappable character?
>>>>> Have you been able to compile before or is this a new setup?
>>>>> Can you restart with the simplest Hello World and get that to compile?
>>>>> What happens if you use Maven 2?
>>>>>
>>>>> /Thomas
>>>>>
>>>>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>>>>> wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build
>>>>>> my
>>>>>> application jar i am getting some strange errors.
>>>>>>
>>>>>> warning: unmappable character for encoding UTF8
>>>>>> [javac] /**
>>>>>> [javac] ^
>>>>>> this is just a warning but still the build is failed.
>>>>>> I have added
>>>>>> maven.compile.source=1.5
>>>>>> maven.compile.target=1.5
>>>>>> in my project properties.
>>>>>>
>>>>>> Can any one give a solution for this.
>>>>>>
>>>>>> Thanks
>>>>>> Rasa.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>>
> http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp2
> 5530996p25530996.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
>>>>
>>>>
>>>>
>>>
>>
>> ---------------------------------------------------------------------
>> 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/My-application-is-not-getting-compiled-using-Maven-tp2
> 5530996p25799285.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
>
>
>
--
View this message in context: http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp25530996p25815182.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: My application is not getting compiled using Maven
Posted by Damon Silver <da...@diio.net>.
'mvn dependency:tree'
-----Original Message-----
From: rasahere [mailto:rasa.still.here@gmail.com]
Sent: Wednesday, October 07, 2009 11:57 PM
To: users@maven.apache.org
Subject: Re: My application is not getting compiled using Maven
unmappable character for encoding UTF8 is the warning which i am getting.
I have removed old version jar files and added new version then it is giving
following error
The build cannot continue because of the following unsatisfied dependencies:
commons-jelly-20030902.160215.jar
velocity-1.4-dev.jar
Total time: 5 seconds
this jar files are not refereced from my application. I think it is from
maven 1.0 project only. In maven lib commons-jelly-20030902.160215.jar is
there , but not the second one.
Any idea where it looks for the jar ????
Lukas Theussl-4 wrote:
>
>
>
> rasahere wrote:
>> what value i should give here????
>
> Whatever your source files are encoded in.
>
>> is it like maven.compile.encoding=UTF8
>
> I guess it's something else as the error suggests.
>
> -Lukas
>
>
>>
>>
>> Lukas Theussl-4 wrote:
>>>
>>> Setting the maven.compile.encoding property should be more useful for
>>> your
>>> case
>>> than maven.compile.source.
>>>
>>> HTH,
>>> -Lukas
>>>
>>>
>>> Thomas Sundberg wrote:
>>>> Hi!
>>>>
>>>> What happens if you remove the unmappable character?
>>>> Have you been able to compile before or is this a new setup?
>>>> Can you restart with the simplest Hello World and get that to compile?
>>>> What happens if you use Maven 2?
>>>>
>>>> /Thomas
>>>>
>>>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build
>>>>> my
>>>>> application jar i am getting some strange errors.
>>>>>
>>>>> warning: unmappable character for encoding UTF8
>>>>> [javac] /**
>>>>> [javac] ^
>>>>> this is just a warning but still the build is failed.
>>>>> I have added
>>>>> maven.compile.source=1.5
>>>>> maven.compile.target=1.5
>>>>> in my project properties.
>>>>>
>>>>> Can any one give a solution for this.
>>>>>
>>>>> Thanks
>>>>> Rasa.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>>
http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp2
5530996p25530996.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
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> 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/My-application-is-not-getting-compiled-using-Maven-tp2
5530996p25799285.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: My application is not getting compiled using Maven
Posted by rasahere <ra...@gmail.com>.
unmappable character for encoding UTF8 is the warning which i am getting.
I have removed old version jar files and added new version then it is giving
following error
The build cannot continue because of the following unsatisfied dependencies:
commons-jelly-20030902.160215.jar
velocity-1.4-dev.jar
Total time: 5 seconds
this jar files are not refereced from my application. I think it is from
maven 1.0 project only. In maven lib commons-jelly-20030902.160215.jar is
there , but not the second one.
Any idea where it looks for the jar ????
Lukas Theussl-4 wrote:
>
>
>
> rasahere wrote:
>> what value i should give here????
>
> Whatever your source files are encoded in.
>
>> is it like maven.compile.encoding=UTF8
>
> I guess it's something else as the error suggests.
>
> -Lukas
>
>
>>
>>
>> Lukas Theussl-4 wrote:
>>>
>>> Setting the maven.compile.encoding property should be more useful for
>>> your
>>> case
>>> than maven.compile.source.
>>>
>>> HTH,
>>> -Lukas
>>>
>>>
>>> Thomas Sundberg wrote:
>>>> Hi!
>>>>
>>>> What happens if you remove the unmappable character?
>>>> Have you been able to compile before or is this a new setup?
>>>> Can you restart with the simplest Hello World and get that to compile?
>>>> What happens if you use Maven 2?
>>>>
>>>> /Thomas
>>>>
>>>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>>>> wrote:
>>>>> Hi,
>>>>>
>>>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build
>>>>> my
>>>>> application jar i am getting some strange errors.
>>>>>
>>>>> warning: unmappable character for encoding UTF8
>>>>> [javac] /**
>>>>> [javac] ^
>>>>> this is just a warning but still the build is failed.
>>>>> I have added
>>>>> maven.compile.source=1.5
>>>>> maven.compile.target=1.5
>>>>> in my project properties.
>>>>>
>>>>> Can any one give a solution for this.
>>>>>
>>>>> Thanks
>>>>> Rasa.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp25530996p25530996.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
>>>
>>>
>>>
>>
>
> ---------------------------------------------------------------------
> 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/My-application-is-not-getting-compiled-using-Maven-tp25530996p25799285.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: My application is not getting compiled using Maven
Posted by Lukas Theussl <lt...@apache.org>.
rasahere wrote:
> what value i should give here????
Whatever your source files are encoded in.
> is it like maven.compile.encoding=UTF8
I guess it's something else as the error suggests.
-Lukas
>
>
> Lukas Theussl-4 wrote:
>>
>> Setting the maven.compile.encoding property should be more useful for your
>> case
>> than maven.compile.source.
>>
>> HTH,
>> -Lukas
>>
>>
>> Thomas Sundberg wrote:
>>> Hi!
>>>
>>> What happens if you remove the unmappable character?
>>> Have you been able to compile before or is this a new setup?
>>> Can you restart with the simplest Hello World and get that to compile?
>>> What happens if you use Maven 2?
>>>
>>> /Thomas
>>>
>>> On Wed, Sep 23, 2009 at 08:29, rasahere <ra...@gmail.com>
>>> wrote:
>>>> Hi,
>>>>
>>>> I am using Maven 1.0 and my jdk is 1.5. Now when i am trying to build my
>>>> application jar i am getting some strange errors.
>>>>
>>>> warning: unmappable character for encoding UTF8
>>>> [javac] /**
>>>> [javac] ^
>>>> this is just a warning but still the build is failed.
>>>> I have added
>>>> maven.compile.source=1.5
>>>> maven.compile.target=1.5
>>>> in my project properties.
>>>>
>>>> Can any one give a solution for this.
>>>>
>>>> Thanks
>>>> Rasa.
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/My-application-is-not-getting-compiled-using-Maven-tp25530996p25530996.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
>>
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org