maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Jacob Costa <jacob.co...@gmail.com>
Subject Re: Error Using Java default package
Date Wed, 21 Oct 2009 09:59:49 GMT
Finished.

Just created a profile in Maven's *$home/.m2/settings.xml* file with my
property and used in the *pom.xml* and it was it.

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 Wed, Oct 21, 2009 at 11:08, Antonio Jacob Costa <jacob.costa@gmail.com>wrote:

> Hi again,
>
> Did it using a new executable in the maven-compiler-plugin. Now just have
> to find out how to make the path to this executable independent of the home
> as we are different people contributing to this project.
>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <configuration>
>           <source>1.3</source>
>           <target>1.3</target>
>           <fork>true</fork>
>           <compilerVersion>1.3</compilerVersion>
>           <executable>D:\Apps\Java\jdk131_08\bin\javac.exe</executable>
>         </configuration>
>       </plugin>
>
> 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 Wed, Oct 21, 2009 at 10:09, Antonio Jacob Costa <jacob.costa@gmail.com>wrote:
>
>> Hi everyone,
>>
>> I'm having trouble using the Java default package. In my Java class I'm
>> including a library from a 3rd party application that includes classes in
>> the default package. I have to import one of them and when I compile it with
>> Maven I get the following error.
>>
>> [ERROR] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Compilation failure
>>>
>>> D:\...\maximo-52\src\main\java\com\actuate\ActuateReport.java:[17,21] '.'
>>> expected
>>>
>>> D:\...\maximo-52\src\main\java\com\actuate\ActuateReport.java:[17,22] ';'
>>> expected
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Trace
>>> org.apache.maven.BuildFailureException: Compilation failure
>>>
>>
>> I'm solving this problem compiling this class using Eclipse but it would
>> be much better if I could just do everything with Maven. Does anyone know
>> how to solve this problem?
>>
>> I'm using Maven 2.2.1 but it also failed with version 2.2.0 and 2.1.0.
>>
>> Thanks in advance.
>>
>> 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
>> --
>>
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message