Cannot find forgerock openDJ 3.5.1 maven jars - openam

I am trying to use openDj 3.5.1 or 3.5.2 and have a maven dependency on it. However, i cannot find the jar at https://maven.forgerock.org/repo/webapp/#/home or https://mvnrepository.com/artifact/org.forgerock.opendj
Can someone help me getting this jar using maven?

Please see this: Is OpenDJ, OpenAM and OpenIAM free software.
If you are a ForgeRock customer, then you should contact support.

Apparently forgerock decided to release these jars into their private-release repo, and not in public repos. So, if you have forgerock's backstage account then you can get them using basic authentication through maven

You have to register at forgerock website.
Go to their download page and use the Search option.
Download the toolkit and the jars you require.
And install in your local repository.

Related

.Netcore alternative for Microsoft.Azure.Management.HDInsight.Job?

I'm working on converting a library from full .NetFramework to .NetCore
I'm looking for a replacement for Microsoft.Azure.Management.HDInsight.Job, which hasn't been updated in over a year and is not compatible with .NetCore. I was hoping that the functionality would be rolled up into the much-more-recently-updated and netcore-compatible Microsoft.Azure.Management.HDInsight, but that doesn't appear to be the case.
I'm down to use the REST API, but I haven't been able to find the same functionality there. Any guidance would be appreciated.
You could try to install Microsoft.Azure.Management.HDInsight.Job with Package Manager to install some prerelease versions, so that its dependencies would not be conflict with your asp.net core.
I test them, no matter it is preview, it also have the functionality what you want.
Write in Package Manager Console such as:
Install-Package Microsoft.Azure.Management.HDInsight.Job -Version 1.0.7-preview
You could only install the version <= 1.0.7-preview. If not, you may could not install it.
For more detail, you could refer to this article.
I found the REST API I was looking for. It is the WebHCat API, not an Azure API.
MapReduce Job creation: https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+MapReduceJar
Pig Job creation:
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Pig
Hive Job creation:
https://cwiki.apache.org/confluence/display/Hive/WebHCat+Reference+Hive
Sqoop Job creation: https://learn.microsoft.com/en-us/azure/hdinsight/hadoop/apache-hadoop-use-sqoop-curl and https://sqoop.apache.org/docs/1.99.3/RESTAPI.html
Hopefully they will release 3.0.0 soon
https://github.com/Azure/azure-sdk-for-net/issues/9219

Unable to create Liferay project from plugins SDK with error "app.server.dir is invalid"

I have installed Liferay7.0 successfully and then was trying to import Liferay SDK plugins. I am using Liferay supported IDE(Downloaded from Liferay website) Neon.3
I have tried reinstalling Liferay, but it didn't work.
Sdk version is also 7.0.
Please help to sort out this problem.
Unless you have a good reason to use Plugin SDK in Liferay 7, you should use Liferay Workspace (or maven or gradle). Plugin SDK is basically only for upgrading legacy plugins, but new work is better documented and more flexible in the new OSGi modules.
As you state that your Plugin SDK is version 7, you're probably not upgrading. Instead of fixing your issue, simply ignore the SDK. If you want to fix it: Just like the previous versions' Plugin SDKs you'll need to configure the location of Liferay in build.yourusername.properties in the root folder of the SDK. (replace yourusername with the actual name that you're using to login to your development machine). The configuration you need is stated in the dialog.
focus on error message, please make a file name with your [USER-NAME] like this "build.[USER-NAME].properties" (ex: build.sam.properties) contain bellow properties and put in Liferay SDK path
(I put it in eclipse/plugins/com.liferay.portal.plugins.sdk-7.0/
contain:
liferay.dir = C:/
app.server.type = tomcat
app.server = tomcat-8.0.32
app.server.parent.dir = ${liferay.dir}/liferay-ce-portal-7.0-ga3
app.server.tomcat.dir = ${app.server.parent.dir}/${app.server}
app.server.portal.dir = ${app.server.tomcat.dir}/webapps/ROOT
if you are using wildfly server, use the following in your build.user.name.properties file. (Location ex: C:..\com.liferay.portal.plugins.sdk-7.0)
app.server.parent.dir =C:/../liferay-ce-portal-7.0-ga3
app.server.type=wildfly
app.server.wildfly.dir=${app.server.parent.dir}/wildfly-10.0.0
app.server.wildfly.deploy.dir=${app.server.wildfly.dir}/standalone/deployments
app.server.wildfly.lib.global.dir=${app.server.wildfly.dir}/modules/com/liferay/portal/main
app.server.wildfly.portal.dir=${app.server.wildfly.dir}/standalone/deployments/ROOT.war

Adding GitHub project to Launchpad PPA Package

I am trying to figure out how to add a GitHub project to my simple, working Launchpad PPA package. The GitHub project that I am try to add is https://github.com/compiz-reloaded/compiz-boxmenu. I couldn't find much help online and I'm hoping that someone can help point me in the right direction on how to accomplish this. Thanks!
You need to 'debianize' your package first. The debianization depends on the package type, and the manual for a package debianization is called Debian Policy.
This wiki is also very useful. Once you have your package debianized, you should compile it using the source option (I usually do it using dpkg-buildpackage -S. Pass your key using -k<Key> also. The same one you uploaded to your launchpad account.
Once you built your source, you will find a file called package_version.changes. You basically upload it as described in your PPA information. The package will be compiled, and, if no errors are found, it will be available in the PPA. If you want to enable the build for other architectures, as IBM POWER (ppc64el) or ARM (aarch64) , you should opt in.

Maven Security Concerns

Are there security concerns with using Maven? I use Ant today for my main project, but I do use Maven for my "samples" project where I write program spikes. I do like some parts of Maven, but have a concern with downloading my jars through the tool. Is this an unfounded concern? How secure is "http://repo1.maven.org/maven2/"? Is there a more secure way of using the tool?
Thanks.
It's pretty secure and standard. If ever the security of http://repo1.maven.org/maven2/ is compromised, there will have big repercussion in Java devs. I never heard that this site is hacked.
That said, you are not bounded by default repository. You can configure your own repository using Nexus, Artifactory and install safe artifacts manually to them. You may also block remote repositories using Nexus/Artifactory setting. Although, I never needed to do this. But look here, perhaps it's possible.
Please note that you will have to block your local repository to use "repo1", else the local repository will download artifacts from there by default.
Edit 1: added missing link

Primefaces Fileupload Patch

I have the same problem as the guy in this post.
Can you help me apply the patch from here
I have no idea if that solves it, but I will try if you can tell me how to apply a patch :-)
PrimeFaces uses Apache Subversion (SVN) as code repository. It's available here. If you configure your development tool to connect to this code repository (e.g. Eclipse has a Subclipse plugin for this), then you can hook on it, download the entire project, apply the patch yourself and then rebuild the project into a JAR file yourself.
This should be pretty straightforward if you're already familiar with code repositories like CVS, Git, Mercurial, etc. An alternative is to wait for them to release a new version so that you can just download the ready-to-use JAR from their side.

Resources