> Harish>>> I have the paoding.jar file. I checked in repo1.maven.org, it has
> com.54chen (groupid), paoding-rose (artifact id). I am not sure about this.

I check dependencies (that is available via mvn central) by

1. going to search.maven.org
2. searching for the artifact id (paoding-rose in your case)
3. opening the pom.xml file for the correct dependency
4. looking at the "packaging"  (in your case <packaging>jar</packaging>)
5. looking at the dependencies (in that case a long list I wonder if
everything is really needed.

> The packages I use from paoding are something like
> net.paoding.analysis.analyzer.*. So here I am with a jar file which is not
> there in central repository.

Does

<dependency>
    <groupId>com.54chen</groupId>
    <artifactId>paoding-rose</artifactId>
    <version>1.0</version>
</dependency>


include the functionality you need or is it not? If yes you can try to
exclude all packages (of the jar and dependencies) that you do not
need.

> For now, I mannually created in my local .m2
> repository the path net.paoding....then I do Embed-dependency in pom.xml
> for this jar file. For now it seems to work. But for long run, we need a
> central repository entry. In the abscense, what is the process to integrate
> jar files?
>

As an intermediate solution you can use an embedded maven repository
(basically this duplicates the maven file structure within you
project.

The steps required to add an dependency to maven central is described
at [1] section: Publishing your artifacts to the Central Repository >
Other Projects

best
Rupert


[1] http://maven.apache.org/guides/mini/guide-central-repository-upload.html


>>
>> best
>> Rupert
>>
>> --
>> | Rupert Westenthaler             [email protected]
>> | Bodenlehenstraße 11                             ++43-699-11108907
>> | A-5500 Bischofshofen
>>



-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                             ++43-699-11108907
| A-5500 Bischofshofen

Reply via email to