Re: Kanbanik

49 views
Skip to first unread message

Rui Costa

unread,
Nov 5, 2014, 4:40:44 AM11/5/14
to kanb...@googlegroups.com, Tomas Jelinek
Hi, 

No problem with that Tomas.
I'm running Ubuntu server 14.04 LTS, have tried to rm ~/.m2/repository/* and still got build problem. Btw i always have run the comand "mvn clean install -DskipTests".
I'm getting this:

178b downloaded  (oss-parent-5.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - RETRYING
178b downloaded  (oss-parent-5.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.atmosphere:atmosphere-project:pom:2.2.0

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 56 seconds
[INFO] Finished at: Wed Nov 05 09:13:58 WET 2014
[INFO] Final Memory: 38M/90M
[INFO] ------------------------------------------------------------------------



If i run it with -e for more info i get this:

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Unnamed - kanbanik:parent:pom:0.0.1-SNAPSHOT
[INFO]   Unnamed - kanbanik:dto:jar:0.0.1-SNAPSHOT
[INFO]   Unnamed - kanbanik:server:jar:0.0.1-SNAPSHOT
[INFO]   kanbanik - web
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - kanbanik:parent:pom:0.0.1-SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing /root/kanbanik/kanbanik-parent/pom.xml to /root/.m2/repository/kanbanik/parent/0.0.1-SNAPSHOT/parent-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - kanbanik:dto:jar:0.0.1-SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /root/kanbanik/kanbanik-dto/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 2 source files to /root/kanbanik/kanbanik-dto/target/classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/kanbanik/kanbanik-dto/src/test/resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] Tests are skipped.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: /root/kanbanik/kanbanik-dto/target/dto-0.0.1-SNAPSHOT.jar
[INFO] [source:jar-no-fork {execution: attach-sources}]
[INFO] Building jar: /root/kanbanik/kanbanik-dto/target/dto-0.0.1-SNAPSHOT-sources.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing /root/kanbanik/kanbanik-dto/target/dto-0.0.1-SNAPSHOT.jar to /root/.m2/repository/kanbanik/dto/0.0.1-SNAPSHOT/dto-0.0.1-SNAPSHOT.jar
[INFO] Installing /root/kanbanik/kanbanik-dto/target/dto-0.0.1-SNAPSHOT-sources.jar to /root/.m2/repository/kanbanik/dto/0.0.1-SNAPSHOT/dto-0.0.1-SNAPSHOT-sources.jar
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - kanbanik:server:jar:0.0.1-SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting /root/kanbanik/kanbanik-server/target
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: /root/kanbanik/kanbanik-server/src/main/scala added.
[INFO] Source directory: /root/kanbanik/kanbanik-server/src/test/scala added.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] [scala:add-source {execution: scala-compile-first}]
[INFO] Add Test Source directory: /root/kanbanik/kanbanik-server/src/test/scala
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.atmosphere:atmosphere-project:pom:2.2.0

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.atmosphere:atmosphere-annotations:jar': Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0
  org.atmosphere:atmosphere-annotations:jar:2.2.0

from the specified remote repositories:

Path to dependency: 
1) kanbanik:server:jar:0.0.1-SNAPSHOT


at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:711)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactResolutionException: Unable to get dependency information: Unable to read the metadata file for artifact 'org.atmosphere:atmosphere-annotations:jar': Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0
  org.atmosphere:atmosphere-annotations:jar:2.2.0

from the specified remote repositories:

Path to dependency: 
1) kanbanik:server:jar:0.0.1-SNAPSHOT


at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:430)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.collect(DefaultArtifactCollector.java:74)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:316)
at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:304)
at org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1499)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:442)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException: Unable to read the metadata file for artifact 'org.atmosphere:atmosphere-annotations:jar': Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:200)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedArtifact(MavenMetadataSource.java:94)
at org.apache.maven.artifact.resolver.DefaultArtifactCollector.recurse(DefaultArtifactCollector.java:387)
... 23 more
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1396)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1407)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:823)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:255)
at org.apache.maven.project.artifact.MavenMetadataSource.retrieveRelocatedProject(MavenMetadataSource.java:163)
... 25 more
Caused by: org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM. for project org.sonatype.oss:oss-parent at /root/.m2/repository/org/sonatype/oss/oss-parent/5/oss-parent-5.pom
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
at org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)
... 29 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Wed Nov 05 09:21:23 WET 2014
[INFO] Final Memory: 34M/82M
[INFO] ------------------------------------------------------------------------




I've tried removing both ~/.m2 and /root/.m2 and got the same result.
If you need anything more like logs or something feel free to ask.

Thanks,


2014-11-05 7:59 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:
Hi,

sorry for not being responsive - I was playing with it a bit but did not get to any conclusion so did not update you.

