artifact

Intellij Javafx artifact - how do you make it?

允我心安 提交于 2019-12-05 23:14:17
问题 I've been trying all day to turn my javafx application into a jar file. I'm using Java 1.7 update 7. Oracle has some information, but it just seems scattered all over the place. Intellij is almost doing the job, but I get the following error: java.lang.NoClassDefFoundError: javafx/application/Application Which seems to say that I need to tell java where the jfxrt.jar is... If I add this jar to my classpath info for the manifest build in intellij - ctrl+shift+alt+s -> Artifacts -> Output

Is there any Jenkins API to get artifacts name and download it? [closed]

大兔子大兔子 提交于 2019-12-04 05:45:13
I want to ask, If I use jenkins. How can I get all artifacts list and download it, but not from jenkins web interface. I want to make my own web interface for certain goals. Is there any jenkins API to do this? Bruno Lavit According to this answer: https://superuser.com/questions/587426/download-a-file-from-the-latest-stable-jenkins-build You can use the Jenkins API to get the list of artifacts: http:// your.jenkins.server /job/ your.job /lastStableBuild/api/xml?tree=artifacts%5BrelativePath%5D With a script, you can extract the artefact relative path: Next, you can build your download URLs

Missing artifact com.sun:tools:jar:1.5.0 maven

一曲冷凌霜 提交于 2019-12-04 00:10:31
I am using maven in my web project this is how my pom.xml looks I use eclipse juno,with apache tomcat 7,I am runnning windows xp OS,"C:\Program Files\Java\jdk1.6.0_23\lib" is where my tools jar is.i tried hardcoding it in pom.xml but it was telling cant hard code.tried the below using profiles still same error "Missing artifact com.sun:tools:jar:1.5.0" please please help I am fed up since 1 week of googling </dependencies> <profiles> <profile> <id>default-tools.jar</id> <activation> <property> <name>java.vendor</name> <value>Sun Microsystems Inc.</value> </property> </activation> <dependencies

What does the parent tag in Maven pom represent?

百般思念 提交于 2019-12-03 18:44:06
问题 E.g.: <parent> <groupId>mycompany.trade.com</groupId> <artifactId>mycompany.trade.</artifactId> <version>1.1.1.0-SNAPSHOT</version> </parent> Does it mean that Maven will search for parent pom? If yes, where, in which order? May be in folder up 1 level? Or in local repository or in repo? Thanks. 回答1: Yes, maven reads the parent POM from your local repository (or proxies like nexus) and creates an 'effective POM' by merging the information from parent and module POM. See also Introduction to

How to upload an artifact to Artifactory / consume it in a build system (Gradle Maven Ant) where the artifact does not have an extension

偶尔善良 提交于 2019-12-03 14:57:33
I have the following files which I would like to upload to Artifactory as a 9.8.0 versioned artifact. NOTE : The first two files DO NOT have an extension (they are executable files i.e. if you open them/cat on it, you'll see junk characters). Folder/files of a given version 9.8.0 in CVS is like: com.company.project/gigaproject/v9.8.0/linux/gigainstall com.company.project/gigaproject/v9.8.0/solaris/gigainstall com.company.project/gigaproject/v9.8.0/win32/gigainstall.exe com.company.project/gigaproject/v9.8.0/gigafile.dtd com.company.project/gigaproject/v9.8.0/gigaanotherfile.dtd com.company

mvn package fails with Required Artifact Missing even though it exists in my Remote Repository

社会主义新天地 提交于 2019-12-01 18:20:26
I'm trying to run mvn clean package on my Maven project and it fails with the message: "required artifact is missing" for the artifact net.ezswitch:ResourcesComponent:jar:0.0.14 I've configured my settings.xml to include my Remote Repository and if I navigate, on my browser, I can actually find this Jar in my repository, but Maven can't, somehow. I've checked that the Maven version that I'm running is the one for which the settings.xml file that I've edited takes effect, because if I disable the Profile that I configured there, Maven fails with a different message. I'm using Maven 2.2.1 on MAC

Delete jenkins builds during Promote / promotion step

纵然是瞬间 提交于 2019-11-30 16:45:35
Jenkins : Version 1.525 Jenkins Server URL : http://my.jenkins.server.com:9040 Linux Red Hat 5.3 Artifactory : Free version Artifactory Server URL : http://my.artifactory.server:8081/Artifactory I'm successfully able to build in Jenkins and upload artifacts to my Artifactory server under a respective repository. When a build occurs, the artifacts (ProjectA-1.0.0.25.tar.gz) goes to Artifactory under libs-snapshot-local repository. Here 1.0.0 is denoting Major, minor and interim version of a given release for an application/jenkins job: "ProjectA" in this case. Lets say 25 is the build number

Maven: Why is the -SNAPSHOT suffix missing from artifact file name?

自闭症网瘾萝莉.ら 提交于 2019-11-30 09:17:27
My maven artifact is deployed to a Nexus snapshot repository. There, it is stored in the correct directory, but its filenames have the following pattern: mylibrary-1.0-20130213.125827-2.jar However, Maven fails to download that snapshot. According to the error log, Maven seems to expect the following file name: mylibrary-1.0-SNAPSHOT.jar These are the repository settings in my pom: <repositories> <repository> <id>mycompany-all</id> <url>https://servername/nexus/content/groups/mycompany/</url> </repository> </repositories> <distributionManagement> <repository> <id>mycompany-releases</id> <url

What does the parent tag in Maven pom represent?

元气小坏坏 提交于 2019-11-30 02:39:44
E.g.: <parent> <groupId>mycompany.trade.com</groupId> <artifactId>mycompany.trade.</artifactId> <version>1.1.1.0-SNAPSHOT</version> </parent> Does it mean that Maven will search for parent pom? If yes, where, in which order? May be in folder up 1 level? Or in local repository or in repo? Thanks. Yes, maven reads the parent POM from your local repository (or proxies like nexus ) and creates an 'effective POM' by merging the information from parent and module POM. See also Introduction to the POM One reason to use a parent is that you have a central place to store information about versions of

Delete jenkins builds during Promote / promotion step

只谈情不闲聊 提交于 2019-11-29 23:50:29
问题 Jenkins : Version 1.525 Jenkins Server URL : http://my.jenkins.server.com:9040 Linux Red Hat 5.3 Artifactory : Free version Artifactory Server URL : http://my.artifactory.server:8081/Artifactory I'm successfully able to build in Jenkins and upload artifacts to my Artifactory server under a respective repository. When a build occurs, the artifacts (ProjectA-1.0.0.25.tar.gz) goes to Artifactory under libs-snapshot-local repository. Here 1.0.0 is denoting Major, minor and interim version of a