You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Isaac <is...@gmail.com> on 2009/10/22 11:56:04 UTC

Compilation failure on Windows while SUCCESSFUL on Linux

I get *the same warning* on both platform.
BASE64Coding.java:[58,23] sun.misc.BASE64Decoder is Sun proprietary API and
may be removed in a future release

class file is generated on both plaform too.

however, on windows the maven shows a
[INFO] ------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------
[INFO] Compilation failure

Is there anyone know about this?

env:
windows pro sp3, java6 u16 maven 2.0.19

SuSE Linux Enterprise Server 10 64Bit, java 1.6.0, maven 2.0.19

RE: Compilation failure on Windows while SUCCESSFUL on Linux

Posted by Martin Gainty <mg...@hotmail.com>.
any reason why the first package is korean? 

Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Fri, 23 Oct 2009 10:07:13 +0800
> Subject: Re: Compilation failure on Windows while SUCCESSFUL on Linux
> From: isaac.198@gmail.com
> To: users@maven.apache.org
> 
> This is my execution log.
> 
> *ON WINDOWS*
> mvn clean compile
> [INFO] Scanning for projects...
> [INFO] snapshot company-central.parent:central:1.0.0-SNAPSHOT: checking for
> updates from company
> [INFO] snapshot parent:company:1.0.0-SNAPSHOT: checking for updates from
> company
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Unnamed - company-central:jutil:jar:1.0.2-SNAPSHOT
> [INFO]    task-segment: [clean, compile]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory D:\Codes\svn2009\jutil\build
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 152 source files to D:\Codes\svn2009\jutil\build
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[14,21]
> 警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 AP
> I,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[5,15]
> 警告:sun.misc.BASE64Decoder 是 Sun 的专用 API,
> 可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[6,15]
> 警告:sun.misc.BASE64Encoder 是 Sun 的专用 API,
> 可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[129,12]
> 警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
> PI,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[129,39]
> 警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
> PI,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[373,4]
> 警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 AP
> I,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[373,34]
> 警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
> PI,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[26,19]
> 警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
> ,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[36,19]
> 警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
> ,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[46,19]
> 警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
> ,可能会在未来版本中删除
> 
> D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[58,23]
> 警告:sun.misc.BASE64Decoder 是 Sun 的专用 API
> ,可能会在未来版本中删除
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 15 seconds
> [INFO] Finished at: Fri Oct 23 09:55:11 CST 2009
> [INFO] Final Memory: 9M/24M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> *ON LINUX*
> 
> mvn clean package
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Unnamed - company-central:jutil:jar:1.0.2-SNAPSHOT
> [INFO]    task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory
> /data/3g_dist_v3/trunk_project/company-central/jutil/build
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 151 source files to
> /data/3g_dist_v3/trunk_project/company-central/jutil/build
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[14,21]
> com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
> a future release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[5,15]
> sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
> release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[6,15]
> sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
> release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[129,12]
> com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
> a future release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[129,39]
> com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
> a future release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[373,4]
> com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
> a future release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[373,34]
> com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
> a future release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[26,19]
> sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
> release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[36,19]
> sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
> release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[46,19]
> sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
> release
> 
> [WARNING]
> /data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[58,23]
> sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
> release
> 
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [jar:jar]
> [INFO] Building jar:
> /data/3g_dist_v3/trunk_project/company-central/jutil/dist/jutil-1.0.2-SNAPSHOT.jar
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9 seconds
> [INFO] Finished at: Fri Oct 23 09:52:54 CST 2009
> [INFO] Final Memory: 21M/413M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> On Thu, Oct 22, 2009 at 8:05 PM, Brian Fox <br...@infinity.nu> wrote:
> 
> > What's the compilation failure?
> >
> > On Thu, Oct 22, 2009 at 5:56 AM, Isaac <is...@gmail.com> wrote:
> > > I get *the same warning* on both platform.
> > > BASE64Coding.java:[58,23] sun.misc.BASE64Decoder is Sun proprietary API
> > and
> > > may be removed in a future release
> > >
> > > class file is generated on both plaform too.
> > >
> > > however, on windows the maven shows a
> > > [INFO] ------------------------
> > > [ERROR] BUILD FAILURE
> > > [INFO] ------------------------
> > > [INFO] Compilation failure
> > >
> > > Is there anyone know about this?
> > >
> > > env:
> > > windows pro sp3, java6 u16 maven 2.0.19
> > >
> > > SuSE Linux Enterprise Server 10 64Bit, java 1.6.0, maven 2.0.19
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
 		 	   		  
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009

Re: Compilation failure on Windows while SUCCESSFUL on Linux

