sonatype

How to delete a Sonatype Nexus OSS(3) Component from a Repository

与世无争的帅哥 提交于 2019-12-10 17:33:15
问题 its my first question here and i try to do my best. :-) If there should be something wrong, tell me simply and I correct myself. Im new to Sonatypes Nexus 3 OSS, and i cant find a way to delete a component from my repository. A package from my repository has become useless and now I would like to delete it. The artefacts I deleted already, but the package remains. I use the web ui and I think that I just missing something. Update: You find the page that show the packages in: Browse >

Use Maven to build complex Flex project

岁酱吖の 提交于 2019-12-10 15:29:10
问题 I'm currently looking into replacing our very proprietary build environment with Maven. The current solution is an inhouse development for the central build, and for easier local development I compile inside the Eclipse/Flex IDE and have an ANT script which copies everything together to my local Apache directory (i.e. my ant file does not do the full build and also relies on having all projects locally available). We're using Eclipse 3.6.1 (Helios) with Flash Builder Plugin (i.e. Flex4),

How can I adjust timeout for mvn mirror on dependency:resolve — Error transferring file: Read timed out

假装没事ソ 提交于 2019-12-10 15:27:04
问题 Does anyone know how to control the timeout settings for a mirror in the maven settings file or in the dependency plugin? I see that I can modify timeout settings for a server but not a repository or a mirror. Problem Since upgrading nexus oss from 1.8.0 to 2.3x and moving to a VM I'm seeing intermittent problems with timeouts and nothing useful in the nexus debug log alas. I figure I have two options: improve nexus server performance or configure maven settings to wait longer for artifacts.

Maven GPG plugin not signing sources and javadoc jars

耗尽温柔 提交于 2019-12-10 14:17:29
问题 I'm attempting to release my project's artifacts to Sonatype using Maven. I'm using the Maven GPG plugin to sign the artifacts, but it's not signing the sources and javadoc jars (just the main jar), which is required by Sonatype. Here's what I think are the relevant parts of my pom.xml: <plugins> ... <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>attach-sources</id> <phase>install</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions>

sonatype nexus docker volume error

筅森魡賤 提交于 2019-12-10 14:12:37
问题 I'm triyng to install sonatype-nexus using docker and want to share docker /opt/sonatype-work nexus repo with host machine (linux ubuntu 14.04) /opt/nexus . my dockerfile: FROM centos:6 MAINTAINER Marcel Birkner <marcel.birkner@codecentric.de> USER root # Update the system RUN yum -y update; \ yum clean all ########################################################## # Install Java JDK, SSH and other useful cmdline utilities ########################################################## RUN yum -y

com.yammer.metrics.logback.InstrumentedAppender

橙三吉。 提交于 2019-12-06 18:56:32
Sonatype Nexus 是个MAVEN仓库管理工具。提供2种包,一种是war,一种是.zip或者.gz。 前者自己部署运行,后者执行压缩包bin目录下的nexus 带参数运行。 后者没问题。我们主要讨论前者,war独立运行报错的问题。 16:25:02,524 |-ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [com.yammer.metrics.logback.InstrumentedAppender]. . . . . . . . Caused by: java.lang.ClassNotFoundException: com.yammer.metrics.logback.InstrumentedAppender at at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) at at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) at at ch.qos.logback.core.util

Nexus Mark Oracle Maven Repository as Invalid

点点圈 提交于 2019-12-06 05:50:22
问题 Creating a Proxy repository on Nexus that proxies Oracle Maven Repo (http://download.oracle.com/maven/) marks the Oracle Repo as "Attempting to Proxy and Remote Unavailable" The problem might be that Oracle disabled directory listing and every attempt to get the content without the full GAV returns a 404 code. How to workaround this on Nexus? Using Nexus OS Edition 1.9.2.2 Configuration: Remote Storage Location = http://download.oracle.com/maven/ Download Remote Indexes = True Auto Blocking

Android Studio: Snapshot Dependencies Don't Update properly

我是研究僧i 提交于 2019-12-04 18:31:58
问题 I'm working With Android Studio 8.9 I've got a build.gradle with the following dependency defined: compile ('my.program.commons:my-program-commons:0.0.2-SNAPSHOT@jar') This dependency is stored in a private Sonatype nexus repository. When I make changes in the my.program.commons code, I upload to nexus. The problem is that when I then try to compile against the new SNAPSHOT android studio will fail to pick up changes. When run from the command line gradle will build succesfully - but Android

automate deployment to sonatype's oss maven repository

假如想象 提交于 2019-12-04 12:14:29
问题 I've got several github java projects. One of them I've manually deployed to sonatype's repository so that it gets published in maven central. This has been a somewhat painful process in the sense that it seems to involve too many hoops to jump through and a lot of manual work and I'd like to automate that. So I actually stopped doing that because it was just too much work. There's plenty of documentation that suggests this is possible and quite a bit that suggest that it somehow involves

Nexus Mark Oracle Maven Repository as Invalid

给你一囗甜甜゛ 提交于 2019-12-04 11:11:41
Creating a Proxy repository on Nexus that proxies Oracle Maven Repo (http://download.oracle.com/maven/) marks the Oracle Repo as "Attempting to Proxy and Remote Unavailable" The problem might be that Oracle disabled directory listing and every attempt to get the content without the full GAV returns a 404 code. How to workaround this on Nexus? Using Nexus OS Edition 1.9.2.2 Configuration: Remote Storage Location = http://download.oracle.com/maven/ Download Remote Indexes = True Auto Blocking Active = False File Content Validation = True CheckSum Policy = Warn There should be no need to proxy