I am trying to get a .zip to be able to run my RCP app. I read online that mvn clean install or mvn clean verify were the commands to create the .zip folder that contains a runnable file for the RCP app creation. So after building all projects successfully i attempted to run mvn clean install or mvn clean verify in the folder containing the parent pom (i also tried in the folders of individual projects). But i always get a failure due to lombok. Lombok was one of the first dependencies I resolved so I don't know why suddenly with a mvn clean verify it cannot be resolved when it has been resolved for mvn install all along. Is this the right way to achieve what I want ie getting a .zip with a .exe file to run my RCP app.
mvn install
[INFO] Reactor Summary:
[INFO]
[INFO] com.company.maven.parent ........................... SUCCESS [ 2.810 s]
[INFO] com.company.bbcode.parser .......................... SUCCESS [ 3.751 s]
[INFO] com.company.toolkit ........................................ SUCCESS [ 3.590 s]
[INFO] com.company.eclipse.toolkit ............................ SUCCESS [ 2.862 s]
[INFO] com.company.export.folder ............................. SUCCESS [ 2.580 s]
[INFO] com.company.export.iar .................................. SUCCESS [ 2.566 s]
[INFO] com.company.component.model.git ................ SUCCESS [ 2.680 s]
[INFO] com.company.model ....................................... SUCCESS [ 2.731 s]
[INFO] com.company.gui.selector .............................. SUCCESS [ 2.806 s]
[INFO] com.company.parser ...................................... SUCCESS [ 2.920 s]
[INFO] com.company.connector ................................ SUCCESS [ 2.630 s]
[INFO] com.company.plugin ....................................... SUCCESS [ 5.347 s]
[INFO] com.company.rcp.product .............................. SUCCESS [ 6.369 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:17 min
[INFO] Finished at: 2017-04-07T15:30:07-04:00
[INFO] Final Memory: 125M/952M
[INFO] ------------------------------------------------------------------------
mvn clean verify OR mvn clean install
Reactor
Summary:
[INFO]
[INFO]
com.company.maven.parent ........................... SUCCESS [ 2.778 s]
[INFO]
com.company.bbcode.parser .......................... FAILURE [ 1.705 s]
[INFO]
com.company.toolkit ................................ FAILURE [ 1.445 s]
[INFO]
com.company.eclipse.toolkit ........................ FAILURE [ 0.859 s]
[INFO]
com.company.export.folder .......................... FAILURE [ 0.298 s]
[INFO]
com.company.export.iar ............................. FAILURE [ 0.326 s]
[INFO]
com.company.component.model.git .................... FAILURE [ 0.833 s]
[INFO]
com.company.model .................................. FAILURE [ 1.648 s]
[INFO]
com.company.gui.selector ........................... FAILURE [ 1.053 s]
[INFO]
com.company.parser ................................. FAILURE [ 0.554 s]
[INFO]
com.company.connector .............................. FAILURE [ 0.446 s]
[INFO]
com.company.plugin ................................. SUCCESS [ 4.702 s]
[INFO]
com.company.rcp.product ............................ FAILURE [ 0.746 s]
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]
Total time: 46.357 s
[INFO]
Finished at: 2017-04-07T16:03:02-04:00
[INFO]
Final Memory: 129M/1071M
[INFO]
------------------------------------------------------------------------
[ERROR]
Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile
(default-compile) on project com.company.bbcode.parser: Compilation failure:
Compilation failure:
[ERROR]
C:\Users\klseck\dev\projects\bbcode-lite-parser\src\main\java\com\company\bbcode\parser\model\HyperTypeMutable.java:[3]
[ERROR]
import lombok.Data;
[ERROR]
^^^^^^
[ERROR]
The import lombok cannot be resolved
[ERROR]
C:\Users\klseck\dev\projects\bbcode-lite-parser\src\main\java\com\company \bbcode\parser\model\HyperTypeMutable.java:[5]
[ERROR]
@Data public class HyperTypeMutable implements StyleType
[ERROR]
^^^^
[ERROR]
Data cannot be resolved to a type
[ERROR]
C:\Users\klseck\dev\projects\bbcode-lite-parser\src\main\java\com\company \bbcode\parser\model\HyperTypeMutable.java:[16]
[ERROR]
{ return new HyperType(hyperlinkDestination); }
[ERROR]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--
Best regards,
Khady L. Seck
Full Stack Java Developer