Sergey Kozlov created IGNITE-5120:
-------------------------------------

             Summary: Broken compilation for LGPL fabric edition
                 Key: IGNITE-5120
                 URL: https://issues.apache.org/jira/browse/IGNITE-5120
             Project: Ignite
          Issue Type: Bug
          Components: build
    Affects Versions: 2.0
            Reporter: Sergey Kozlov
            Priority: Blocker
             Fix For: 2.0


The fabric edition can't be complied with lgpl profile:
{noformat}
mvn clean package  -Prelease,lgpl -Dignite.edition=fabric-lgpl -DskipTests
...
Downloaded: 
https://repo.maven.apache.org/maven2/org/hibernate/hibernate-core/4.2.21.Final/hibernate-core-4.2.21.Final.jar
 (4592 KB at 3578.8 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ignite-apache-license-gen .......................... SUCCESS [ 35.812 s]
[INFO] ignite-tools ....................................... SUCCESS [ 51.923 s]
[INFO] ignite-core ........................................ SUCCESS [02:30 min]
[INFO] ignite-log4j ....................................... SUCCESS [  3.119 s]
[INFO] ignite-indexing .................................... SUCCESS [ 12.571 s]
[INFO] ignite-urideploy ................................... SUCCESS [  4.896 s]
[INFO] ignite-spring ...................................... SUCCESS [  4.876 s]
[INFO] ignite-hadoop ...................................... SUCCESS [ 43.381 s]
[INFO] ignite-extdata-p2p ................................. SUCCESS [  4.034 s]
[INFO] ignite-extdata-uri-dep ............................. SUCCESS [  1.825 s]
[INFO] ignite-extdata-uri ................................. SUCCESS [  1.353 s]
[INFO] ignite-rest-http ................................... SUCCESS [  5.660 s]
[INFO] ignite-clients ..................................... SUCCESS [  3.208 s]
[INFO] ignite-spring-data ................................. SUCCESS [  4.394 s]
[INFO] ignite-web ......................................... SUCCESS [  3.048 s]
[INFO] ignite-aop ......................................... SUCCESS [  4.712 s]
[INFO] ignite-ssh ......................................... SUCCESS [  2.761 s]
[INFO] ignite-jta ......................................... SUCCESS [ 13.427 s]
[INFO] ignite-aws ......................................... SUCCESS [  8.144 s]
[INFO] ignite-log4j2 ...................................... SUCCESS [  4.777 s]
[INFO] ignite-slf4j ....................................... SUCCESS [  2.809 s]
[INFO] ignite-jcl ......................................... SUCCESS [  2.857 s]
[INFO] ignite-codegen ..................................... SUCCESS [  2.166 s]
[INFO] ignite-gce ......................................... SUCCESS [  7.182 s]
[INFO] ignite-cloud ....................................... SUCCESS [ 33.800 s]
[INFO] ignite-mesos ....................................... SUCCESS [  6.682 s]
[INFO] ignite-kafka ....................................... SUCCESS [ 22.972 s]
[INFO] ignite-flume ....................................... SUCCESS [  7.512 s]
[INFO] ignite-yarn ........................................ SUCCESS [ 16.315 s]
[INFO] ignite-jms11 ....................................... SUCCESS [  5.567 s]
[INFO] ignite-twitter ..................................... SUCCESS [  7.928 s]
[INFO] ignite-mqtt ........................................ SUCCESS [01:05 min]
[INFO] ignite-zookeeper ................................... SUCCESS [  4.415 s]
[INFO] ignite-camel ....................................... SUCCESS [  7.775 s]
[INFO] ignite-storm ....................................... SUCCESS [ 11.099 s]
[INFO] ignite-osgi-paxlogging ............................. SUCCESS [  0.284 s]
[INFO] ignite-osgi-karaf .................................. SUCCESS [  0.677 s]
[INFO] ignite-osgi ........................................ SUCCESS [ 25.125 s]
[INFO] ignite-appserver-test .............................. SUCCESS [  0.199 s]
[INFO] ignite-websphere-test .............................. SUCCESS [  5.006 s]
[INFO] ignite-cassandra ................................... SUCCESS [  0.088 s]
[INFO] ignite-cassandra-store ............................. SUCCESS [ 36.538 s]
[INFO] ignite-cassandra-serializers ....................... SUCCESS [  3.664 s]
[INFO] ignite-flink ....................................... SUCCESS [ 22.355 s]
[INFO] ignite-kubernetes .................................. SUCCESS [  2.073 s]
[INFO] ignite-zeromq ...................................... SUCCESS [  2.446 s]
[INFO] ignite-rocketmq .................................... SUCCESS [  6.950 s]
[INFO] ignite-hibernate_4.2 ............................... FAILURE [  2.575 s]
[INFO] ignite-hibernate_5.1 ............................... SKIPPED
[INFO] ignite-hibernate-core .............................. SKIPPED
[INFO] ignite-geospatial .................................. SKIPPED
[INFO] ignite-schedule .................................... SKIPPED
[INFO] ignite-scalar ...................................... SKIPPED
[INFO] ignite-spark ....................................... SKIPPED
[INFO] ignite-visor-console ............................... SKIPPED
[INFO] ignite-visor-plugins ............................... SKIPPED
[INFO] apache-ignite ...................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:41 min
[INFO] Finished at: 2017-04-29T16:38:55+03:00
[INFO] Final Memory: 272M/1094M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project ignite-hibernate_4.2: Could not 
resolve dependencies for project org.apache.ignite:ignite-hibernate_4.2:jar:
2.0.0: Could not find artifact 
org.apache.ignite:ignite-hibernate-core:jar:2.0.0 in central 
(https://repo.maven.apache.org/maven2) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :ignite-hibernate_4.2
{noformat}

Looks like the the reason of failure is worng orger of hibernate modules 
compilation:
[INFO] ignite-hibernate_4.2 ............................... FAILURE [  2.575 s]
[INFO] ignite-hibernate_5.1 ............................... SKIPPED
[INFO] ignite-hibernate-core .............................. SKIPPED

But ignite-core must be compiled first.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to