KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to start developing plug-ins for Jenkins with Mac OSX. First, when I run 'mvn hpi:create', it takes a reeaally long time to download all the files, up to several minutes per file. And it's a lot of files. Total time is 4-5 hours! Why is it so slow? Then, when I run 'mvn package' I get this error: [ERROR] [ERROR] The project org.sample.jenjondev:firstplugin:1.0-SNAPSHOT (/Users/jonatanekstedt/Developer/jenkins/firstplugin/pom.xml) has 1 error [ERROR] Unknown packaging: hpi @ line 12, column 14 Why does maven not know about hpi? I use Maven 3.0.4. This is my pom.xml: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.jenkins-ci.plugins</groupId> <artifactId>plugin</artifactId> <version>1.448</version><!-- which Jenkins version is this plugin built against? --> </parent> <groupId>org.sample.jenjondev</groupId> <artifactId>firstplugin</artifactId> <version>1.0-SNAPSHOT</version> <packaging>hpi</packaging> <repositories> <repository> <id>m.g.o-public</id> <url>http://maven.glassfish.org/content/groups/public/</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>m.g.o-public</id> <url>http://maven.glassfish.org/content/groups/public/</url> </pluginRepository> </pluginRepositories> </project> I have changed the <version> of Jenkins to the version on my computer, 1.448. How can I reso
Tags (comma-separated)
Save Edits
Cancel