, June 19, 2007 10:07 PM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering for classifiers
After close inspection between maven-sources-plugin and my custom
plugin, I notice some differences finally J
The source plugin just creates a jar file. During mvn install, the
source jar gets installed
created)
Its looking like a lifecycle question but am not able to find anything
on the web.
-Original Message-
From: Alok, Niraj
Sent: Wednesday, June 20, 2007 1:00 PM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering for classifiers
I took a look at the maven assembly plugin
to find anything
on the web.
-Original Message-
From: Alok, Niraj
Sent: Wednesday, June 20, 2007 1:00 PM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering for classifiers
I took a look at the maven assembly plugin, but it just creates the
assembly and doesn't deploy them
not able to find anything
on the web.
-Original Message-
From: Alok, Niraj
Sent: Wednesday, June 20, 2007 1:00 PM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering for classifiers
I took a look at the maven assembly plugin, but it just creates the
assembly and doesn't
Users List
Subject: Re: 0-Snapshot numbering for classifiers
Sure, I understand the desire to write code rather than learn a
specification like assembly - however, your ability to find support for
a
custom plugin is going to be drastically more difficult than finding
support
for a core plugin.
Just
-Original Message-
From: Alok, Niraj
Sent: Tuesday, June 19, 2007 5:33 PM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering for classifiers
Im trying to do through code, but the numbering of the jar changes for
snapshot versions, making them unavailable for download.
Is there some specific
, June 16, 2007 12:10 AM
To: Maven Users List
Subject: Re: 0-Snapshot numbering for classifiers
Why are you writing code to do this? You should be installing the
sources
via the source plugin:
mvn source:jar
Or assembly plugin:
http://maven.apache.org/plugins/maven-assembly-plugin/usage.html
http
]
Sent: Saturday, June 16, 2007 12:10 AM
To: Maven Users List
Subject: Re: 0-Snapshot numbering for classifiers
Why are you writing code to do this? You should be installing the
sources
via the source plugin:
mvn source:jar
Or assembly plugin:
http://maven.apache.org/plugins/maven-assembly
Hi,
I have 2 jars that get installed to the repository for the same
artifact. One is the application jar, and the other is, say sources
jar.
The repository looks something like this: GroupId - ArtifactId -
app-1.0.jar and app-1.0-sources.jar
When I include both of them in the pom file
MojoExecutionException(e.getMessage(), e);
}
While downloading, I am just adding the classifier element, jarType in the
dependency tag.
It works for versioned jars, not for snapshots. I am using mvn 2.
--
View this message in context:
http://www.nabble.com/0-Snapshot-numbering-for-classifiers
) {
throw new MojoExecutionException(e.getMessage(), e);
}
While downloading, I am just adding the classifier element, jarType in the
dependency tag.
It works for versioned jars, not for snapshots. I am using mvn 2.
--
View this message in context:
http://www.nabble.com/0-Snapshot-numbering
something wrong in my plugin, but cant figure out exactly
what.
I am attaching the code here also for help.
Thanks!
Niraj
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 16, 2007 12:10 AM
To: Maven Users List
Subject: Re: 0-Snapshot numbering
);
return jarFile;
} catch (Exception e) {
throw new MojoExecutionException(Error assembling JAR, e);
}
}
}
-Original Message-
From: Alok, Niraj
Sent: Saturday, June 16, 2007 12:34 AM
To: 'Maven Users List'
Subject: RE: 0-Snapshot numbering
13 matches
Mail list logo