basex-api project
Friday, 16 September 2011 · 4 messages
LL
Lukas Lewandowski16 Sep 2011 12:16 #
Hey,
I checked out the latest sources from github (basex and basex-api).
In eclipse basex works fine, but eclipse shows errors when building basex-api. The maven container isn't initialized correctly.
some error from the output:
16.09.11 12:07:15 MESZ: Maven Builder: FULL_BUILD requireFullBuild 16.09.11 12:07:15 MESZ: [WARN]
16.09.11 12:07:15 MESZ: [WARN] Some problems were encountered while building the effective model for org.basex:basex-api:jar:6.8-SNAPSHOT 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 106, column 15 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 118, column 15 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 114, column 15 16.09.11 12:07:15 MESZ: [WARN]
16.09.11 12:07:15 MESZ: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build. 16.09.11 12:07:15 MESZ: [WARN]
16.09.11 12:07:15 MESZ: [WARN] For this reason, future Maven versions might no longer support building such malformed projects.
I tried it on my mac (lion, maven 3.0) and on ubuntu.
Any ideas?
thanks in advance!
Lukas
MS
Michael Seiferle16 Sep 2011 12:20 #
Hey Lukas,
thanks for reporting, I'll have a look at it this afternoon.
Thanks
Michael
Quoted text · Lukas Lewandowski · 31 lines
Am 16.09.2011 um 12:16 schrieb Lukas Lewandowski: > Hey, > > I checked out the latest sources from github (basex and basex-api). > > In eclipse basex works fine, but eclipse shows errors when building basex-api. The maven container isn't initialized correctly. > > some error from the output: > > 16.09.11 12:07:15 MESZ: Maven Builder: FULL_BUILD requireFullBuild > 16.09.11 12:07:15 MESZ: [WARN] > 16.09.11 12:07:15 MESZ: [WARN] Some problems were encountered while building the effective model for org.basex:basex-api:jar:6.8-SNAPSHOT > 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 106, column 15 > 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 118, column 15 > 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 114, column 15 > 16.09.11 12:07:15 MESZ: [WARN] > 16.09.11 12:07:15 MESZ: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build. > 16.09.11 12:07:15 MESZ: [WARN] > 16.09.11 12:07:15 MESZ: [WARN] For this reason, future Maven versions might no longer support building such malformed projects. > > I tried it on my mac (lion, maven 3.0) and on ubuntu. > > Any ideas? > > thanks in advance! > > Lukas > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
MS
Michael Seiferle16 Sep 2011 15:55 #
Hi Lukas,
me again, regarding the [WARN] this has been fixed with the latest pull request [1].
Do you have any [ERROR] output in your build? Maybe the basex-6.8 snapshot is missing, it is not yet uploaded to our repo at files.basex.org. You can quickly install it locally if you run:
$ cd basex && mvn -DskipTests=true install
Regarding you eclipse issue, on my machine the following helped:
* Right click on the project
* Maven
* Update Project configuration
Hope this helps,
Michael
Quoted text · Michael Seiferle · 44 lines
Am 16.09.2011 um 12:20 schrieb Michael Seiferle: > Hey Lukas, > > thanks for reporting, I'll have a look at it this afternoon. > > Thanks > Michael > Am 16.09.2011 um 12:16 schrieb Lukas Lewandowski: > >> Hey, >> >> I checked out the latest sources from github (basex and basex-api). >> >> In eclipse basex works fine, but eclipse shows errors when building basex-api. The maven container isn't initialized correctly. >> >> some error from the output: >> >> 16.09.11 12:07:15 MESZ: Maven Builder: FULL_BUILD requireFullBuild >> 16.09.11 12:07:15 MESZ: [WARN] >> 16.09.11 12:07:15 MESZ: [WARN] Some problems were encountered while building the effective model for org.basex:basex-api:jar:6.8-SNAPSHOT >> 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 106, column 15 >> 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 118, column 15 >> 16.09.11 12:07:15 MESZ: [WARN] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 114, column 15 >> 16.09.11 12:07:15 MESZ: [WARN] >> 16.09.11 12:07:15 MESZ: [WARN] It is highly recommended to fix these problems because they threaten the stability of your build. >> 16.09.11 12:07:15 MESZ: [WARN] >> 16.09.11 12:07:15 MESZ: [WARN] For this reason, future Maven versions might no longer support building such malformed projects. >> >> I tried it on my mac (lion, maven 3.0) and on ubuntu. >> >> Any ideas? >> >> thanks in advance! >> >> Lukas >> _______________________________________________ >> BaseX-Talk mailing list >> BaseX-Talk at mailman.uni-konstanz.de >> https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
MS
Michael Seiferle16 Sep 2011 18:03 #
Sorry Lukas,
I misread a 7 for a 1, it should indeed be Version 2.1.2 of the maven-source-plugin, I just fixed the fix, s/o will merge it soon I guess :)
Quoted text · Michael Seiferle · 2 lines
Am 16.09.2011 um 16:15 schrieb Lukas Lewandowski: > Could not calculate build plan: Failure to find org.apache.maven.plugins:maven-source-plugin:pom:2.7.2 inhttp://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
Written for BaseX 6.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery