Re: Adding an add-on jar to a project

2015-09-07 Thread Niraj Chaudhary
Please confirm if this link is useful? http://onjavahell.blogspot.in/2009/12/releasing-multi-module-project-using.html Cheers, Niraj On Mon, Sep 7, 2015 at 2:18 AM, Russell Gold <r...@gold-family.us> wrote: > Hi, > > I am trying to update my library, Simplestub with an opti

Re: Creating local repository

2015-09-04 Thread Niraj Chaudhary
in size. Sharing becomes difficult. Thanks, Niraj On Fri, Sep 4, 2015 at 8:51 PM, George Karabotsos <kara...@gmail.com> wrote: > Hi Gail, > > The problem is that the VM is not controlled by my organization--they > are controlled by a third party. As such, they are not even within our

RE: Missing poms

2007-07-05 Thread Alok, Niraj
urlURL/url /repository /repositories When I changed the id from some custom_name, to central, it started working fine ! Thanks, Niraj -Original Message- From: Steven Rowe [mailto:[EMAIL PROTECTED] Sent: Friday, July 06, 2007 12:49 AM To: Maven

Missing poms

2007-07-03 Thread Alok, Niraj
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

RE: Dependency downloads

2007-07-02 Thread Alok, 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

Dependency downloads

2007-06-27 Thread Alok, Niraj
If this same dependency is moved to a plugin's dependency list, it says: Downloading from repository - moduleA -0-SNAPSHOT.jar and then fails to download it. It is getting quite critical and any help in resolving this would be very appreciated. Thanks ! Niraj

RE: Dependency downloads

2007-06-27 Thread Alok, Niraj
/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

Plugin downloads

2007-06-25 Thread Alok, Niraj
/niraj/alok/date/0-SNAPSHOT/date-0-SNAPSHOT-so urces.jar [WARNING] Unable to get resource from repository remote_repo The same dependency when moved from the plugin's set to the normal pom, says this: Downloading: remote_repo/repository/niraj/alok/date/0-SNAPSHOT/date-0-20070625.06 4105-191-sources.jar

RE: Plugin downloads

2007-06-25 Thread Alok, Niraj
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

RE: native2ascii classpath woes

2007-06-25 Thread 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

RE: Issue in excluding unwanted jars from the target war.

2007-06-21 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-20 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-19 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-19 Thread Alok, Niraj
a jar file but it doesn't get picked up by the install phase even when the plugin says @phase install. The question now boils down to is how to ensure that the jar created from the custom plugin also gets picked up by the default mvn install? Thanks for the pointers till now ! Niraj

RE: 0-Snapshot numbering for classifiers

2007-06-18 Thread Alok, Niraj
://maven.apache.org/plugins/maven-assembly-plugin/descriptor-refs.ht ml Eric On 6/15/07, niraj [EMAIL PROTECTED] wrote: To be more specific, I am installing the app.jar through normal mvn deploy and the sources.jar through a custom pojo, as its not sources, but some other project files

0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
? Thanks, Niraj

Re: 0-Snapshot numbering for classifiers

2007-06-15 Thread niraj
To be more specific, I am installing the app.jar through normal mvn deploy and the sources.jar through a custom pojo, as its not sources, but some other project files, and the code for that is: Artifact artifact = m_artifactFactory.createArtifactWithClassifier(m_groupId,

RE: 0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
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

RE: 0-Snapshot numbering for classifiers

2007-06-15 Thread Alok, Niraj
); 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