Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [recommenders-dev] [snipedior] Maven build

Hello Andreas,
Here is the full error stack i got when running mvn clean install -P e43
[INFO] There are 77 checkstyle errors.
[ERROR] DefinitionSite.java[1:null] Found non-Unix line delimiter(s)
[ERROR] MethodDeclaration.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ObjectInstanceKey.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ObjectUsage.java[1:null] Found non-Unix line delimiter(s)
[ERROR] TypeDeclaration.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Variable.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Nonnull.java[1:null] Found non-Unix line delimiter(s)
[ERROR] NonNullByDefault.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Nullable.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Provisional.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ReportUsage.java[1:null] Found non-Unix line delimiter(s)
[ERROR] RequiresBackgroundThread.java[1:null] Found non-Unix line delimiter(s)
[ERROR] RequiresUIThread.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Testing.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ArchiveDetailsExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ArchiveMetaData.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ClassId.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ClassIdExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] FilenameJarIdExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] JarIdExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] MavenPomJarIdExtractor.java[1:null] Found non-Unix line delimiter(s)
[ERROR] OsgiManifestJarIdExtractor.java[1:null] Found non-Unix line delimiter(s)

[ERROR] Artifacts.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Bag.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Bags.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Checks.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Constants.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Executors.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Fingerprints.java[1:null] Found non-Unix line delimiter(s)
[ERROR] FixedSizeLinkedHashMap.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GenericEnumerationUtils.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Globs.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonFieldNameDeserializer.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonFileDeserializer.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonFileSerializer.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonMethodNameDeserializer.java[1:null] Found non-Unix line delimiter(s)

