Topics

problem: support Spark when compile java files

timehuang88@...
 

Hi guys:
when i run cmd: $ mvn clean package -DskipITs -Ddaos.install.path=<daos_install>

 

the debug log show the info below and compile process can not go on, finally no  daos-java-<version>-assemble.tgz generated


[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project io.daos:hadoop-daos:jar:1.1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project io.daos:distribution:pom:1.1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[ERROR] The build could not read 1 project -> [Help 1]
 

Zhang, Jiafu
 

Hi,

 

Do you have more error message? I cannot infer what cause is from your debug message. Just to make sure replace <daos_install> with your real path. If daos is installed to /usr/local/daos, your mvn command should be,

 

mvn clean package -DskipITs -Ddaos.install.path=/usr/local/daos

 

Thanks.

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of timehuang88@...
Sent: Monday, May 25, 2020 8:23 PM
To: daos@daos.groups.io
Subject: [daos] problem: support Spark when compile java files

 

Hi guys:
when i run cmd: $ mvn clean package -DskipITs -Ddaos.install.path=<daos_install>

 

the debug log show the info below and compile process can not go on, finally no  daos-java-<version>-assemble.tgz generated

 

[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]

[DEBUG] Extension realms for project io.daos:hadoop-daos:jar:1.1.0-SNAPSHOT: (none)

[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]

[DEBUG] Extension realms for project io.daos:distribution:pom:1.1.0-SNAPSHOT: (none)

[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]

[ERROR] The build could not read 1 project -> [Help 1]

 

timehuang88@...
 

Hi Jiafu,
thx for your reply. 
since I build and install daos with the cmd below:
 scons --config=force --build-deps=yes install  PREFIX=/usr
so am i right to build java files like this cmd below:
$ mvn clean package -DskipITs -Ddaos.install.path=/usr

Zhang, Jiafu
 

Yes. It’s correct.

 

From: daos@daos.groups.io <daos@daos.groups.io> On Behalf Of timehuang88@...
Sent: Tuesday, May 26, 2020 3:53 PM
To: daos@daos.groups.io
Subject: Re: [daos] problem: support Spark when compile java files

 

Hi Jiafu,
thx for your reply. 
since I build and install daos with the cmd below:

 scons --config=force --build-deps=yes install  PREFIX=/usr

so am i right to build java files like this cmd below:

$ mvn clean package -DskipITs -Ddaos.install.path=/usr