You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Chang <ad...@gogobot.com> on 2013/01/17 02:38:23 UTC

Creating different package names

Hey there,

Had a quick question that hopefully someone here can answer.

The main problem my team is running into is that sometimes we need to
generate different Java package names depending on the team's needs.

An example of this would be as follows:

com.company.app.development
com.company.app.test

Is there anyway to do this in Maven manually or automatically? Or a plugin
that can manage this?

I'm trying to do this in an Android project if that helps at all.

Thanks

Re: Creating different package names

Posted by Ron Wheeler <rw...@artifact-software.com>.
On 16/01/2013 8:38 PM, Adrian Chang wrote:
> Hey there,
>
> Had a quick question that hopefully someone here can answer.
>
> The main problem my team is running into is that sometimes we need to
> generate different Java package names depending on the team's needs.
>
> An example of this would be as follows:
>
> com.company.app.development
> com.company.app.test
>
> Is there anyway to do this in Maven manually or automatically? Or a plugin
> that can manage this?
>
> I'm trying to do this in an Android project if that helps at all.
>
> Thanks
>
Why?
What are you trying to accomplish?
Is the code the same?
It sounds like you are trying to mix run-time with coding-time.


-- 
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Creating different package names

Posted by Wayne Fay <wa...@gmail.com>.
> The main problem my team is running into is that sometimes we need to
> generate different Java package names depending on the team's needs.

Generate how? With what plugin?

> Is there anyway to do this in Maven manually or automatically? Or a plugin
> that can manage this?

I think you need to explain your needs more comprehensively (what you
need, why you need it, more context, etc) before we can talk about
solutions.

> I'm trying to do this in an Android project if that helps at all.

There is a "Maven for Android Developers" group/list that may better
serve your needs:
http://code.google.com/p/maven-android-plugin/
http://groups.google.com/group/maven-android-developers
http://www.sonatype.com/books/mvnref-book/reference/android-dev.html

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org