Users List
Subject: Re: Missing poms
Hi Niraj,
I can't claim to know what's going on, but until you provide Maven
version numbers for before and after the strict checking started
happening, I'm certain that no-one will be able to help.
Steve
Alok, Niraj wrote:
Hi,
We found an issue where we
Hi,
We found an issue where we had pom files missing from the remote
repository but the jar files would still get downloaded to the local .m2
Now we are seeing that the checks are stricter and if the pom is
missing, the jar doesn't get downloaded.
What could have changed ?
Thanks,
Niraj
build of the module. I
am very much clueless and any help would be really appreciated..
Thanks,
Niraj
_
From: Alok, Niraj
Sent: Wednesday, June 27, 2007 7:04 PM
To: 'Maven Users List'
Subject: RE: Dependency downloads
Now I
Guys,
This is getting really confusing as I am not able to make any heads of
it.
I have a dependency, say moduleA's 0-SNAPSHOT. If this dependency in
mentioned in the normal project - dependencies tag, it gets downloaded
as
Downloading from repository - moduleA - timestamp - buildnumber.jar
/snapshot
lastUpdated20070627100229/lastUpdated
/versioning
/metadata
The jar in repo is notworking-0-20070627.100227-201.jar
Pls let me know what am I doing wrong.
Thanks,
Niraj
_
From: Alok
Hi,
Is there some difference in which dependencies are downloaded when
specified as plugin dependencies and when specified as normal pom
dependencies ?
I have a jar, in the remote repo at
niraj.alok.date/0-SNAPSHOT/date-0-20070625.064105-191-sources.jar
In one of my plugins, I am specifying
It seems the problem is limited to only those artifacts that don't have
a metadata.xml.
How is this possible when all the artifacts are uploaded to the
repository through a common process ?
In this cases, how do we generate the missing metadata file ?
-Original Message-
From: Alok, Niraj
You could use Thread.currentThread().getContextLoader()
and then iterate through the urls list which are locations of jar files.
-Original Message-
From: Alexander Sack [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 1:37 AM
To: Maven Users List
Subject: native2ascii classpath
Use the scope tag to decide which jars to be packaged. Scope can be
etiher test/compile/runtime/provided.
Niraj
-Original Message-
From: nitinaggarwal [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 21, 2007 5:22 PM
To: users@maven.apache.org
Subject: Issue in excluding unwanted jars
I took a look at the maven assembly plugin, but it just creates the
assembly and doesn't deploy them into the repository.
How can I ensure that the assembly gets installed/deployed into the
local/remote repository??
Thanks,
Niraj
-Original Message-
From: Alok, Niraj
Sent: Tuesday
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
for classifiers
When you create an assembly, executing the assembly:attach within your
pom,
running the mvn install phase will install both the normal artifact
(jar)
as well as the assembled artifact.
Eric
On 6/20/07, Alok, Niraj [EMAIL PROTECTED] wrote:
Probably I am asking a very specific question
a suggestion, take care;
Eric
On 6/18/07, Alok, Niraj [EMAIL PROTECTED] wrote:
I am more comfortable writing a specific plugin to do this because we
want to introduce custom tags in the pom and assembly wouldn't allow
us
to do.
If it can be done through code, it would be perfect
-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
I am more comfortable writing a specific plugin to do this because we
want to introduce custom tags in the pom and assembly wouldn't allow us
to do.
If it can be done through code, it would be perfect !
-Original Message-
From: Eric Redmond [mailto:[EMAIL PROTECTED]
Sent: Saturday,
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
I need to write another plugin to do this because the sources here are
not java files, but database files which are stored in cvs.
The directory structure is src/main/database and we want all the files
inside the database folder to be put in the repository for use in
dependencies by other
);
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
18 matches
Mail list logo