[ERROR] GsonNameSerializer.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonTypeNameDeserializer.java[1:null] Found non-Unix line delimiter(s)
[ERROR] GsonUtil.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ISO8601DateParser.java[1:null] Found non-Unix line delimiter(s)
[ERROR] MultimapTypeAdapter.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ParameterizedTypeImpl.java[1:null] Found non-Unix line delimiter(s)
[ERROR] HashBag.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Hex.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IGenericFilter.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IOUtils.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IAnnotation.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IFieldName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IMethodName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IPackageName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] ITypeName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IVariableName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmAnnotation.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmFieldName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmMethodName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmPackageName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmTypeName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VmVariableName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Names.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Openable.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Pair.java[1:null] Found non-Unix line delimiter(s)
[ERROR] IVersionParser.java[1:null] Found non-Unix line delimiter(s)
[ERROR] MavenVersionParser.java[1:null] Found non-Unix line delimiter(s)
[ERROR] OsgiVersionParser.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VersionParserFactory.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Recommendation.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Recommendations.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Throws.java[1:null] Found non-Unix line delimiter(s)
[ERROR] TreeBag.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Tuple.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Version.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VersionedModuleName.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VersionedModuleNameParser.java[1:null] Found non-Unix line delimiter(s)
[ERROR] VersionRange.java[1:null] Found non-Unix line delimiter(s)
[ERROR] Zips.java[1:null] Found non-Unix line delimiter(s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] org.eclipse.recommenders.parent ................... SUCCESS [0.168s]
[INFO] releng ............................................ SUCCESS [0.023s]
[INFO] licenses .......................................... SUCCESS [0.930s]
[INFO] coding-conventions ................................ SUCCESS [0.402s]
[INFO] targets ........................................... SUCCESS [0.020s]
[INFO] Eclipse 3.x Target Definition ..................... SUCCESS [0.126s]
[INFO] Eclipse 4.2 Target Definition ..................... SUCCESS [0.027s]
[INFO] Eclipse 4.3 Target Definition ..................... SUCCESS [0.025s]
[INFO] plugins ........................................... SUCCESS [4.299s]
[INFO] org.eclipse.recommenders.utils .................... FAILURE [8.140s]
[INFO] org.eclipse.recommenders.models ................... SKIPPED
[INFO] org.eclipse.recommenders.jayes.serialization ...... SKIPPED
[INFO] org.eclipse.recommenders.jayes .................... SKIPPED
[INFO] org.eclipse.recommenders.jayes.io ................. SKIPPED
[INFO] org.eclipse.recommenders.calls .................... SKIPPED
[INFO] org.eclipse.recommenders.injection ................ SKIPPED
[INFO] org.eclipse.recommenders.utils.rcp ................ SKIPPED
[INFO] org.eclipse.recommenders.rcp ...................... SKIPPED
[INFO] org.eclipse.recommenders.models.rcp ............... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp ........... SKIPPED
[INFO] org.eclipse.recommenders.calls.rcp ................ SKIPPED
[INFO] org.eclipse.recommenders.overrides ................ SKIPPED
[INFO] org.eclipse.recommenders.overrides.rcp ............ SKIPPED
[INFO] org.eclipse.recommenders.extdoc ................... SKIPPED
[INFO] org.eclipse.recommenders.extdoc.rcp ............... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.calls ..... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.chain ..... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.overrides . SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.sandbox ... SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.subwords .. SKIPPED
[INFO] org.eclipse.recommenders.completion.rcp.templates . SKIPPED
[INFO] org.eclipse.recommenders.jayes.transformation ..... SKIPPED
[INFO] org.eclipse.recommenders.rdk ...................... SKIPPED
[INFO] org.eclipse.recommenders.webclient ................ SKIPPED
[INFO] org.eclipse.recommenders.models.rcp.dependencymonitor  SKIPPED
[INFO] tests ............................................. SKIPPED
[INFO] org.eclipse.recommenders.tests .................... SKIPPED
[INFO] org.eclipse.recommenders.tests.completion.rcp ..... SKIPPED
[INFO] org.eclipse.recommenders.tests.extdoc.rcp ......... SKIPPED
[INFO] org.eclipse.recommenders.tests.jayes .............. SKIPPED
[INFO] org.eclipse.recommenders.tests.jayes.io ........... SKIPPED
[INFO] org.eclipse.recommenders.tests.jayes.transformation  SKIPPED
[INFO] org.eclipse.recommenders.tests.rdk ................ SKIPPED
[INFO] org.eclipse.recommenders.tests.rcp ................ SKIPPED
[INFO] org.eclipse.recommenders.tests.util ............... SKIPPED
[INFO] org.eclipse.recommenders.tests.models ............. SKIPPED
[INFO] org.eclipse.recommenders.tests.models.rcp ......... SKIPPED
[INFO] features .......................................... SKIPPED
[INFO] org.eclipse.recommenders.feature.license .......... SKIPPED
[INFO] org.eclipse.recommenders.feature.3rd.orbit ........ SKIPPED
[INFO] org.eclipse.recommenders.feature.3rd.rcp.nonorbit . SKIPPED
[INFO] org.eclipse.recommenders.feature.rcp.core ......... SKIPPED
[INFO] org.eclipse.recommenders.feature.completion.rcp.chain  SKIPPED
[INFO] org.eclipse.recommenders.feature.completion.rcp.intellig  SKIPPED
[INFO] org.eclipse.recommenders.feature.completion.rcp.subwords  SKIPPED
[INFO] org.eclipse.recommenders.feature.extdoc.rcp ....... SKIPPED
[INFO] org.eclipse.recommenders.feature.rcp .............. SKIPPED
[INFO] org.eclipse.recommenders.feature.jayes ............ SKIPPED
[INFO] org.eclipse.recommenders.feature.completion.rcp.sandbox  SKIPPED
[INFO] org.eclipse.recommenders.feature.calls.rcp ........ SKIPPED
[INFO] org.eclipse.recommenders.feature.overrides.rcp .... SKIPPED
[INFO] org.eclipse.recommenders.feature.rdk .............. SKIPPED
[INFO] org.eclipse.recommenders.feature.3rd.rcp.nonjuno .. SKIPPED
[INFO] org.eclipse.recommenders.feature.tests ............ SKIPPED
[INFO] dist .............................................. SKIPPED
[INFO] Code Recommenders: Head Update Site ............... SKIPPED
[INFO] Code Recommenders: Milestone Update Site .......... SKIPPED
[INFO] Code Recommenders: Stable Update Site ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:05.613s
[INFO] Finished at: Thu Jul 25 17:46:47 FET 2013
[INFO] Final Memory: 89M/350M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:
2.10:check (check-coding-conventions) on project org.eclipse.recommenders.utils:
 You have 77 Checkstyle violations. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-checkstyle-plugin:2.10:check (check-coding-convent
ions) on project org.eclipse.recommenders.utils: You have 77 Checkstyle violatio
ns.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoFailureException: You have 77 Checkstyle
violations.
        at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execu
