artifacts

Maven: How to create assembly with snapshot artifacts without timestamps file name?

ε祈祈猫儿з 提交于 2019-12-03 04:44:26
问题 I've a repository containing snapshot artifacts with timestamps. I want to create an assembly, that contains the dependencies. This works fine. But the artifact names contains the timestamp. So i wonder how to remove the timestamp from filename for the assembly only. I've used this dependencySet : <outputFileNameMapping>${artifact.artifactId}-${artifact.version}.${artifact.extension}</outputFileNameMapping> But version seams to contain already the timestamp. So is there any chance to get a 1

What essential design artifacts do you produce? [closed]

只谈情不闲聊 提交于 2019-12-03 03:48:50
In the course of your software development lifecycle, what essential design artifacts do you produce? What makes them essential to your practice? The project I'm currently on has been in production for 8+ years. This web application has been actively enhanced and maintained over that time. While we have CMMI based policies and processes in place, with portions of our practice being well defined, the design phase has been largely overlooked. Best practices, anyone? Having worked on a lot of waterfall projects in the past and a lot of adhoc and agile projects more recently, there's a number of

Nexus supports Mass upload of artifacts?

て烟熏妆下的殇ゞ 提交于 2019-12-02 19:16:47
I wanted to know if we can have mass upload of artifacts to the repository in Nexus. You can do it in a variety of ways: Use the Nexus artifact upload page (note this only works for multiple artifacts with the same groupId and artifactId). Set up a script, with multiple invocations of the maven-deploy-plugin's deploy-file goal , one for each artifact. If you have access to the file system, you can copy the files directly into [sonatype-work]/storage/[repository-name] . If you do this, set up scheduled tasks to rebuild the metadata and reindex the repository. Use the Nexus Repository Conversion

Difference between javax.servlet-api.jar vs servlet-api.jar

给你一囗甜甜゛ 提交于 2019-11-30 11:04:37
In my maven repository under groupId javax.servlet i have these two separate artifacts for servlets. I am confused which one should i use to build a simple servlet application? What's the difference between these two artifacts? javax.servlet-api version 3.0.1 has annotation folder which contains different annotation classes where servlet-api version 2.5 or below (i.e version 2.4) does not contain annotation. Annotation represents the metadata. If you use annotation, deployment descriptor i.e. web.xml is not required. For example if you use annotation like @WebServlet("/hello") in your servlet

How to determine if a Maven artifact is in my repo from command line?

混江龙づ霸主 提交于 2019-11-29 22:26:54
I would like to check from command line if a certain coordinate ( groupId.artifactId.version ) can be found in a repository. If it is possible, can it be done with partial coordinates (e.g artifactId.version )? Can I specify the repo? I do not ask for workarounds - I could simply start a file search in my local repo, or enter the artifact in a POM and wait for errors, or install Nexus and search over the UI... It is a convenience thing - once on the CLI, it would be nice to be able to check quickly. Here's the closest I think you'll get: mvn dependency:get -Dartifact=g:a:v -o -DrepoUrl=file:/

Export unsigned apk from a Gradle Project in Android Studio

夙愿已清 提交于 2019-11-29 01:03:28
I usually create projects with Eclipse and import them into Android Studio, because I hate the project structure AS gives me. In it´s module settings, I have the possibility to create artifacts which allow me to output the built apk to a certain path. Now I have created a Gradle project directly with AS and it seems that those projects have quite less options than eclipse projects. I don´t find anything to output my apk and I don´t find any apk inside my project folder after building. How do I get my unsigned apk out of the build process?? Use Build > Make Project to build an apk file from

How to publish artifacts in Travis CI?

扶醉桌前 提交于 2019-11-28 03:47:56
I would like to use Travis CI for my open-source project. The issue that Travis doesn't provide any ways to publish produced artifacts (though, they have this in their future plans). What are workarounds to publish/upload artifacts somewhere? I'm allowed to execute any scripts on a CI machine. Simple upload will work, but there is security issue: anyone will be able to upload something in the same way as all sources are public. The "github releases uploading" feature is announced recently. It officially supports everything that is needed. See http://docs.travis-ci.com/user/deployment/releases/

How do I force Maven to use my local repository rather than going out to remote repos to retrieve artifacts?

大兔子大兔子 提交于 2019-11-28 03:45:44
I’m using Maven 3.3.3 with Java 8 on Mac Yosemite. I have a multi-module project. <modules> <module>first-module</module> <module>my-module</module> … </modules> When I build my one of my child modules, for example, “my-module” from above, using “mvn clean install”, the build attempts to download the child module artifacts from a remote repository I have defined in my ~/.m2/settings.xml file. Output is below [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building my-module 87.0.0-SNAPSHOT [INFO] ----------------------------------------------------

How to manually deploy artifacts in Nexus Repository Manager OSS 3

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-27 17:40:44
After installing Nexus Repository Manager OSS 3 I do not see option Artifact Upload to upload artifacts through web page. In Nexus Repository Manager OSS 2.13 there is option to do that operation. Anyone can show me the way how to upload artifacts to hosted repository in Nexus 3? EDIT : From 3.9.0 version, this functionality is implemented. This is implemented in Nexus since Version 3.9.0. Login Select Upload Fill out form and upload Artifact bpedroso I'm using maven deploy file. mvn deploy:deploy-file -DgroupId=my.group.id \ -DartifactId=my-artifact-id \ -Dversion=1.0.0.1 \ -Dpackaging=jar \

How do I force Maven to use my local repository rather than going out to remote repos to retrieve artifacts?

百般思念 提交于 2019-11-26 22:35:18
问题 I’m using Maven 3.3.3 with Java 8 on Mac Yosemite. I have a multi-module project. <modules> <module>first-module</module> <module>my-module</module> … </modules> When I build my one of my child modules, for example, “my-module” from above, using “mvn clean install”, the build attempts to download the child module artifacts from a remote repository I have defined in my ~/.m2/settings.xml file. Output is below [INFO] [INFO] -----------------------------------------------------------------------