TheCoder4eu / BootsFaces-OSP

BootsFaces - Open Source Project
Apache License 2.0
247 stars 102 forks source link

Publish Developer Snapshots on MavenCentral #369

Open stephanrauh opened 8 years ago

stephanrauh commented 8 years ago

Every once in a while, I upload an untested developer snapshot of BootsFaces to the Sonatype repository, so you can test bug fixes and new features early.

Important: Do not use these snapshots in production! However, version 2.0.0 is due to be published any day now, so it's the exception to the rule. Please test it!

https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/2.0.0-SNAPSHOT/

You can access this in your pom.xml after adding a new repository:

     <repositories>
        <repository>
          <id>central</id>
          <url>https://oss.sonatype.org/content/repositories/snapshots</url>
          <releases><enabled>true</enabled></releases>
          <snapshots><enabled>true</enabled></snapshots>
        </repository>
    </repositories>

The download coordinates of the 2.0.0 snapshot version are:

<dependency>
    <groupId>net.bootsfaces</groupId>
    <artifactId>bootsfaces</artifactId>
    <version>2.0.0-SNAPSHOT</version>
    <scope>compile</scope>
</dependency>
stephanrauh commented 8 years ago

Just pushed a new version of BootsFaces 0.9.0-SNAPSHOT on Maven Central.

stephanrauh commented 8 years ago

Just uploaded another snapshot of BootsFaces 0.9.0. It contains a lot of improvements to the dataTable.

stephanrauh commented 8 years ago

Just uploaded a 0.9.1-SNAPSHOT to Maven Central. Basically, it's a hotfix addressing the Java 6 and 7 incompatibility. More details at https://github.com/TheCoder4eu/BootsFaces-OSP/milestone/14?closed=1

mannan4net commented 8 years ago

Hi Team, Tried to use the snapshot for one of the issue for datatable resolved but facing issues.

Failed to execute goal on project MavenConfTest: Could not resolve dependencies for project com.mycompany:MavenConfTest:war:1.0-SNAPSHOT: Failure to find net.bootsfaces:bootsfaces:jar:1.0.0-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->

Please help to get the snap shot

stephanrauh commented 8 years ago

Sorry, the fault is on my side. For some reason, I confused the version numbers. The correct version number of the snapshot is 0.9.2.

stephanrauh commented 7 years ago

Just published another snapshot. Anyone who's following this ticket: please test the new version. We're planning to release the new version of BootsFaces by the end of the month, but we're unusually short of resources at the moment, so we appreciate every help we can get.

Thanks in advance! Stephan

MitchTalmadge commented 7 years ago

I haven't investigated it much, but I found today that many of my navLinks and navCommandLinks had lost their onclick scripts (There is no javascript at all in the HTML when there should be). It confused me since I changed nothing before this happened, then I saw this post, and I don't think it's a coincidence.

Edit: Yep, I just tried using the version I have from my latest commit (https://github.com/TheCoder4eu/BootsFaces-OSP/commit/c17e9aaf7f5586275aca697b0f08f8385b1f2f26) and everything works fine.

The latest snapshot on the repo has broken the navLink and navCommandLink's javascript outputs, UNLESS ajax is set to true. When ajax is set to true, the onclick javascript and such will appear again. However, when ajax is set to true, the pointer cursor becomes a default cursor, which is odd and I can't determine why. (There's no more pointer finger when hovering over the link when ajax is true)

MitchTalmadge commented 7 years ago

I think I found where the problem lies: https://github.com/TheCoder4eu/BootsFaces-OSP/commit/50f5716761d11f848db3fcdcfad52314888622c5#diff-998cf6177e8580ef5c0b585b0f997b07R178

If ajax is false, javascript is not rendered. This commit caused that broken behavior. I determined that the cursor issue is only on the navLink, and is caused by href not existing when ajax = true. I believe the solution for this would be to add the cursor: pointer; style to navLink regardless of whether ajax is true or not.

stephanrauh commented 7 years ago

If I get you right, the problem is that ajax should implicitly be true because you've added an update or execute tag? Or do you simply have an onclick="ajax:myBean.doSomethingFancy()" tag, but no ajax, update or render tags?

MitchTalmadge commented 7 years ago

Well, the problem is that, let's say I put some code into onclick of navLink. When that navLink is rendered, if ajax is false, the onclick code will not be rendered. However, if ajax is true, then it will be (even though I'm not using ajax at all). The same kinda goes for navCommandLink, except worse. With navCommandLink, if I put a method into action but set ajax to false, the onclick code which fires that action will not be rendered. Once ajax is true (again, not actually using the ajax features), then onclick renders and the action is called.

MitchTalmadge commented 7 years ago

If you look at https://github.com/TheCoder4eu/BootsFaces-OSP/commit/50f5716761d11f848db3fcdcfad52314888622c5#diff-998cf6177e8580ef5c0b585b0f997b07R178 I have identified the line of code that causes this behavior. In this commit, the logic was modified (probably accidentally) to where JavaScript is never rendered if ajax is not true.

stephanrauh commented 7 years ago

@MitchTalmadge @jottyfan OK, now I've got it. I've solved the bug in the current developer snapshot. Could you run a test, please, and report the result in issue #534 ?

Thanks in advance Stephan

stephanrauh commented 7 years ago

Just uploaded another snapshot of BootsFaces 1.1.0-SNAPSHOT.

stephanrauh commented 7 years ago

Just uploaded the first snapshot of BootsFaces 1.1.1.

chongma commented 7 years ago

Great news! I will grab it tomorrow and let you know if I see any issues

On 3 May 2017 22:44, "Stephan Rauh" notifications@github.com wrote:

Just uploaded the first snapshot of BootsFaces 1.1.1.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TheCoder4eu/BootsFaces-OSP/issues/369#issuecomment-299029633, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9rComv91ZI9uV2v4UTfx03y8AZplNhks5r2OcRgaJpZM4IZgco .

chongma commented 7 years ago

is it on sonatype? i don't see it on maven central

On Wed, May 3, 2017 at 10:45 PM, Matthew Broadhead nbmlaw@gmail.com wrote:

Great news! I will grab it tomorrow and let you know if I see any issues

On 3 May 2017 22:44, "Stephan Rauh" notifications@github.com wrote:

Just uploaded the first snapshot of BootsFaces 1.1.1.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TheCoder4eu/BootsFaces-OSP/issues/369#issuecomment-299029633, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9rComv91ZI9uV2v4UTfx03y8AZplNhks5r2OcRgaJpZM4IZgco .

chongma commented 7 years ago

ok i found it on sonatype 1.1.1-SNAPSHOT. it seems to work ok. especially Growl is working again :)

