Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
* Extracting API jar as a separate module, not a classifier any more.…
… It doesn't have dependencies any more, appart from android in "provided" scope (we should aim to remove that in the end)

* No more jarjaring: creating a jar with dependencies instead, used with an assembly bundle (two new modules)
* Removing references to Android classes from the annotation processor
* Adding missing license files
  • Loading branch information
pyricau committed Oct 25, 2012
commit cbfd5f2e17b0663e68922a30c051054b9dd3bb01
3 changes: 0 additions & 3 deletions AndroidAnnotations/HOW-TO.txt

This file was deleted.

16 changes: 0 additions & 16 deletions AndroidAnnotations/LICENSE.txt

This file was deleted.

4 changes: 4 additions & 0 deletions AndroidAnnotations/androidannotations-api/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.classpath
.project
target/

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
65 changes: 65 additions & 0 deletions AndroidAnnotations/androidannotations-api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>androidannotations-parent</artifactId>
<groupId>com.googlecode.androidannotations</groupId>
<version>2.7-SNAPSHOT</version>
</parent>

<artifactId>androidannotations-api</artifactId>
<description>The API jar containing the annotations and the runtime helpers</description>
<name>AndroidAnnotations API</name>


<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
</dependency>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>1.6_r2</version>
<scope>provided</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/**
* Copyright (C) 2010-2012 eBusiness Information, Excilys Group
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed To in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.googlecode.androidannotations.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
* Use on fields in fragments. This String value field corresponds to the
* argument name.
*
* When {@link FragmentArg} is used on fields in a Fragment, the fragment
* builder will hold dedicated methods for these arguments.
*
*/
@Retention(RetentionPolicy.CLASS)
@Target(ElementType.FIELD)
public @interface FragmentArg {

String value() default "";
}
69 changes: 69 additions & 0 deletions AndroidAnnotations/androidannotations-bundle/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>androidannotations-parent</artifactId>
<groupId>com.googlecode.androidannotations</groupId>
<version>2.7-SNAPSHOT</version>
</parent>

<artifactId>androidannotations-bundle</artifactId>
<description>Project generating the standalone AndroidAnnotations Zip</description>
<name>AndroidAnnotations Bundle</name>
<packaging>pom</packaging>


<dependencies>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations-with-codemodel</artifactId>
</dependency>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations-api</artifactId>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations-api</artifactId>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations</artifactId>
<classifier>javadoc</classifier>
</dependency>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations</artifactId>
<classifier>sources</classifier>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bundle.xml</descriptor>
</descriptors>
<finalName>${project.build.finalName}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<!--

Copyright (C) 2010-2012 eBusiness Information, Excilys Group

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed To in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

-->
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>androidannotations-bundle</id>
<formats>
<format>zip</format>
</formats>
<dependencySets>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>com.googlecode.androidannotations:androidannotations-api</include>
</includes>
<excludes>
<exclude>com.googlecode.androidannotations:androidannotations-api:*:javadoc</exclude>
<exclude>com.googlecode.androidannotations:androidannotations-api:*:sources</exclude>
</excludes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>com.googlecode.androidannotations:androidannotations-with-codemodel</include>
</includes>
<outputFileNameMapping>androidannotations-${artifact.version}.jar</outputFileNameMapping>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>javadoc</outputDirectory>
<includes>
<include>com.googlecode.androidannotations:androidannotations-api:*:javadoc</include>
<include>com.googlecode.androidannotations:androidannotations:*:javadoc</include>
</includes>
</dependencySet>
<dependencySet>
<useProjectArtifact>false</useProjectArtifact>
<outputDirectory>sources</outputDirectory>
<includes>
<include>com.googlecode.androidannotations:androidannotations-api:*:sources</include>
<include>com.googlecode.androidannotations:androidannotations:*:sources</include>
</includes>
</dependencySet>
</dependencySets>
<fileSets>
<fileSet>
<directory>${project.basedir}/../../</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>LICENSE.txt</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/../src/etc</directory>
<outputDirectory>/</outputDirectory>
<includes>
<include>LICENSE.txt</include>
<include>HOW-TO.txt</include>
</includes>
</fileSet>
</fileSets>
</assembly>
56 changes: 56 additions & 0 deletions AndroidAnnotations/androidannotations-with-codemodel/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>androidannotations-parent</artifactId>
<groupId>com.googlecode.androidannotations</groupId>
<version>2.7-SNAPSHOT</version>
</parent>

<artifactId>androidannotations-with-codemodel</artifactId>
<description>Project generating the annotation processing jar with CodeModel dependency included</description>
<name>AndroidAnnotations With CodeModel</name>
<packaging>pom</packaging>


<dependencies>
<dependency>
<groupId>com.googlecode.androidannotations</groupId>
<artifactId>androidannotations</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/jar-with-codemodel.xml</descriptor>
</descriptors>
<finalName>${project.build.finalName}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!--

Copyright (C) 2010-2012 eBusiness Information, Excilys Group

Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed To in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

-->
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
<id>jar-with-codemodel</id>
<formats>
<format>jar</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<dependencySets>
<dependencySet>
<unpack>true</unpack>
<outputDirectory>/</outputDirectory>
<useProjectArtifact>false</useProjectArtifact>
<includes>
<include>com.sun.codemodel:codemodel</include>
<include>com.googlecode.androidannotations:androidannotations</include>
<include>com.googlecode.androidannotations:androidannotations-api</include>
</includes>
</dependencySet>
</dependencySets>
</assembly>
Loading