te(CheckstyleViolationCheckMojo.java:415)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)
        ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :org.eclipse.recommenders.utils

Did you do a "git clone", i.e., is there a ".git" somewhere? Otherwise
> JGit will have a hard time figuring out what revision you are at.

I downloaded it as zip file directly from github. But now i cloned it, and it too gives checklist violation errors. 
The stack can be seen here:

[INFO] There are 2 checkstyle errors.
[ERROR] SnipDSLRuntimeModule.java[1:null] Found non-Unix line delimiter(s)
[ERROR] SnipDSLStandaloneSetup.java[1:null] Found non-Unix line delimiter(s)
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] snipeditor ........................................ SUCCESS [0.278s]
[INFO] org.eclipse.recommenders.snipeditor ............... FAILURE [59.075s]
[INFO] org.eclipse.recommenders.snipeditor.ui ............ SKIPPED
[INFO] org.eclipse.recommenders.snipeditor.tests ......... SKIPPED
[INFO] org.eclipse.recommenders.feature.snipeditor ....... SKIPPED
[INFO] Code Recommenders: SnipEditor Update Site ......... SKIPPED
[INFO] snipeditor-aggregator ............................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:25.785s
[INFO] Finished at: Thu Jul 25 18:28:49 FET 2013
[INFO] Final Memory: 85M/265M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:
2.10:check (check-coding-conventions) on project org.eclipse.recommenders.sniped
itor: You have 2 Checkstyle violations. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal o
rg.apache.maven.plugins:maven-checkstyle-plugin:2.10:check (check-coding-convent
ions) on project org.eclipse.recommenders.snipeditor: You have 2 Checkstyle viol
ations.
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:213)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProje
ct(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBu
ild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(Lifecycl
eStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Laun
cher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
Caused by: org.apache.maven.plugin.MojoFailureException: You have 2 Checkstyle v
iolations.
        at org.apache.maven.plugin.checkstyle.CheckstyleViolationCheckMojo.execu
te(CheckstyleViolationCheckMojo.java:415)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(Default
BuildPluginManager.java:101)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor
.java:209)
        ... 19 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :org.eclipse.recommenders.snipeditor

Best Regards, Stefan


On Thu, Jul 25, 2013 at 5:08 PM, Andreas Sewe <andreas.sewe@xxxxxxxxxxxxxx> wrote:
Hi Stefan,

> But i had some problems getting it to work. First i cloned the main
> o.e.r and built it running /mvn clean install -P e43/. But there were
> some checkstyle violations so i disabled checking by adding
> /-Dcheckstyle.skip/ to the command.

Really? Can you post the violations here, as there shouldn't be any for
the o.e.r build (they should never have gotten through Hudson).

> This did the trick for the main
> o.e.r, but when i ran /mvn clean install -Dlicense.failIfMissing=false
> /on the build from Andreas, I got a similar error to what Madhuranga
> encountered before [1].

Did you do a "git clone", i.e., is there a ".git" somewhere? Otherwise
JGit will have a hard time figuring out what revision you are at.

Hope that helps.

Andreas
--
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Mobile: +49-170-811-3791
http://www.codetrails.com/

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
_______________________________________________
recommenders-dev mailing list
recommenders-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/recommenders-dev


Back to the top