On Thu, May 4, 2017 at 10:44 AM, Matthew Broadhead nbmlaw@gmail.com wrote:

is it on sonatype? i don't see it on maven central

On Wed, May 3, 2017 at 10:45 PM, Matthew Broadhead nbmlaw@gmail.com wrote:

Great news! I will grab it tomorrow and let you know if I see any issues

On 3 May 2017 22:44, "Stephan Rauh" notifications@github.com wrote:

Just uploaded the first snapshot of BootsFaces 1.1.1.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TheCoder4eu/BootsFaces-OSP/issues/369#issuecomment-299029633, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9rComv91ZI9uV2v4UTfx03y8AZplNhks5r2OcRgaJpZM4IZgco .

stephanrauh commented 7 years ago

I've just uploaded 1.1.2-SNAPSHOT to Maven Central. We're going to publish the bug fix version soon, so we'd appreciate your help with testing. Thanks in advance!

chongma commented 7 years ago

@stephanrauh ok I will update my development projects tomorrow morning and let you know if there are any obvious issues

chongma commented 7 years ago

i am not getting 1.1.2-SNAPSHOT from maven central. do i have to add something to my pom? https://mvnrepository.com/artifact/net.bootsfaces/bootsfaces

stephanrauh commented 7 years ago

In theory, it should work. Maybe you should delete the BootsFaces tree from your .m2 folder and try again. The latest upload protocol looks like so:

[INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-sources.jar.asc [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-sources.jar.asc (2 KB at 4.4 KB/sec) [INFO] Downloading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/maven-metadata.xml [INFO] Downloaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/maven-metadata.xml (504 B at 1.7 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 11.4 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/maven-metadata.xml (504 B at 2.8 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-javadoc.jar [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-javadoc.jar (3328 KB at 439.9 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 9.9 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.pom.asc [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.pom.asc (842 B at 4.5 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 9.3 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.jar [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.jar (2059 KB at 576.7 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.pom [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.pom (8 KB at 43.1 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 10.5 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-sources.jar [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-sources.jar (1870 KB at 791.9 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 9.4 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.jar.asc [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4.jar.asc (842 B at 4.3 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 11.2 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-javadoc.jar.asc [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/bootsfaces-1.1.2-20170714.210108-4-javadoc.jar.asc (842 B at 4.2 KB/sec) [INFO] Uploading: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml [INFO] Uploaded: https://oss.sonatype.org/content/repositories/snapshots/net/bootsfaces/bootsfaces/1.1.2-SNAPSHOT/maven-metadata.xml (2 KB at 10.6 KB/sec) [INFO] * Bulk deploy of locally gathered snapshot artifacts finished. [INFO] Remote deploy finished with success. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:00 min [INFO] Finished at: 2017-07-14T23:01:31+02:00 [INFO] Final Memory: 30M/396M [INFO] ------------------------------------------------------------------------