In my team, we want to create our own Nexus plugin (for Nexus 3) to prevent or allow some packages to be downloaded based on our own custom rules.
I know about such a solution as Nexus Firewall, but we can not use it, since it is not free.
I have tried to find documentation or a guide on how to make your own plugin but was not able to find any decent resources.
Links I found:
Nexus development guide (To be honest not that good guide)
The same question to sonotype team (but about nexus2)
Snyk plugin - great example but no way a strict documentation
It would be really helpful if anyone can give any advice on where to start first or provide any helpful links to use.
I am provided with Corda Enterprise artifacts to test our solution against it. We don't yet have a enterprise support, this is still a non tech work in a process, so I am asking here a tech question:
After downloading all the developer pack artifacts from Corda Enterprise 4.5 and putting them in my local maven repository I continue to get the following error Could not resolve com.r3.libs:r3-libs-obfuscator:1.0.
I spent many hours trying to find a solution but I could not find even a clue about this particular jar file. There is nothing at all related to it in the Internet.
I searched the slack channel of Corda and there are at least 5 people facing the same issue that I do, but nobody seems to have found the solution to this. Some people tell that his can be related to corda-tools-config-obfuscator-4.5-GA.jar somehow, but I don't think so, as this jar is right there in my repository and anyways the name and the package of the missing jar is different.
The only way to build cordapp was to exclude this dependency from any Corda dependency that relays on this one. One of such a dependency is corda-node btw, but this seems to be a wrong solution as I exclude a transient dependency from artifacts that I don't own, and I have no clue on when this excluded package might be needed to corda-node dependency and how exactly will it fail in absence of this one.
So please can someone from Corda Enterprise team give us a hint on what this jar is and where can we find it. I have a feeling that someone just forgot to put it in the developer pack of Corda Enterprise artifacts...
It looks like it is a missing dev pack library issue, basically.
The de-obfuscation code is now common across CENM and Corda and is hence a separate library.
You can find them here: https://software.r3.com/artifactory/webapp/#/artifacts/browse/tree/General/r3-tools-dev/com/r3/libs/r3-libs-obfuscator/1.0-SNAPSHOT/r3-libs-obfuscator-1.0-20200409.080322-2.jar
You might need to contact your account manager to get it if you currently don't have access to it.
I need to search for all artifacts among my projects that require a particular dependency. Mvnrepository.com has such a feature, so I checked whether Nexus Repository Manager supported it as well.
I did not find any such feature, so I decided to come ask here, seeing as I usually don't do well with Nexus documentation or interface.
Does it support it?
I'll ask whether there are other tools that might do so in a separate question.
I was playing around with Sonatype Nexus OSS 3.0, trying to figure out how to pull off repository targets, when I came across content selectors. I am unable to find any documentation whatsoever on them, which I find odd.
What is a content selector, are they similar to repository targets, and how are they used? I am using Sonatype Nexus OSS 3.0.0-03.
Seems they added the documentation about ContentSelector in the 3.1 release.
find the doc here
I'm wondering the same thing! Looks like there's a JIRA ticket raised for documenting that.
I'm able to create a simple one (e.g. asset.group=junit) using JEXL, based on the javadoc in the unit test for Selectors, but I'm not sure how it's used. Maybe it will be a searchable field to find matching components?
I also found the following article published last week which suggests that it will be available in 3.1:
In addition 3.1 includes a number of other great features such as PyPi
support and Content Selectors. But I can tell more about that another
time – today we are going to look at migration.
I'm a newbie developers and building an application with 3 other remote developers. I've only worked alone until now, and now I need a way to share my source code with the other developers on the project. All of the project sites out there (SourceForge, Codeplex, Google, etc) seem to be aimed at Open Source development I'm not interested in making our code available to the world, I'm just looking for a method of sharing the code among the four of us. What is the best known method...or how is this usually accomplished?
Set up a Subversion repository (can be accessed across http).
There is an excellent online free book detailing pretty much everything you need to know about Version Control with Subversion
Yep, you need a version control repository which is remotely accessible. Subversion is excellent and very widely used; Git is another good option.
You could set up your own repository - you'll need a server which all devs can access via ssh, or via Apache/WebDAV - or use a hosted service, like Beanstalk, Project Locker, Unfuddle, SVNsite, etc.
http://beanstalkapp.com/
Set up a Subvserion repository (http://subversion.tigris.org/). You can control who may view your data through accounts, plus it gives you document versioning. When paired with a Http server, you can even view the source directly in a browser.
Subversion has all sorts of plugins for Eclipse and even Visual Studio, I believe. Tortise SVN is a stand-alone SVN client you may like, although I recommend an IDE-integrated plugin.
Subversion also goes well with a continuous integration server, such as Continuum.
Hosted: http://wush.net is another Subversion hosting platform.
Or, if you can host your own server, check out the VERY easy to use and VERY free VisualSVN Server: http://www.visualsvn.com/server/
You don't say what computing resources you have available, but the easy choice is to use a central server with say SVN to which you all have ssh access using a public key. You can probably rent such a service for around $10 per month.
If you don't like central servers, you can try Mercurial or git and ssh back and forth between your personal development machines.
If ssh is problematic, git actually enables you to send patches to each other by email (probably Mercurial does too). Ben Lynn's Git Magic tutorial explains.
You can use an online source control (like SVN or Git), and share it only with your team members. You should look into Unfuddle, it's a free source control/project hosting, complete with bug tracking system. I use it for my personal projects and it's awesome.
I think the best solution is Subversion. Subversion is a free source control system that is ideal for your requirement.
You can use many other support tools like Tortoise SVN to make the things more easier.
Here is one of the cheat sheets that describes commands of SVN.
Most of the Web hosting providers support easy one click installation of SVN on their servers. ex : Dreamhost So you can get a setup done very easily.
CVS is another Source control system that are used widely but I haven't seen any providers that support easy installation of CVS but there should be. You can have support tools for CVS such as Tortoise CVS as well.
I don't think you are interested in visual source safe (Microsoft Proprietary and not over Web) so I am not going to add information about it here. :)
You need to set up a source control repository. It's a pretty big topic, I'm really not sure where the best place to start reading about it would be. I'm sure the Wikipedia article on Revision Control will at least give you a bit of an overview.
This seems like a decent introductory series as well: Source Control HOWTO
Subversion works just fine over http/https. It is an open source project, but you can use it for whatever purposes you want.
http://subversion.tigris.org/
Most modern source control systems work well. Subversion is a common one. Which operating system will the developers be running?
If you just want to get up and running quickly with something, check out a hosted subversion system like www.beanstalk.com or www.unfuddle.com.
Subversion is open source, and I know you don't need it, but there are a lot of options here. If on Windows, check out Tortoise SVN. If on a Mac and you don't want a command line client, check out Versions.
You can actually setup google code to only allow viewing/editing by registered members. And I don't think they force any licenses either.
We currently use VSS but are in the process of migrating everything over to Source Gear Vault because VSS makes jumping out of our third story windows a common thought...
Here is a free solution with premium options available... https://freepository.com I have not tried this one.
Try github. It will cost you $12/month though.
Just use devunity.com. upload your code via zip or import it from svn and thats it. lets you collaborate around code instantly.