Posted by Isaac <is...@gmail.com>.
This is my execution log.

*ON WINDOWS*
mvn clean compile
[INFO] Scanning for projects...
[INFO] snapshot company-central.parent:central:1.0.0-SNAPSHOT: checking for
updates from company
[INFO] snapshot parent:company:1.0.0-SNAPSHOT: checking for updates from
company
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - company-central:jutil:jar:1.0.2-SNAPSHOT
[INFO]    task-segment: [clean, compile]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory D:\Codes\svn2009\jutil\build
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 152 source files to D:\Codes\svn2009\jutil\build
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[14,21]
警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 AP
I,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[5,15]
警告:sun.misc.BASE64Decoder 是 Sun 的专用 API,
可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[6,15]
警告:sun.misc.BASE64Encoder 是 Sun 的专用 API,
可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[129,12]
警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
PI,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[129,39]
警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
PI,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[373,4]
警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 AP
I,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\sql\DBEngine.java:[373,34]
警告:com.sun.rowset.CachedRowSetImpl 是 Sun 的专用 A
PI,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[26,19]
警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[36,19]
警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[46,19]
警告:sun.misc.BASE64Encoder 是 Sun 的专用 API
,可能会在未来版本中删除

D:\Codes\svn2009\jutil\src\com\company\jutil\crypto\BASE64Coding.java:[58,23]
警告:sun.misc.BASE64Decoder 是 Sun 的专用 API
,可能会在未来版本中删除


[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Fri Oct 23 09:55:11 CST 2009
[INFO] Final Memory: 9M/24M
[INFO]
------------------------------------------------------------------------


*ON LINUX*

mvn clean package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - company-central:jutil:jar:1.0.2-SNAPSHOT
[INFO]    task-segment: [clean, package]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory
/data/3g_dist_v3/trunk_project/company-central/jutil/build
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 151 source files to
/data/3g_dist_v3/trunk_project/company-central/jutil/build
[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[14,21]
com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
a future release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[5,15]
sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[6,15]
sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[129,12]
com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
a future release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[129,39]
com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
a future release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[373,4]
com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
a future release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/sql/DBEngine.java:[373,34]
com.sun.rowset.CachedRowSetImpl is Sun proprietary API and may be removed in
a future release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[26,19]
sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[36,19]
sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[46,19]
sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future
release

[WARNING]
/data/3g_dist_v3/trunk_project/company-central/jutil/src/com/company/jutil/crypto/BASE64Coding.java:[58,23]
sun.misc.BASE64Decoder is Sun proprietary API and may be removed in a future
release

[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [jar:jar]
[INFO] Building jar:
/data/3g_dist_v3/trunk_project/company-central/jutil/dist/jutil-1.0.2-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Fri Oct 23 09:52:54 CST 2009
[INFO] Final Memory: 21M/413M
[INFO]
------------------------------------------------------------------------


On Thu, Oct 22, 2009 at 8:05 PM, Brian Fox <br...@infinity.nu> wrote:

> What's the compilation failure?
>
> On Thu, Oct 22, 2009 at 5:56 AM, Isaac <is...@gmail.com> wrote:
> > I get *the same warning* on both platform.
> > BASE64Coding.java:[58,23] sun.misc.BASE64Decoder is Sun proprietary API
> and
> > may be removed in a future release
> >
> > class file is generated on both plaform too.
> >
> > however, on windows the maven shows a
> > [INFO] ------------------------
> > [ERROR] BUILD FAILURE
> > [INFO] ------------------------
> > [INFO] Compilation failure
> >
> > Is there anyone know about this?
> >
> > env:
> > windows pro sp3, java6 u16 maven 2.0.19
> >
> > SuSE Linux Enterprise Server 10 64Bit, java 1.6.0, maven 2.0.19
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: Compilation failure on Windows while SUCCESSFUL on Linux

Posted by Brian Fox <br...@infinity.nu>.
What's the compilation failure?

On Thu, Oct 22, 2009 at 5:56 AM, Isaac <is...@gmail.com> wrote:
> I get *the same warning* on both platform.
> BASE64Coding.java:[58,23] sun.misc.BASE64Decoder is Sun proprietary API and
> may be removed in a future release
>
> class file is generated on both plaform too.
>
> however, on windows the maven shows a
> [INFO] ------------------------
> [ERROR] BUILD FAILURE
> [INFO] ------------------------
> [INFO] Compilation failure
>
> Is there anyone know about this?
>
> env:
> windows pro sp3, java6 u16 maven 2.0.19
>
> SuSE Linux Enterprise Server 10 64Bit, java 1.6.0, maven 2.0.19
>

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