Just to maintain the things not too complex. Furthermore, the same behavior I
described is needed for XmlBeans class generation. 
I have a set of classes generated from XSDs and I want to package them into
a jar and put it as a dependency of the project.


justinedelson wrote:
> 
> Why do you want to do this? It seems like it'd be much simpler to have a
> separate project to produce the web service client.
> 
> Justin
> 
> On Tue, Jan 12, 2010 at 4:24 PM, Cecchi Sandrone
> <[email protected]>wrote:
> 
>>
>> Hi all,
>> I have the following issue...
>>
>> The pom of my project is the following:
>>
>> artifactId: it.mega
>> groupId: streamer
>> version: 1.0.1
>>
>> 1) First of all I generate an Apache CXF web service client into folder
>> target/generated
>> 2) Then I create an assembly (jar) containing the .class files
>> 3) Next the assembly is installed into the local repo with the same
>> identifier of the project but classifier "web-service-client" (e.g.
>> /.m2/it/mega/streamer/1.0.1/Streamer-1.0.1-web-service-client.jar)
>> 4) Now, I want to import this jar in the same project as a dependency,
>> because I prefer a single jar instead of hundreds of classes in packages.
>> I
>> tried inserting the following snippet in pom:
>>
>> <artifactId>it.mega</artifactId>
>> <groupId>streamer</groupId>
>> <version>1.0.1</version>
>> <classifier>web-service-client</classifier>
>>
>> and It doesn't work in the same project (circular dependency error) while
>> it
>> works correctly in other projects. How can I solve this problem with a
>> correct approach?
>>
>> Thank you in advance for any answer!
>> --
>> View this message in context:
>> http://old.nabble.com/Assembly-as-dependency-of-the-same-project-tp27134967p27134967.html
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Assembly-as-dependency-of-the-same-project-tp27134967p27135141.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to