The thing is that I was not able to simulate it - I have tried to rebuild it locally (with my normal maven repo), delete the sonatype related part and even on a completely clean machine (by clean I mean a cleanly installed virtual, so really clear :) ). All passed without any problems. But the thing is that in all cases it was a Fedora 20 machine - did not try it on anything else.

So, some more questions:
- maven sometimes behaves differently on different OS (what exact OS are you building it on)?
- you have maybe some mess in your local maven repo (maybe some download did not end successfully and maven have written some malformed artefact and than it behaves funny). Could you please delete your local maven repo (~/.m2/repository/*) or if you are using maven for other projects as well and don't want to delete everything than at least please delete the sonatype part (~/.m2/repository/org/sonatype/*)
- please send the full logs from the build
- not sure what exact command were you using to build but I would try to skip the tests (e.g. mvn clean install -DskipTests)

But anyway, the release is keep being postponed because also my wife who is QE-ing kanbanik from very first release is also quite busy lately. So I have decided to try something else. I will publish today evening (fingers crossed) a public RC build and ask the community to test it. So if you don't want to play with building it by yourself, you could download the RC (and maybe file some bugs ;) ).

If you are willing to find out what is wrong with the build on your env (what I would be very thankful, it is a shame that an opensource project does not build everywhere) than please answer my questions to a mailing list I have just created (it could be beneficial also to others).
or just write a mail here: kanb...@googlegroups.com

Thank you for being patient :)
Tomas

On Tue, Nov 4, 2014 at 11:40 PM, Rui Costa <rui.tink...@gmail.com> wrote:
Sry for rushing this but it would be nice to work with the new version, so any updates on that matter?

2014-11-01 18:25 GMT+00:00 Rui Costa <rui.tink...@gmail.com>:
Don't worry, take care of it when you can.
Btw i'm running maven 3.05 and got this:

[WARNING] three warnings found
[ERROR] 31 errors found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] parent ............................................ SUCCESS [1.275s]
[INFO] dto ............................................... SUCCESS [3.630s]
[INFO] server ............................................ FAILURE [22.754s]
[INFO] kanbanik - web .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.054s
[INFO] Finished at: Sat Nov 01 18:19:53 UTC 2014
[INFO] Final Memory: 15M/149M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:compile (scala-compile-first) on project server: wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1(Exit value: 1) -> [Help 1]


2014-11-01 17:51 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:

hmm, it seems that one of the dependencies, the atmosphere project's repository, has been moved somewere and you are facing a bug in maven2 which can not deal with it. Im now on a family event for the whole weekend and dont have my computer with me, so can not tryit,but please try  updating to maven3 - it should help. Or, when I will get back home I will try to change my pom.xml to use the new location.

On 1 Nov 2014 13:52, "Rui Costa" <rui.tink...@gmail.com> wrote:
No problem if you can do it, it would look great.

Btw i was trying to compile the sources and got this:

[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - RETRYING
Downloading: http://oss.sonatype.org/content/repositories/releases/org/sonatype/oss/oss-parent/5/oss-parent-5.pom
178b downloaded  (oss-parent-5.pom)
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1'; remote = '<html>
<head><title>301' - IGNORING
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.atmosphere:atmosphere-project:pom:2.2.0

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.atmosphere:atmosphere-project:pom:2.2.0 for project org.atmosphere:atmosphere-project:pom:2.2.0


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3 minutes 5 seconds
[INFO] Finished at: Sat Nov 01 12:44:04 UTC 2014
[INFO] Final Memory: 42M/263M
[INFO] ------------------------------------------------------------------------

Can you help me with this?

2014-10-31 7:57 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:

thanx for the pictures. Im trying to slowly converge to something like the last picture.

I meant that if you want to use the version which Im using (the one I sent you screenshot from), you need to compile it from sources, because it is not yet released. You can find some details here:
https://code.google.com/p/kanbanik/wiki/Install

On 30 Oct 2014 18:55, "Rui Costa" <rui.tink...@gmail.com> wrote:
I'm not that good at design since i'm a back-end developer and sysadmin but i can send you some pics of kanban's that would look good with kanbanik.
No worries you're just doing your job. Didn't get that last part "If you want that version right now than just compile the current master branch."



If you can do something like this i would look great.



2014-10-30 13:58 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:
yeah, the design is not nice, I know. The new version looks like in the attached screenshot. It is a bit better but still not great. The problem is I'm really not good at making nice looking things. If you are better at it and could send me some mockups of a nice design, or some proposals how to enhance it, I would be more than happy to implement them.

The attached screenshot is the version we are using in my regular work with 2 of my colleagues (I'm not leaking informations btw, the ovirt is also opensource so also our bugs/tasks are ;) ). If you want that version right now than just compile the current master branch.

We have it integrated with our bugzilla using this simple scrypt: https://github.com/jelkosz/batuka



On Thu, Oct 30, 2014 at 2:41 PM, Rui Costa <rui.tink...@gmail.com> wrote:
Going to stay.
One thing maybe improve the design to something more fancy, modern and clean.
Good job and keep it up ;)

2014-10-30 10:50 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:
Thank you :) I'm just finalizing a new release which will mostly include UX enhancements like push notifications from server (so no need to refresh when something changes), see the whole "short description" without the need to enlarge it, possibility to enlarge the edit task dialog etc. Stay tuned :)

Tomas

On Thu, Oct 30, 2014 at 11:42 AM, Rui Costa <rui.tink...@gmail.com> wrote:
Hey,

Working like a charm.

Thanks for the help and good luck with your work

2014-10-30 10:19 GMT+00:00 Tomas Jelinek <jel...@gmail.com>:
Hey,

you need to go to the "configure" pane.
To add new items just drag and drop them from the "workflowitem palette" to the "workflow of board". You need to drop it to the "drop" icon (if you are on the correct place a little asterisk will show up). Than, around your new workflowitem you will see two arrows - that are also places where you can drop new items. If you will have couple of them, you can rearrange the workflow again using drag and drop.

Basically, you can drop items where you have the icons with label "drop".

does it work now?
Tomas

On Thu, Oct 30, 2014 at 11:11 AM, Rui Costa <rui.tink...@gmail.com> wrote:
Hi,

I've tried to use the kanbanik but i didn't get one thing.
I've added a board and a project but i cant edit the workflow how can i do this?


Thanks,











Tomas Jelinek

unread,
Nov 5, 2014, 1:34:38 PM11/5/14
to Rui Costa, kanb...@googlegroups.com
So I was doing a bit more investigation. It seems that the atmosphere-project has it's parent pom the org.oss.sonatype:oss-parent in version 5. In the sonatype repozitory there is no version 5, but this version is present on the maven central. The problem is, that sonatype does not return the HTTP 404 (not found) but HTTP 301 (moved permanently). And you are facing a bug in maven that when it gets this response, it happily writes the content to a resulting file which is obviously malformed (instead of a real pom.xml it contains something like "<head><title>301' - RETRYING"). I have tried to simulate this also on ubuntu 14.04 with java 1.7.0_65 and maven 3.0.5 but no luck - the compilation passed without any issues. 

It makes me think that you may have some specific setting in your ~/.m2/settings.xml which causes that the sonatype repo is tried before the maven central. Could you please paste the content of your settings.xml here?

One more thing I found which could help is:
1: delete the oss-parent: rm -rf /.m2/repository/org/sonatype/oss/oss-parent/
2: run the build like this: mvn -Dmaven.wagon.provider.http=httpclient clean install -DskipTests

have a nice day,
Tomas

Rui Costa

unread,
Nov 6, 2014, 9:12:15 AM11/6/14
to Tomas Jelinek, kanb...@googlegroups.com
I've done the 2-steps you told me and got the same thing

[INFO] Add Test Source directory: /root/kanbanik/kanbanik-server/src/test/scala
[INFO] Unable to find resource 'org.sonatype.oss:oss-parent:pom:7' in repository scala-tools (https://oss.sonatype.org/content/groups/scala-tools)
-----------------------------------------------------
this realm = plexus.core
urls[0] = file:/usr/share/maven2/lib/maven-debian-uber.jar
Number of imports: 0
-----------------------------------------------------
[WARNING] Unable to get resource 'org.sonatype.oss:oss-parent:pom:7' from repository central (http://repo1.maven.org/maven2): Unsupported Protocol: 'http': Cannot find wagon which supports the requested protocol: http
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.scalatest:scalatest_2.10.0:jar:1.8

Reason: Cannot find parent: org.sonatype.oss:oss-parent for project: org.scalatest:scalatest_2.10.0:jar:1.8 for project org.scalatest:scalatest_2.10.0:jar:1.8


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Nov 06 14:07:24 WET 2014
[INFO] Final Memory: 34M/82M
[INFO] ------------------------------------------------------------------------

In the link https://oss.sonatype.org/content/groups/scala-tools/org/sonatype/oss/oss-parent/ you can only find for the version 8 and 9.
I've tried to find settings.xml and i don't find it anywere.

Maybe latter i'll try with fedora and get the result back to you.

Tomas Jelinek

unread,
Nov 9, 2014, 3:58:45 PM11/9/14
to Rui Costa, kanb...@googlegroups.com
Not sure what is happening there - I just can not simulate that issue. Have you succeeded to compile it on some different machine?

Anyway, if you still want to use the newest version, you can try the RC I have just released: https://master-dl.sourceforge.net/project/kanbanik/kanbanik-application-0.2.8-rc1.zip - after update don't forget to clean your browser's  Browsing Data

Hope this helps...
Have a nice day,

Tomas
Reply all
Reply to author
Forward
0 new messages