File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -825,38 +825,38 @@ public String describe( String id )
825825 }
826826 if ( !StringUtils .isEmpty ( getReleaseVersion () ) )
827827 {
828- params .add ( "release " + getReleaseVersion () );
828+ params .add ( "-- release " + getReleaseVersion () );
829829 }
830830 else if ( !StringUtils .isEmpty ( getTargetVersion () ) )
831831 {
832- params .add ( "target " + getTargetVersion () );
832+ params .add ( "- target " + getTargetVersion () );
833833 }
834834 if ( getModulepathEntries () != null && !getModulepathEntries ().isEmpty () )
835835 {
836- params .add ( "module-path" );
836+ params .add ( "-- module-path ... " );
837837 }
838838 if ( isDebug () )
839839 {
840840 if ( StringUtils .isNotEmpty ( getDebugLevel () ) )
841841 {
842- params .add ( "debug :" + getDebugLevel () );
842+ params .add ( "-g :" + getDebugLevel () );
843843 }
844844 else
845845 {
846- params .add ( "debug " );
846+ params .add ( "-g " );
847847 }
848848 }
849849 if ( isOptimize () )
850850 {
851- params .add ( "optimize " );
851+ params .add ( "-O " );
852852 }
853853 if ( isVerbose () )
854854 {
855- params .add ( "verbose" );
855+ params .add ( "- verbose" );
856856 }
857857 if ( isShowDeprecation () )
858858 {
859- params .add ( "deprecation" );
859+ params .add ( "- deprecation" );
860860 }
861861 return String .join ( " " , params );
862862 }
You can’t perform that action at this time.
0 commit comments